diff options
| author | Pinakin Nayi (OpenERP) <pna@tinyerp.com> | 2012-08-06 17:47:22 +0530 |
|---|---|---|
| committer | Pinakin Nayi (OpenERP) <pna@tinyerp.com> | 2012-08-06 17:47:22 +0530 |
| commit | 3aab9f4f56e1b152f2e4be221b5feee976e6af39 (patch) | |
| tree | c5d956a34b175810f0d82a1603864729927c2583 | |
| parent | e845e2350c694484793020ab6a9a729f9c205de6 (diff) | |
[IMP]accounting-option-wizard
bzr revid: pna@tinyerp.com-20120806121722-w2r8givb32dl0mn3
| -rw-r--r-- | addons/account/installer.py | 9 | ||||
| -rw-r--r-- | addons/project/project_view.xml | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/addons/account/installer.py b/addons/account/installer.py index 5a2b0b346c4..4fc4754ea3f 100644 --- a/addons/account/installer.py +++ b/addons/account/installer.py @@ -119,6 +119,15 @@ class account_installer(osv.osv_memory): self.execute_simple(cr, uid, ids, context) super(account_installer, self).execute(cr, uid, ids, context=context) + def action_next(self, cr, uid, ids, context=None): + next = self.execute(cr, uid, ids, context=context) + for installer in self.browse(cr, uid, ids, context=context): + if installer.charts == 'l10n_be': + return {'type': 'ir.actions.act_window_close'} + else : + if next : return next + return self.next(cr, uid, ids, context=context) + def execute_simple(self, cr, uid, ids, context=None): if context is None: context = {} diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml index ae86f9712a3..79593109593 100644 --- a/addons/project/project_view.xml +++ b/addons/project/project_view.xml @@ -546,7 +546,7 @@ <img t-att-src="kanban_image('res.users', 'avatar', record.user_id.raw_value[0])" t-att-title="record.user_id.value" width="24" height="24" class="oe_kanban_avatar"/> </div> <div class="oe_kanban_footer_left"> - <span> + <span groups="project.group_time_work_estimation_tasks" title="Remaining hours"> <span class="oe_e">N</span> <t t-esc="Math.round(record.remaining_hours.raw_value)"/> </span> |
