mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
Code review: deleted index.html and registry fixes
This commit is contained in:
@@ -36,7 +36,7 @@ class BveView(models.Model):
|
||||
default="draft")
|
||||
data = fields.Text(
|
||||
string="Data",
|
||||
help="Use the special Onestein query builder to define the query "
|
||||
help="Use the special query builder to define the query "
|
||||
"to generate your report dataset. "
|
||||
"NOTE: Te be edited, the query should be in 'Draft' status.")
|
||||
|
||||
@@ -89,8 +89,10 @@ class BveView(models.Model):
|
||||
self.action_id.view_id.sudo().unlink()
|
||||
self.action_id.sudo().unlink()
|
||||
|
||||
self.env['ir.model'].sudo().search(
|
||||
[('model', '=', self.model_name)]).unlink()
|
||||
models = self.env['ir.model'].sudo().search(
|
||||
[('model', '=', self.model_name)])
|
||||
for model in models:
|
||||
model.sudo().unlink()
|
||||
|
||||
table_name = self.model_name.replace(".", "_")
|
||||
tools.drop_view_if_exists(self.env.cr, table_name)
|
||||
@@ -255,6 +257,7 @@ class BveView(models.Model):
|
||||
|
||||
from openerp.modules.registry import RegistryManager
|
||||
self.env.registry = RegistryManager.new(self.env.cr.dbname)
|
||||
RegistryManager.signal_registry_change(self.env.cr.dbname)
|
||||
self.pool = self.env.registry
|
||||
|
||||
view_id = self.pool.get('ir.ui.view').create(
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
<section class="oe_container">
|
||||
<div class="oe_row">
|
||||
<h2 class="oe_slogan">BI reporting concept</h2>
|
||||
<h3 class="oe_slogan">easy and effective.</h3>
|
||||
<div class="oe_span6">
|
||||
<p class='oe_mt32'>
|
||||
This module is a beta release of a smart and effective Odoo reporting tool.
|
||||
</p>
|
||||
<p class='oe_mt32'>
|
||||
Feel free to use and fix issues that you encounter.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="oe_span6">
|
||||
<div class="oe_demo oe_picture oe_screenshot">
|
||||
<img src="screen1.png" alt="BI view editor">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<!--<section class="oe_container">-->
|
||||
<!--<div class="oe_row">-->
|
||||
<!--<h2 class="oe_slogan">Input on invoice lines</h2>-->
|
||||
<!--<div class="oe_span12">-->
|
||||
<!--<p class='oe_mt32'>-->
|
||||
<!--Cost centers can be selected on invoice lines.-->
|
||||
<!--</p>-->
|
||||
<!--</div>-->
|
||||
<!--<div class="oe_span12">-->
|
||||
<!--<div class="oe_demo oe_picture oe_screenshot">-->
|
||||
<!--<img src="account_costcenter_2.png" alt="Costcenter analysis">-->
|
||||
<!--</div>-->
|
||||
<!--</div>-->
|
||||
|
||||
<!--</div>-->
|
||||
<!--</section>-->
|
||||
|
||||
|
||||
<!--<section class="oe_container">-->
|
||||
<!--<div class="oe_row">-->
|
||||
<!--<h2 class="oe_slogan">BI reporting</h2>-->
|
||||
<!--<div class="oe_span12">-->
|
||||
<!--<p class='oe_mt32'>-->
|
||||
<!--Reporting is integrated with the invoice reporting. This reporting is also extended with the analytic accounting.-->
|
||||
<!--Cost centers and analytic account will help managing business costs.-->
|
||||
<!--</p>-->
|
||||
<!--</div>-->
|
||||
<!--<div class="oe_span12">-->
|
||||
<!--<div class="oe_demo oe_picture oe_screenshot">-->
|
||||
<!--<img src="account_costcenter_3.png" alt="Costcenter analysis">-->
|
||||
<!--</div>-->
|
||||
<!--</div>-->
|
||||
|
||||
<!--</div>-->
|
||||
<!--</section>-->
|
||||
<!--l>-->
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 70 KiB |
Reference in New Issue
Block a user