From f9c2437959fba731b808208e184d86f51f2db600 Mon Sep 17 00:00:00 2001 From: "Amit (OpenERP)" Date: Fri, 18 May 2012 16:05:41 +0530 Subject: [PATCH 01/28] [FIX] account : Add access rules for entry analysis report lp bug: https://launchpad.net/bugs/999506 fixed bzr revid: amp@tinyerp.com-20120518103541-vfp9bh4p9dqwbr18 --- addons/account/security/account_security.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/addons/account/security/account_security.xml b/addons/account/security/account_security.xml index e1a29a6edfb..997918650a5 100644 --- a/addons/account/security/account_security.xml +++ b/addons/account/security/account_security.xml @@ -107,6 +107,13 @@ ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] + + Entries Analysis multi-company + + + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] + + Account fiscal Mapping company rule From 738040e15b9cd49fdf313a0f3c729cc9581e206d Mon Sep 17 00:00:00 2001 From: vivisci <> Date: Thu, 16 Aug 2012 12:08:08 +0530 Subject: [PATCH 02/28] [FIX] the issue of not showing data on bilan report and compute resultant report lp bug: https://launchpad.net/bugs/1036943 fixed bzr revid: rmu@tinyerp.com-20120816063808-3jw4q056p9nfm911 --- addons/l10n_fr/wizard/fr_report_bilan.py | 4 ++-- addons/l10n_fr/wizard/fr_report_compute_resultant.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/l10n_fr/wizard/fr_report_bilan.py b/addons/l10n_fr/wizard/fr_report_bilan.py index cec2e513a6a..adeab4f0ab4 100644 --- a/addons/l10n_fr/wizard/fr_report_bilan.py +++ b/addons/l10n_fr/wizard/fr_report_bilan.py @@ -49,9 +49,9 @@ class account_bilan_report(osv.osv_memory): data = {} data['form'] = {} data['ids'] = active_ids - data['form']['fiscalyear'] = self.browse(cr, uid, ids)[0].fiscalyear_id.id + data['form']['fiscalyear_id'] = self.browse(cr, uid, ids)[0].fiscalyear_id.id return {'type': 'ir.actions.report.xml', 'report_name': 'l10n.fr.bilan', 'datas': data} account_bilan_report() -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_fr/wizard/fr_report_compute_resultant.py b/addons/l10n_fr/wizard/fr_report_compute_resultant.py index d90466ea6c4..f3833b372c4 100644 --- a/addons/l10n_fr/wizard/fr_report_compute_resultant.py +++ b/addons/l10n_fr/wizard/fr_report_compute_resultant.py @@ -49,9 +49,9 @@ class account_cdr_report(osv.osv_memory): data = {} data['form'] = {} data['ids'] = active_ids - data['form']['fiscalyear'] = self.browse(cr, uid, ids)[0].fiscalyear_id.id + data['form']['fiscalyear_id'] = self.browse(cr, uid, ids)[0].fiscalyear_id.id return { 'type': 'ir.actions.report.xml', 'report_name': 'l10n.fr.compute_resultant', 'datas': data} account_cdr_report() -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: From 0195eb407d8f71b7adc878f9bc39d14de8bde38b Mon Sep 17 00:00:00 2001 From: "Amit (OpenERP)" Date: Wed, 22 Aug 2012 11:55:55 +0530 Subject: [PATCH 03/28] [FIX] mail_template : Fixes the duplication problem on email template lp bug: https://launchpad.net/bugs/1039645 fixed bzr revid: amp@tinyerp.com-20120822062555-d7thh474wn5lisnv --- addons/email_template/email_template.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/addons/email_template/email_template.py b/addons/email_template/email_template.py index b43b7d19b85..6f48d37c714 100644 --- a/addons/email_template/email_template.py +++ b/addons/email_template/email_template.py @@ -236,6 +236,10 @@ class email_template(osv.osv): default = {} default = default.copy() default['name'] = template.name + _('(copy)') + default.update({ + 'ref_ir_act_window': False, + 'ref_ir_value': False, + }) return super(email_template, self).copy(cr, uid, id, default, context) def build_expression(self, field_name, sub_field_name, null_value): From 47791d5c37ac6324937ce141160d3bd3f6b1b797 Mon Sep 17 00:00:00 2001 From: "Sanjay Gohel (Open ERP)" Date: Fri, 21 Sep 2012 16:30:47 +0530 Subject: [PATCH 04/28] [IMP]open right view on click of back order of stock.picking bzr revid: sgo@tinyerp.com-20120921110047-zv86z0bfjf44bg9z --- addons/stock/stock.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/addons/stock/stock.py b/addons/stock/stock.py index 89cb3d1f647..e2f0d1baf05 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -709,6 +709,15 @@ class stock_picking(osv.osv): for move in picking_obj.move_lines: move_obj.write(cr, uid, [move.id], {'tracking_id': False,'prodlot_id':False, 'move_history_ids2': [(6, 0, [])], 'move_history_ids': [(6, 0, [])]}) return res + + def fields_view_get(self, cr, uid, view_id=None, view_type=False, context=None, toolbar=False, submenu=False): + if view_type =='form': + mod_obj = self.pool.get('ir.model.data') + if self._name == "stock.picking.in": + model,view_id = mod_obj.get_object_reference(cr, uid, 'stock', 'view_picking_in_form') + if self._name == "stock.picking.out": + model,view_id = mod_obj.get_object_reference(cr, uid, 'stock', 'view_picking_out_form') + return super(stock_picking,self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=submenu) def onchange_partner_in(self, cr, uid, context=None, partner_id=None): return {} @@ -2939,6 +2948,7 @@ class stock_picking_in(osv.osv): return self.pool.get('stock.picking')._workflow_signal(cr, uid, ids, signal, context=context) _columns = { + 'backorder_id': fields.many2one('stock.picking.in', 'Back Order of', states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}, help="If this shipment was split, then this field links to the shipment which contains the already processed part.", select=True), 'state': fields.selection( [('draft', 'Draft'), ('auto', 'Waiting Another Operation'), @@ -2983,6 +2993,7 @@ class stock_picking_out(osv.osv): return self.pool.get('stock.picking')._workflow_signal(cr, uid, ids, signal, context=context) _columns = { + 'backorder_id': fields.many2one('stock.picking.out', 'Back Order of', states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}, help="If this shipment was split, then this field links to the shipment which contains the already processed part.", select=True), 'state': fields.selection( [('draft', 'Draft'), ('auto', 'Waiting Another Operation'), From 434e4ad7c22681440fbd002bb235343eac78cb80 Mon Sep 17 00:00:00 2001 From: "Sanjay Gohel (Open ERP)" Date: Fri, 21 Sep 2012 17:16:00 +0530 Subject: [PATCH 05/28] [IMP]improvement bzr revid: sgo@tinyerp.com-20120921114600-a4t3hnc1hjhcawob --- addons/stock/stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/stock.py b/addons/stock/stock.py index e2f0d1baf05..98ae0ce8961 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -711,7 +711,7 @@ class stock_picking(osv.osv): return res def fields_view_get(self, cr, uid, view_id=None, view_type=False, context=None, toolbar=False, submenu=False): - if view_type =='form': + if view_type == 'form' and not view_id: mod_obj = self.pool.get('ir.model.data') if self._name == "stock.picking.in": model,view_id = mod_obj.get_object_reference(cr, uid, 'stock', 'view_picking_in_form') From b3027a371cef466856307b5ac88c1fcc69a0be81 Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Mon, 24 Sep 2012 15:45:33 +0200 Subject: [PATCH 06/28] [IMP] account: improved demo data to add a second bank journal, in foreign currency bzr revid: qdp-launchpad@openerp.com-20120924134533-s1j8mmqou9uw2mdt --- addons/account/demo/account_minimal.xml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/addons/account/demo/account_minimal.xml b/addons/account/demo/account_minimal.xml index 53f2b54e0ef..2647364597b 100644 --- a/addons/account/demo/account_minimal.xml +++ b/addons/account/demo/account_minimal.xml @@ -122,6 +122,14 @@ other + + X11007 + USD Bank Account - (test) + + liquidity + + + Liabilities - (test) @@ -360,8 +368,8 @@ bank - - + + @@ -412,6 +420,17 @@ + + + USD Bank Journal - (test) + TUBK + bank + + + + + + From 247752851272d5bb3e222d31fcde81e1259e9f17 Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Mon, 24 Sep 2012 15:49:10 +0200 Subject: [PATCH 07/28] [FIX] l10n_ch: linked the demo journal of BANK CHF JOURNAL to the CHF currency bzr revid: qdp-launchpad@openerp.com-20120924134910-5yye9t2m7yrqhhu7 --- addons/l10n_ch/journal_data.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/l10n_ch/journal_data.xml b/addons/l10n_ch/journal_data.xml index 04870ca936b..ede9136c3d2 100644 --- a/addons/l10n_ch/journal_data.xml +++ b/addons/l10n_ch/journal_data.xml @@ -19,6 +19,7 @@ + From edb74f79b1d502921dbf58c179d67f624b5a9879 Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Mon, 24 Sep 2012 16:06:17 +0200 Subject: [PATCH 08/28] [IMP] base: added a new rate for USD, for demo transactions in multi currency bzr revid: qdp-launchpad@openerp.com-20120924140617-e0mlvtz2pf7icqo2 --- openerp/addons/base/base_demo.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openerp/addons/base/base_demo.xml b/openerp/addons/base/base_demo.xml index 064b1f49e69..ce675ebb99e 100644 --- a/openerp/addons/base/base_demo.xml +++ b/openerp/addons/base/base_demo.xml @@ -14,5 +14,12 @@ + + + + 1.5289 + + + From de9eb7f78cdb3dcaa3c4320498f16dcda0a43a24 Mon Sep 17 00:00:00 2001 From: Antonin Bourguignon Date: Mon, 24 Sep 2012 16:06:32 +0200 Subject: [PATCH 09/28] [IMP] indentation and arguments order for readabily sake bzr revid: abo@openerp.com-20120924140632-mig0szmfvopl1wq0 --- addons/account/security/account_security.xml | 46 ++++++++++--------- .../portal_sale/security/portal_security.xml | 2 +- 2 files changed, 26 insertions(+), 22 deletions(-) diff --git a/addons/account/security/account_security.xml b/addons/account/security/account_security.xml index 26265cb2b2c..afbd19289b6 100644 --- a/addons/account/security/account_security.xml +++ b/addons/account/security/account_security.xml @@ -1,5 +1,6 @@ - + + Invoicing & Payments @@ -7,11 +8,13 @@ + Accountant + Manager @@ -25,107 +28,107 @@ Account Entry - - + + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] - Entry lines + Entry lines - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Journal Period - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] - + Journal multi-company - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Analytic journal multi-company - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Period multi-company - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Fiscal year multi-company - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Account multi-company - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] - Tax multi-company + Tax multi-company - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Tax code multi-company - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Invoice multi-company - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Invoice Analysis multi-company - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Entries Analysis multi-company - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Account fiscal Mapping company rule - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Account model company rule - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] @@ -150,4 +153,5 @@ ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] - + + diff --git a/addons/portal_sale/security/portal_security.xml b/addons/portal_sale/security/portal_security.xml index 8028d5360c4..2f161a73281 100644 --- a/addons/portal_sale/security/portal_security.xml +++ b/addons/portal_sale/security/portal_security.xml @@ -12,7 +12,7 @@ Portal Personal Delivery Orders - + [('partner_id','child_of',[user.partner_id.id])] From aae20beef065bfd394ad5c7d988d06ae276c541b Mon Sep 17 00:00:00 2001 From: Antonin Bourguignon Date: Mon, 24 Sep 2012 16:10:47 +0200 Subject: [PATCH 10/28] [IMP] remove the useless attribute model="ir.model" bzr revid: abo@openerp.com-20120924141047-2mang092z0ak288g --- addons/account/security/account_security.xml | 28 ++++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/addons/account/security/account_security.xml b/addons/account/security/account_security.xml index afbd19289b6..442b51466f8 100644 --- a/addons/account/security/account_security.xml +++ b/addons/account/security/account_security.xml @@ -35,14 +35,14 @@ Entry lines - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Journal Period - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] @@ -50,84 +50,84 @@ Journal multi-company - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Analytic journal multi-company - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Period multi-company - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Fiscal year multi-company - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Account multi-company - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Tax multi-company - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Tax code multi-company - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Invoice multi-company - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Invoice Analysis multi-company - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Entries Analysis multi-company - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Account fiscal Mapping company rule - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] Account model company rule - + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] From 9aa98a03d1ff0ca456e67041a7b73d436a44d358 Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Mon, 24 Sep 2012 16:40:27 +0200 Subject: [PATCH 11/28] [FIX] account: fixed missing reference to sequence in demo journal bzr revid: qdp-launchpad@openerp.com-20120924144027-jxj61tt3cg0vud5j --- addons/account/demo/account_minimal.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/account/demo/account_minimal.xml b/addons/account/demo/account_minimal.xml index 2647364597b..8f879d6b465 100644 --- a/addons/account/demo/account_minimal.xml +++ b/addons/account/demo/account_minimal.xml @@ -426,7 +426,6 @@ TUBK bank - From 7b6280243572f4e0c60772be23ba8fc154e541b2 Mon Sep 17 00:00:00 2001 From: Antonin Bourguignon Date: Mon, 24 Sep 2012 17:34:30 +0200 Subject: [PATCH 12/28] [IMP] use kwargs instead of a new dict bzr revid: abo@openerp.com-20120924153430-0nb2gxker8v9is5p --- addons/email_template/email_template.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/addons/email_template/email_template.py b/addons/email_template/email_template.py index 6f48d37c714..cc4b52992a4 100644 --- a/addons/email_template/email_template.py +++ b/addons/email_template/email_template.py @@ -236,9 +236,7 @@ class email_template(osv.osv): default = {} default = default.copy() default['name'] = template.name + _('(copy)') - default.update({ - 'ref_ir_act_window': False, - 'ref_ir_value': False, + default.update(ref_ir_act_window=False, ref_ir_value=False) }) return super(email_template, self).copy(cr, uid, id, default, context) @@ -392,7 +390,7 @@ class email_template(osv.osv): :param bool force_send: if True, the generated mail.message is immediately sent after being created, as if the scheduler was executed for this message only. - :returns: id of the mail.message that was created + :returns: id of the mail.message that was created """ if context is None: context = {} mail_message = self.pool.get('mail.message') From f7b90af93ad6d97444d56ec81ee9d3ce959299e4 Mon Sep 17 00:00:00 2001 From: Antonin Bourguignon Date: Mon, 24 Sep 2012 17:56:00 +0200 Subject: [PATCH 13/28] [FIX] forgot to remove }) bzr revid: abo@openerp.com-20120924155600-dnaanyupa5jm0yre --- addons/email_template/email_template.py | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/email_template/email_template.py b/addons/email_template/email_template.py index 53d484bd92d..87bdfccbbcf 100644 --- a/addons/email_template/email_template.py +++ b/addons/email_template/email_template.py @@ -217,7 +217,6 @@ class email_template(osv.osv): default = default.copy() default['name'] = template.name + _('(copy)') default.update(ref_ir_act_window=False, ref_ir_value=False) - }) return super(email_template, self).copy(cr, uid, id, default, context) def build_expression(self, field_name, sub_field_name, null_value): From 70a1aac877933c591b3d807dbed541c92fc7a6fe Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Mon, 24 Sep 2012 18:07:21 +0200 Subject: [PATCH 14/28] [IMP] minor change in form view fields bzr revid: nicolas.vanhoren@openerp.com-20120924160721-hay0ar7ap22gjyk7 --- addons/web/static/src/js/view_form.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index e3b7bde1bfe..dff9df11140 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -331,7 +331,9 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM _(this.fields).each(function (field, f) { field._dirty_flag = false; + field._inhibit_on_change_flag = true; var result = field.set_value(self.datarecord[f] || false); + field._inhibit_on_change_flag = false; set_values.push(result); }); return $.when.apply(null, set_values).pipe(function() { @@ -580,7 +582,9 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM if (field) { var value_ = result.value[f]; if (field.get_value() != value_) { + field._inhibit_on_change_flag = true; field.set_value(value_); + field._inhibit_on_change_flag = false; field._dirty_flag = true; if (!_.contains(processed, field.name)) { this.do_onchange(field, processed); @@ -1052,6 +1056,9 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM this.translatable_fields.push(field); } field.on('changed_value', this, function() { + if (field._inhibit_on_change_flag) { + return; + } field._dirty_flag = true; if (field.is_syntax_valid()) { this.do_onchange(field); @@ -1948,8 +1955,7 @@ instance.web.form.AbstractField = instance.web.form.FormWidget.extend(instance.w this.on("change:force_readonly", this, test_effective_readonly); test_effective_readonly.call(this); this.on("change:value", this, function() { - if (! this._inhibit_on_change) - this.trigger('changed_value'); + this.trigger('changed_value'); this._check_css_flags(); }); }, @@ -1984,9 +1990,7 @@ instance.web.form.AbstractField = instance.web.form.FormWidget.extend(instance.w this.$el.toggleClass('oe_form_required', this.get("required")); }, set_value: function(value_) { - this._inhibit_on_change = true; this.set({'value': value_}); - this._inhibit_on_change = false; }, get_value: function() { return this.get('value'); @@ -3321,6 +3325,7 @@ instance.web.form.FieldOne2Many = instance.web.form.AbstractField.extend({ this.dataset.index = 0; } self.is_setted.resolve(); + this.trigger_on_change(); return self.reload_current_view(); }, get_value: function() { From 1fbb4a5c16232c6130b31d870be4e44ecc743a72 Mon Sep 17 00:00:00 2001 From: Antonin Bourguignon Date: Mon, 24 Sep 2012 18:26:45 +0200 Subject: [PATCH 15/28] [IMP] handling of '(copy)' l10n bzr revid: abo@openerp.com-20120924162645-z1h4l2mj6c8i6wr3 --- addons/account/account.py | 9 ++-- addons/account_coda/account_coda.py | 11 +++-- addons/analytic/analytic.py | 7 +-- addons/document/document.py | 2 +- addons/document/document_directory.py | 2 +- addons/email_template/email_template.py | 4 +- addons/hr_payroll/hr_payroll.py | 11 ++--- addons/mrp/mrp.py | 2 +- addons/product/product.py | 2 +- addons/project/project.py | 6 +-- addons/project_issue/project_issue.py | 6 +-- addons/project_long_term/project_long_term.py | 6 +-- addons/resource/resource.py | 48 +++++++++---------- addons/survey/survey.py | 6 +-- 14 files changed, 62 insertions(+), 60 deletions(-) diff --git a/addons/account/account.py b/addons/account/account.py index d145f0308b0..c2e6f3d1221 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -601,7 +601,7 @@ class account_account(osv.osv): if not default: default = {} default = default.copy() - default['code'] = (account['code'] or '') + '(copy)' + default.update(code=_("%s (copy)") % (account['code'] or '')) if not local: done_list = [] if account.id in done_list: @@ -782,9 +782,10 @@ class account_journal(osv.osv): if not default: default = {} default = default.copy() - default['code'] = (journal['code'] or '') + '(copy)' - default['name'] = (journal['name'] or '') + '(copy)' - default['sequence_id'] = False + default.update( + code=_("%s (copy)") % (journal['code'] or ''), + name=_("%s (copy)") % (journal['name'] or ''), + sequence_id=False) return super(account_journal, self).copy(cr, uid, id, default, context=context) def write(self, cr, uid, ids, vals, context=None): diff --git a/addons/account_coda/account_coda.py b/addons/account_coda/account_coda.py index cd117b5be88..1aa6e84402a 100644 --- a/addons/account_coda/account_coda.py +++ b/addons/account_coda/account_coda.py @@ -107,11 +107,12 @@ class coda_bank_account(osv.osv): if not default: default = {} default = default.copy() - default.update({'journal_id': None}) - default['description1'] = cba['description1'] or '' - default['description2'] = cba['description2'] or '' - default['name'] = (cba['name'] or '') + ' (copy)' - default['state'] = cba['state'] + default.update( + journal_id=None, + description1=cba['description1'] or '', + description2=cba['description2'] or '', + name=_("%s (copy)") % (cba['name'] or ''), + state=cba['state']) return super(coda_bank_account, self).copy(cr, uid, id, default, context) def onchange_state(self, cr, uid, ids, state): diff --git a/addons/analytic/analytic.py b/addons/analytic/analytic.py index d3a22782a68..269bf24ed61 100644 --- a/addons/analytic/analytic.py +++ b/addons/analytic/analytic.py @@ -223,9 +223,10 @@ class account_analytic_account(osv.osv): if not default: default = {} analytic = self.browse(cr, uid, id, context=context) - default['code'] = False - default['line_ids'] = [] - default['name'] = analytic['name'] + ' (' + _('copy') + ')' + default.update( + code=False, + line_ids=[], + name=_("%s (copy)") % (analytic['name'])) return super(account_analytic_account, self).copy(cr, uid, id, default, context=context) def on_change_company(self, cr, uid, id, company_id): diff --git a/addons/document/document.py b/addons/document/document.py index 3ee52f8e4fb..cb30e5f93c9 100644 --- a/addons/document/document.py +++ b/addons/document/document.py @@ -209,7 +209,7 @@ class document_file(osv.osv): default = {} if 'name' not in default: name = self.read(cr, uid, [id], ['name'])[0]['name'] - default.update({'name': name + " " + _("(copy)")}) + default.update(name=_("%s (copy)") % (name)) return super(document_file, self).copy(cr, uid, id, default, context=context) def write(self, cr, uid, ids, vals, context=None): diff --git a/addons/document/document_directory.py b/addons/document/document_directory.py index 1ead23ab402..ac0671d36d3 100644 --- a/addons/document/document_directory.py +++ b/addons/document/document_directory.py @@ -231,7 +231,7 @@ class document_directory(osv.osv): if not default: default ={} name = self.read(cr, uid, [id])[0]['name'] - default.update({'name': name+ " (copy)"}) + default.update(name=_("%s (copy)") % (name)) return super(document_directory,self).copy(cr, uid, id, default, context=context) def _check_duplication(self, cr, uid, vals, ids=[], op='create'): diff --git a/addons/email_template/email_template.py b/addons/email_template/email_template.py index 4080e62f002..dd05d1850fd 100644 --- a/addons/email_template/email_template.py +++ b/addons/email_template/email_template.py @@ -215,7 +215,7 @@ class email_template(osv.osv): if default is None: default = {} default = default.copy() - default['name'] = template.name + _('(copy)') + default.update(name=_("%s (copy)") % (template.name)) return super(email_template, self).copy(cr, uid, id, default, context) def build_expression(self, field_name, sub_field_name, null_value): @@ -335,7 +335,7 @@ class email_template(osv.osv): :param bool force_send: if True, the generated mail.message is immediately sent after being created, as if the scheduler was executed for this message only. - :returns: id of the mail.message that was created + :returns: id of the mail.message that was created """ if context is None: context = {} mail_mail = self.pool.get('mail.mail') diff --git a/addons/hr_payroll/hr_payroll.py b/addons/hr_payroll/hr_payroll.py index 6a2e40b9571..08dacc9a951 100644 --- a/addons/hr_payroll/hr_payroll.py +++ b/addons/hr_payroll/hr_payroll.py @@ -81,10 +81,9 @@ class hr_payroll_structure(osv.osv): """ if not default: default = {} - default.update({ - 'code': self.browse(cr, uid, id, context=context).code + "(copy)", - 'company_id': self.pool.get('res.users').browse(cr, uid, uid, context=context).company_id.id - }) + default.update( + code=_("%s (copy)") % (self.browse(cr, uid, id, context=context).code), + company_id=self.pool.get('res.users').browse(cr, uid, uid, context=context).company_id.id) return super(hr_payroll_structure, self).copy(cr, uid, id, default, context=context) def get_all_rules(self, cr, uid, structure_ids, context=None): @@ -305,7 +304,7 @@ class hr_payslip(osv.osv): return False return True - _constraints = [(_check_dates, "Payslip 'Date From' must be before 'Date To'.", ['date_from', 'date_to'])] + _constraints = [(_check_dates, "Payslip 'Date From' must be before 'Date To'.", ['date_from', 'date_to'])] def copy(self, cr, uid, id, default=None, context=None): if not default: @@ -851,7 +850,7 @@ result = rules.NET > categories.NET * 0.10''', """ :param rule_id: id of rule to compute :param localdict: dictionary containing the environement in which to compute the rule - :return: returns a tuple build as the base/amount computed, the quantity and the rate + :return: returns a tuple build as the base/amount computed, the quantity and the rate :rtype: (float, float, float) """ rule = self.browse(cr, uid, rule_id, context=context) diff --git a/addons/mrp/mrp.py b/addons/mrp/mrp.py index ae29ad324db..94ee4bdb3b2 100644 --- a/addons/mrp/mrp.py +++ b/addons/mrp/mrp.py @@ -356,7 +356,7 @@ class mrp_bom(osv.osv): if default is None: default = {} bom_data = self.read(cr, uid, id, [], context=context) - default.update({'name': bom_data['name'] + ' ' + _('Copy'), 'bom_id':False}) + default.update(name=_("%s (copy)") % (bom_data['name']), bom_id=False) return super(mrp_bom, self).copy_data(cr, uid, id, default, context=context) def create(self, cr, uid, vals, context=None): diff --git a/addons/product/product.py b/addons/product/product.py index df0ab9122c2..8bc0789d44b 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -727,7 +727,7 @@ class product_product(osv.osv): context_wo_lang.pop('lang', None) product = self.read(cr, uid, id, ['name'], context=context_wo_lang) default = default.copy() - default['name'] = product['name'] + ' (' + _('copy') + ')' + default.update(name=_("%s (copy)") % (product['name'])) if context.get('variant',False): fields = ['product_tmpl_id', 'active', 'variants', 'default_code', diff --git a/addons/project/project.py b/addons/project/project.py index f15656905ca..3572fd094b3 100644 --- a/addons/project/project.py +++ b/addons/project/project.py @@ -323,7 +323,7 @@ class project(osv.osv): default.pop('alias_id', None) proj = self.browse(cr, uid, id, context=context) if not default.get('name', False): - default['name'] = proj.name + _(' (copy)') + default.update(name=_("%s (copy)") % (proj.name)) res = super(project, self).copy(cr, uid, id, default, context) self.map_tasks(cr,uid,id,res,context) return res @@ -344,7 +344,7 @@ class project(osv.osv): new_date_end = (datetime(*time.strptime(new_date_start,'%Y-%m-%d')[:3])+(end_date-start_date)).strftime('%Y-%m-%d') context.update({'copy':True}) new_id = self.copy(cr, uid, proj.id, default = { - 'name': proj.name +_(' (copy)'), + 'name':_("%s (copy)") % (proj.name), 'state':'open', 'date_start':new_date_start, 'date':new_date_end, @@ -694,7 +694,7 @@ class task(base_stage, osv.osv): if not default.get('name', False): default['name'] = self.browse(cr, uid, id, context=context).name or '' if not context.get('copy',False): - new_name = _("%s (copy)")%default.get('name','') + new_name = _("%s (copy)") % (default.get('name', '')) default.update({'name':new_name}) return super(task, self).copy_data(cr, uid, id, default, context) diff --git a/addons/project_issue/project_issue.py b/addons/project_issue/project_issue.py index 6121acbd607..f39be0c09d5 100644 --- a/addons/project_issue/project_issue.py +++ b/addons/project_issue/project_issue.py @@ -355,7 +355,7 @@ class project_issue(base_stage, osv.osv): if not default: default = {} default = default.copy() - default['name'] = issue['name'] + _(' (copy)') + default.update(name=_('%s (copy)') % (issue['name'])) return super(project_issue, self).copy(cr, uid, id, default=default, context=context) @@ -534,7 +534,7 @@ class project(osv.osv): def _get_alias_models(self, cr, uid, context=None): return [('project.task', "Tasks"), ("project.issue", "Issues")] - + def _issue_count(self, cr, uid, ids, field_name, arg, context=None): res = dict.fromkeys(ids, 0) issue_ids = self.pool.get('project.issue').search(cr, uid, [('project_id', 'in', ids)]) @@ -557,7 +557,7 @@ class project(osv.osv): _constraints = [ (_check_escalation, 'Error! You cannot assign escalation to the same project!', ['project_escalation_id']) ] - + project() class account_analytic_account(osv.osv): diff --git a/addons/project_long_term/project_long_term.py b/addons/project_long_term/project_long_term.py index 2eab5fa6ac6..5b88d5209c8 100644 --- a/addons/project_long_term/project_long_term.py +++ b/addons/project_long_term/project_long_term.py @@ -138,7 +138,7 @@ class project_phase(osv.osv): if default is None: default = {} if not default.get('name', False): - default['name'] = self.browse(cr, uid, id, context=context).name + _(' (copy)') + default.update(name=_('%s (copy)') % (self.browse(cr, uid, id, context=context).name)) return super(project_phase, self).copy(cr, uid, id, default, context) def set_draft(self, cr, uid, ids, *args): @@ -227,7 +227,7 @@ class project(osv.osv): 'phase_ids': fields.one2many('project.phase', 'project_id', "Project Phases"), 'phase_count': fields.function(_phase_count, type='integer', string="Open Phases"), } - + def schedule_phases(self, cr, uid, ids, context=None): context = context or {} if type(ids) in (long, int,): @@ -250,7 +250,7 @@ class project(osv.osv): # Maybe it's better to update than unlink/create if it already exists ? p = getattr(project_gantt, 'Phase_%d' % (phase.id,)) - self.pool.get('project.user.allocation').unlink(cr, uid, + self.pool.get('project.user.allocation').unlink(cr, uid, [x.id for x in phase.user_ids], context=context ) diff --git a/addons/resource/resource.py b/addons/resource/resource.py index 354e9c5b27c..ed21eea85cc 100644 --- a/addons/resource/resource.py +++ b/addons/resource/resource.py @@ -45,24 +45,24 @@ class resource_calendar(osv.osv): def working_hours_on_day(self, cr, uid, resource_calendar_id, day, context=None): """Calculates the Working Total Hours based on Resource Calendar and given working day (datetime object). - + @param resource_calendar_id: resource.calendar browse record @param day: datetime object - + @return: returns the working hours (as float) men should work on the given day if is in the attendance_ids of the resource_calendar_id (i.e if that day is a working day), returns 0.0 otherwise """ res = 0.0 for working_day in resource_calendar_id.attendance_ids: if (int(working_day.dayofweek) + 1) == day.isoweekday(): res += working_day.hour_to - working_day.hour_from - return res + return res def _get_leaves(self, cr, uid, id, resource): - """Private Method to Calculate resource Leaves days - + """Private Method to Calculate resource Leaves days + @param id: resource calendar id - @param resource: resource id for which leaves will ew calculated - + @param resource: resource id for which leaves will ew calculated + @return : returns the list of dates, where resource on leave in resource.calendar.leaves object (e.g.['%Y-%m-%d', '%Y-%m-%d']) """ @@ -85,9 +85,9 @@ class resource_calendar(osv.osv): """ Calculates the working Schedule from supplied from date to till hours will be satisfied based or resource calendar id. If resource is also - given then it will consider the resource leave also and than will + given then it will consider the resource leave also and than will calculates resource working schedule - + @param dt_from: datetime object, start of working scheduled @param hours: float, total number working hours needed scheduled from start date @@ -187,29 +187,29 @@ class resource_calendar(osv.osv): def interval_get(self, cr, uid, id, dt_from, hours, resource=False, byday=True): """Calculates Resource Working Internal Timing Based on Resource Calendar. - + @param dt_from: start resource schedule calculation. @param hours : total number of working hours to be scheduled. - @param resource: optional resource id, If supplied it will take care of + @param resource: optional resource id, If supplied it will take care of resource leave while scheduling. @param byday: boolean flag bit enforce day wise scheduling - + @return : list of scheduled working timing based on resource calendar. """ res = self.interval_get_multi(cr, uid, [(dt_from.strftime('%Y-%m-%d %H:%M:%S'), hours, id)], resource, byday)[(dt_from.strftime('%Y-%m-%d %H:%M:%S'), hours, id)] return res def interval_hours_get(self, cr, uid, id, dt_from, dt_to, resource=False): - """ Calculates the Total Working hours based on given start_date to - end_date, If resource id is supplied that it will consider the source + """ Calculates the Total Working hours based on given start_date to + end_date, If resource id is supplied that it will consider the source leaves also in calculating the hours. - + @param dt_from : date start to calculate hours @param dt_end : date end to calculate hours @param resource: optional resource id, If given resource leave will be - considered. - - @return : Total number of working hours based dt_from and dt_end and + considered. + + @return : Total number of working hours based dt_from and dt_end and resource if supplied. """ if not id: @@ -257,7 +257,7 @@ resource_calendar() class resource_calendar_attendance(osv.osv): _name = "resource.calendar.attendance" _description = "Work Detail" - + _columns = { 'name' : fields.char("Name", size=64, required=True), 'dayofweek': fields.selection([('0','Monday'),('1','Tuesday'),('2','Wednesday'),('3','Thursday'),('4','Friday'),('5','Saturday'),('6','Sunday')], 'Day of Week', required=True, select=True), @@ -266,9 +266,9 @@ class resource_calendar_attendance(osv.osv): 'hour_to' : fields.float("Work to", required=True), 'calendar_id' : fields.many2one("resource.calendar", "Resource's Calendar", required=True), } - + _order = 'dayofweek, hour_from' - + _defaults = { 'dayofweek' : '0' } @@ -302,12 +302,12 @@ class resource_resource(osv.osv): 'company_id': lambda self, cr, uid, context: self.pool.get('res.company')._company_default_get(cr, uid, 'resource.resource', context=context) } - + def copy(self, cr, uid, id, default=None, context=None): if default is None: default = {} if not default.get('name', False): - default['name'] = self.browse(cr, uid, id, context=context).name + _(' (copy)') + default.update(name=_('%s (copy)') % (self.browse(cr, uid, id, context=context).name)) return super(resource_resource, self).copy(cr, uid, id, default, context) def generate_resources(self, cr, uid, user_ids, calendar_id, context=None): @@ -368,7 +368,7 @@ class resource_resource(osv.osv): """ if not calendar_id: # Calendar is not specified: working days: 24/7 - return [('fri', '8:0-12:0','13:0-17:0'), ('thu', '8:0-12:0','13:0-17:0'), ('wed', '8:0-12:0','13:0-17:0'), + return [('fri', '8:0-12:0','13:0-17:0'), ('thu', '8:0-12:0','13:0-17:0'), ('wed', '8:0-12:0','13:0-17:0'), ('mon', '8:0-12:0','13:0-17:0'), ('tue', '8:0-12:0','13:0-17:0')] resource_attendance_pool = self.pool.get('resource.calendar.attendance') time_range = "8:00-8:00" diff --git a/addons/survey/survey.py b/addons/survey/survey.py index 0239f8bf32f..2426ae5eeed 100644 --- a/addons/survey/survey.py +++ b/addons/survey/survey.py @@ -94,7 +94,7 @@ class survey(osv.osv): def copy(self, cr, uid, ids, default=None, context=None): vals = {} current_rec = self.read(cr, uid, ids, context=context) - title = current_rec.get('title') + ' (Copy)' + title = _("%s (copy)") % (current_rec.get('title')) vals.update({'title':title}) vals.update({'history':[],'tot_start_survey':0,'tot_comp_survey':0}) return super(survey, self).copy(cr, uid, ids, vals, context=context) @@ -143,7 +143,7 @@ class survey(osv.osv): 'nodestroy':True, } return report - + def fill_survey(self, cr, uid, ids, context=None): sur_obj = self.read(cr, uid, ids,['title'], context=context) for sur in sur_obj: @@ -232,7 +232,7 @@ class survey_page(osv.osv): def copy(self, cr, uid, ids, default=None, context=None): vals = {} current_rec = self.read(cr, uid, ids, context=context) - title = current_rec.get('title') + ' (Copy)' + title = _("%s (copy)") % (current_rec.get('title')) vals.update({'title':title}) return super(survey_page, self).copy(cr, uid, ids, vals, context=context) From 26780da2ef5b9b6f5a636ded6f8b21517f6b2198 Mon Sep 17 00:00:00 2001 From: Antony Lesuisse Date: Tue, 25 Sep 2012 02:09:46 +0200 Subject: [PATCH 16/28] [FIX] fcntl not available on windows bzr revid: al@openerp.com-20120925000946-7qikupf5rt2hiwx4 --- openerp/service/workers.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openerp/service/workers.py b/openerp/service/workers.py index 824bc07bb53..eae1b2839a8 100644 --- a/openerp/service/workers.py +++ b/openerp/service/workers.py @@ -3,7 +3,10 @@ # TODO rename class: Multicorn -> Arbiter ? #----------------------------------------------------------- import errno -import fcntl +try: + import fcntl +except ImportError: + fcntl = None import psutil import random import resource From 3cc8c24ef41027d52f2293f98877c2e1834d3468 Mon Sep 17 00:00:00 2001 From: Launchpad Translations on behalf of openerp <> Date: Tue, 25 Sep 2012 04:44:36 +0000 Subject: [PATCH 17/28] Launchpad automatic translations update. bzr revid: launchpad_translations_on_behalf_of_openerp-20120925044436-la8k19ynfgu07eeu --- openerp/addons/base/i18n/ru.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openerp/addons/base/i18n/ru.po b/openerp/addons/base/i18n/ru.po index fd9f91aa09d..82e7869a7ce 100644 --- a/openerp/addons/base/i18n/ru.po +++ b/openerp/addons/base/i18n/ru.po @@ -7,14 +7,14 @@ msgstr "" "Project-Id-Version: OpenERP Server 5.0.4\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2012-02-08 00:44+0000\n" -"PO-Revision-Date: 2012-09-10 14:37+0000\n" +"PO-Revision-Date: 2012-09-24 14:20+0000\n" "Last-Translator: Chertykov Denis \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-09-20 04:40+0000\n" -"X-Generator: Launchpad (build 15985)\n" +"X-Launchpad-Export-Date: 2012-09-25 04:44+0000\n" +"X-Generator: Launchpad (build 16019)\n" #. module: base #: model:res.country,name:base.sh @@ -18206,7 +18206,7 @@ msgstr "Корпорация" #. module: base #: model:ir.module.module,shortdesc:base.module_purchase_requisition msgid "Purchase Requisitions" -msgstr "Требования закупки" +msgstr "Запросы на закупку" #. module: base #: selection:ir.cron,interval_type:0 From 773ae0715bc0bd00ed9006abe234784c8b07265f Mon Sep 17 00:00:00 2001 From: Launchpad Translations on behalf of openerp <> Date: Tue, 25 Sep 2012 04:44:51 +0000 Subject: [PATCH 18/28] Launchpad automatic translations update. bzr revid: launchpad_translations_on_behalf_of_openerp-20120925044451-qfp4bi4a18pm8iy1 --- addons/stock/i18n/nl.po | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/addons/stock/i18n/nl.po b/addons/stock/i18n/nl.po index 04c3875df25..e74b8c680eb 100644 --- a/addons/stock/i18n/nl.po +++ b/addons/stock/i18n/nl.po @@ -7,14 +7,14 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2012-02-08 01:37+0100\n" -"PO-Revision-Date: 2012-05-10 17:48+0000\n" -"Last-Translator: Raphael Collet (OpenERP) \n" +"PO-Revision-Date: 2012-09-24 13:55+0000\n" +"Last-Translator: Erwin \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-08-28 05:56+0000\n" -"X-Generator: Launchpad (build 15864)\n" +"X-Launchpad-Export-Date: 2012-09-25 04:44+0000\n" +"X-Generator: Launchpad (build 16019)\n" #. module: stock #: field:product.product,track_outgoing:0 @@ -1179,7 +1179,7 @@ msgstr "Auteur" #: code:addons/stock/stock.py:1332 #, python-format msgid "Delivery Order" -msgstr "Leveringsbon" +msgstr "Uitgaande levering" #. module: stock #: selection:stock.location,chained_auto_packing:0 @@ -1791,7 +1791,7 @@ msgstr "Voorraadwaarde rekening (inkomend)" #. module: stock #: model:stock.location,name:stock.stock_location_14 msgid "Shelf 2" -msgstr "Schap 2" +msgstr "Plank 2" #. module: stock #: field:stock.report.tracklots,tracking_id:0 From 5165bf9c8584b64df389d557aac138bca7ffc197 Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Tue, 25 Sep 2012 09:10:40 +0200 Subject: [PATCH 19/28] [FIX] account: fixed traceback when emptying the journal of a bank statement bzr revid: qdp-launchpad@openerp.com-20120925071040-m9054w0qtt26ltjt --- addons/account/account_bank_statement.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/addons/account/account_bank_statement.py b/addons/account/account_bank_statement.py index 2dc7f96768f..9889eadf387 100644 --- a/addons/account/account_bank_statement.py +++ b/addons/account/account_bank_statement.py @@ -447,11 +447,13 @@ class account_bank_statement(osv.osv): return self.write(cr, uid, done, {'state':'draft'}, context=context) def _compute_balance_end_real(self, cr, uid, journal_id, context=None): - cr.execute('SELECT balance_end_real \ - FROM account_bank_statement \ - WHERE journal_id = %s AND NOT state = %s \ - ORDER BY date DESC,id DESC LIMIT 1', (journal_id, 'draft')) - res = cr.fetchone() + res = False + if journal_id: + cr.execute('SELECT balance_end_real \ + FROM account_bank_statement \ + WHERE journal_id = %s AND NOT state = %s \ + ORDER BY date DESC,id DESC LIMIT 1', (journal_id, 'draft')) + res = cr.fetchone() return res and res[0] or 0.0 def onchange_journal_id(self, cr, uid, statement_id, journal_id, context=None): From 316cd0aad868646ebd3cc4a79ace19f7ed6cb364 Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Tue, 25 Sep 2012 09:32:01 +0200 Subject: [PATCH 20/28] [REN] renamed account_coda module into l10n_be_coda bzr revid: qdp-launchpad@openerp.com-20120925073201-bgc5bwjfdjrktrct --- addons/l10n_be/__openerp__.py | 2 +- addons/{account_coda => l10n_be_coda}/README.txt | 0 addons/{account_coda => l10n_be_coda}/__init__.py | 2 +- addons/{account_coda => l10n_be_coda}/__openerp__.py | 12 ++++++------ .../i18n/account_coda.pot | 0 addons/{account_coda => l10n_be_coda}/i18n/ar.po | 0 addons/{account_coda => l10n_be_coda}/i18n/bg.po | 0 addons/{account_coda => l10n_be_coda}/i18n/ca.po | 0 addons/{account_coda => l10n_be_coda}/i18n/da.po | 0 addons/{account_coda => l10n_be_coda}/i18n/de.po | 0 addons/{account_coda => l10n_be_coda}/i18n/el.po | 0 addons/{account_coda => l10n_be_coda}/i18n/en_GB.po | 0 addons/{account_coda => l10n_be_coda}/i18n/es.po | 0 addons/{account_coda => l10n_be_coda}/i18n/es_CR.po | 0 addons/{account_coda => l10n_be_coda}/i18n/es_EC.po | 0 addons/{account_coda => l10n_be_coda}/i18n/es_MX.po | 0 addons/{account_coda => l10n_be_coda}/i18n/es_PY.po | 0 addons/{account_coda => l10n_be_coda}/i18n/es_VE.po | 0 addons/{account_coda => l10n_be_coda}/i18n/et.po | 0 addons/{account_coda => l10n_be_coda}/i18n/fa.po | 0 addons/{account_coda => l10n_be_coda}/i18n/fi.po | 0 addons/{account_coda => l10n_be_coda}/i18n/fr.po | 0 addons/{account_coda => l10n_be_coda}/i18n/gl.po | 0 addons/{account_coda => l10n_be_coda}/i18n/hr.po | 0 addons/{account_coda => l10n_be_coda}/i18n/hu.po | 0 addons/{account_coda => l10n_be_coda}/i18n/it.po | 0 addons/{account_coda => l10n_be_coda}/i18n/ja.po | 0 addons/{account_coda => l10n_be_coda}/i18n/lv.po | 0 addons/{account_coda => l10n_be_coda}/i18n/mn.po | 0 addons/{account_coda => l10n_be_coda}/i18n/nb.po | 0 addons/{account_coda => l10n_be_coda}/i18n/nl.po | 0 addons/{account_coda => l10n_be_coda}/i18n/nl_BE.po | 0 addons/{account_coda => l10n_be_coda}/i18n/pl.po | 0 addons/{account_coda => l10n_be_coda}/i18n/pt.po | 0 addons/{account_coda => l10n_be_coda}/i18n/pt_BR.po | 0 addons/{account_coda => l10n_be_coda}/i18n/ro.po | 0 addons/{account_coda => l10n_be_coda}/i18n/ru.po | 0 addons/{account_coda => l10n_be_coda}/i18n/sl.po | 0 addons/{account_coda => l10n_be_coda}/i18n/sq.po | 0 addons/{account_coda => l10n_be_coda}/i18n/sr.po | 0 .../{account_coda => l10n_be_coda}/i18n/sr@latin.po | 0 addons/{account_coda => l10n_be_coda}/i18n/sv.po | 0 addons/{account_coda => l10n_be_coda}/i18n/tr.po | 0 addons/{account_coda => l10n_be_coda}/i18n/vi.po | 0 addons/{account_coda => l10n_be_coda}/i18n/zh_CN.po | 0 addons/{account_coda => l10n_be_coda}/i18n/zh_TW.po | 0 .../account_coda.py => l10n_be_coda/l10n_be_coda.py} | 0 .../l10n_be_coda_comm_type.xml} | 0 .../l10n_be_coda_trans_category.xml} | 0 .../l10n_be_coda_trans_code.xml} | 0 .../l10n_be_coda_trans_type.xml} | 0 .../l10n_be_coda_view.xml} | 0 .../l10n_be_coda_wizard.xml} | 0 .../security/account_security.xml | 0 .../security/ir.model.access.csv | 0 .../Ontvangen_CODA.2011-01-11-18.59.15.txt | 0 .../wizard/__init__.py | 0 .../wizard/account_coda_import.py | 10 +++++----- addons/l10n_ec/__openerp__.py | 1 - 59 files changed, 13 insertions(+), 14 deletions(-) rename addons/{account_coda => l10n_be_coda}/README.txt (100%) rename addons/{account_coda => l10n_be_coda}/__init__.py (98%) rename addons/{account_coda => l10n_be_coda}/__openerp__.py (95%) rename addons/{account_coda => l10n_be_coda}/i18n/account_coda.pot (100%) rename addons/{account_coda => l10n_be_coda}/i18n/ar.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/bg.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/ca.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/da.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/de.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/el.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/en_GB.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/es.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/es_CR.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/es_EC.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/es_MX.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/es_PY.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/es_VE.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/et.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/fa.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/fi.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/fr.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/gl.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/hr.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/hu.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/it.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/ja.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/lv.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/mn.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/nb.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/nl.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/nl_BE.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/pl.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/pt.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/pt_BR.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/ro.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/ru.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/sl.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/sq.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/sr.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/sr@latin.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/sv.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/tr.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/vi.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/zh_CN.po (100%) rename addons/{account_coda => l10n_be_coda}/i18n/zh_TW.po (100%) rename addons/{account_coda/account_coda.py => l10n_be_coda/l10n_be_coda.py} (100%) rename addons/{account_coda/account_coda_comm_type.xml => l10n_be_coda/l10n_be_coda_comm_type.xml} (100%) rename addons/{account_coda/account_coda_trans_category.xml => l10n_be_coda/l10n_be_coda_trans_category.xml} (100%) rename addons/{account_coda/account_coda_trans_code.xml => l10n_be_coda/l10n_be_coda_trans_code.xml} (100%) rename addons/{account_coda/account_coda_trans_type.xml => l10n_be_coda/l10n_be_coda_trans_type.xml} (100%) rename addons/{account_coda/account_coda_view.xml => l10n_be_coda/l10n_be_coda_view.xml} (100%) rename addons/{account_coda/account_coda_wizard.xml => l10n_be_coda/l10n_be_coda_wizard.xml} (100%) rename addons/{account_coda => l10n_be_coda}/security/account_security.xml (100%) rename addons/{account_coda => l10n_be_coda}/security/ir.model.access.csv (100%) rename addons/{account_coda => l10n_be_coda}/test_coda_file/Ontvangen_CODA.2011-01-11-18.59.15.txt (100%) rename addons/{account_coda => l10n_be_coda}/wizard/__init__.py (100%) rename addons/{account_coda => l10n_be_coda}/wizard/account_coda_import.py (99%) diff --git a/addons/l10n_be/__openerp__.py b/addons/l10n_be/__openerp__.py index 4d301bfafe4..c2ccf511e3c 100644 --- a/addons/l10n_be/__openerp__.py +++ b/addons/l10n_be/__openerp__.py @@ -57,7 +57,7 @@ Wizards provided by this module: 'base_vat', 'base_iban', 'account_chart', - 'account_coda', + 'l10n_be_coda', ], 'data': [ 'account_financial_report.xml', diff --git a/addons/account_coda/README.txt b/addons/l10n_be_coda/README.txt similarity index 100% rename from addons/account_coda/README.txt rename to addons/l10n_be_coda/README.txt diff --git a/addons/account_coda/__init__.py b/addons/l10n_be_coda/__init__.py similarity index 98% rename from addons/account_coda/__init__.py rename to addons/l10n_be_coda/__init__.py index 2750c8ff4a8..4a58b8ad059 100644 --- a/addons/account_coda/__init__.py +++ b/addons/l10n_be_coda/__init__.py @@ -20,7 +20,7 @@ # ############################################################################## -import account_coda +import l10n_be_coda import wizard # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/account_coda/__openerp__.py b/addons/l10n_be_coda/__openerp__.py similarity index 95% rename from addons/account_coda/__openerp__.py rename to addons/l10n_be_coda/__openerp__.py index 03527eaa2ec..bd323478886 100644 --- a/addons/account_coda/__openerp__.py +++ b/addons/l10n_be_coda/__openerp__.py @@ -93,14 +93,14 @@ If required, you can manually adjust the descriptions via the CODA configuration 'depends': ['account_voucher','base_iban', 'l10n_be_invoice_bba', 'account_bank_statement_extensions'], 'demo': [], 'data': [ - 'account_coda_trans_type.xml', - 'account_coda_trans_code.xml', - 'account_coda_trans_category.xml', - 'account_coda_comm_type.xml', + 'l10n_be_coda_trans_type.xml', + 'l10n_be_coda_trans_code.xml', + 'l10n_be_coda_trans_category.xml', + 'l10n_be_coda_comm_type.xml', 'security/ir.model.access.csv', 'security/account_security.xml', - 'account_coda_wizard.xml', - 'account_coda_view.xml', + 'l10n_be_coda_wizard.xml', + 'l10n_be_coda_view.xml', ], 'auto_install': False, 'installable': True, diff --git a/addons/account_coda/i18n/account_coda.pot b/addons/l10n_be_coda/i18n/account_coda.pot similarity index 100% rename from addons/account_coda/i18n/account_coda.pot rename to addons/l10n_be_coda/i18n/account_coda.pot diff --git a/addons/account_coda/i18n/ar.po b/addons/l10n_be_coda/i18n/ar.po similarity index 100% rename from addons/account_coda/i18n/ar.po rename to addons/l10n_be_coda/i18n/ar.po diff --git a/addons/account_coda/i18n/bg.po b/addons/l10n_be_coda/i18n/bg.po similarity index 100% rename from addons/account_coda/i18n/bg.po rename to addons/l10n_be_coda/i18n/bg.po diff --git a/addons/account_coda/i18n/ca.po b/addons/l10n_be_coda/i18n/ca.po similarity index 100% rename from addons/account_coda/i18n/ca.po rename to addons/l10n_be_coda/i18n/ca.po diff --git a/addons/account_coda/i18n/da.po b/addons/l10n_be_coda/i18n/da.po similarity index 100% rename from addons/account_coda/i18n/da.po rename to addons/l10n_be_coda/i18n/da.po diff --git a/addons/account_coda/i18n/de.po b/addons/l10n_be_coda/i18n/de.po similarity index 100% rename from addons/account_coda/i18n/de.po rename to addons/l10n_be_coda/i18n/de.po diff --git a/addons/account_coda/i18n/el.po b/addons/l10n_be_coda/i18n/el.po similarity index 100% rename from addons/account_coda/i18n/el.po rename to addons/l10n_be_coda/i18n/el.po diff --git a/addons/account_coda/i18n/en_GB.po b/addons/l10n_be_coda/i18n/en_GB.po similarity index 100% rename from addons/account_coda/i18n/en_GB.po rename to addons/l10n_be_coda/i18n/en_GB.po diff --git a/addons/account_coda/i18n/es.po b/addons/l10n_be_coda/i18n/es.po similarity index 100% rename from addons/account_coda/i18n/es.po rename to addons/l10n_be_coda/i18n/es.po diff --git a/addons/account_coda/i18n/es_CR.po b/addons/l10n_be_coda/i18n/es_CR.po similarity index 100% rename from addons/account_coda/i18n/es_CR.po rename to addons/l10n_be_coda/i18n/es_CR.po diff --git a/addons/account_coda/i18n/es_EC.po b/addons/l10n_be_coda/i18n/es_EC.po similarity index 100% rename from addons/account_coda/i18n/es_EC.po rename to addons/l10n_be_coda/i18n/es_EC.po diff --git a/addons/account_coda/i18n/es_MX.po b/addons/l10n_be_coda/i18n/es_MX.po similarity index 100% rename from addons/account_coda/i18n/es_MX.po rename to addons/l10n_be_coda/i18n/es_MX.po diff --git a/addons/account_coda/i18n/es_PY.po b/addons/l10n_be_coda/i18n/es_PY.po similarity index 100% rename from addons/account_coda/i18n/es_PY.po rename to addons/l10n_be_coda/i18n/es_PY.po diff --git a/addons/account_coda/i18n/es_VE.po b/addons/l10n_be_coda/i18n/es_VE.po similarity index 100% rename from addons/account_coda/i18n/es_VE.po rename to addons/l10n_be_coda/i18n/es_VE.po diff --git a/addons/account_coda/i18n/et.po b/addons/l10n_be_coda/i18n/et.po similarity index 100% rename from addons/account_coda/i18n/et.po rename to addons/l10n_be_coda/i18n/et.po diff --git a/addons/account_coda/i18n/fa.po b/addons/l10n_be_coda/i18n/fa.po similarity index 100% rename from addons/account_coda/i18n/fa.po rename to addons/l10n_be_coda/i18n/fa.po diff --git a/addons/account_coda/i18n/fi.po b/addons/l10n_be_coda/i18n/fi.po similarity index 100% rename from addons/account_coda/i18n/fi.po rename to addons/l10n_be_coda/i18n/fi.po diff --git a/addons/account_coda/i18n/fr.po b/addons/l10n_be_coda/i18n/fr.po similarity index 100% rename from addons/account_coda/i18n/fr.po rename to addons/l10n_be_coda/i18n/fr.po diff --git a/addons/account_coda/i18n/gl.po b/addons/l10n_be_coda/i18n/gl.po similarity index 100% rename from addons/account_coda/i18n/gl.po rename to addons/l10n_be_coda/i18n/gl.po diff --git a/addons/account_coda/i18n/hr.po b/addons/l10n_be_coda/i18n/hr.po similarity index 100% rename from addons/account_coda/i18n/hr.po rename to addons/l10n_be_coda/i18n/hr.po diff --git a/addons/account_coda/i18n/hu.po b/addons/l10n_be_coda/i18n/hu.po similarity index 100% rename from addons/account_coda/i18n/hu.po rename to addons/l10n_be_coda/i18n/hu.po diff --git a/addons/account_coda/i18n/it.po b/addons/l10n_be_coda/i18n/it.po similarity index 100% rename from addons/account_coda/i18n/it.po rename to addons/l10n_be_coda/i18n/it.po diff --git a/addons/account_coda/i18n/ja.po b/addons/l10n_be_coda/i18n/ja.po similarity index 100% rename from addons/account_coda/i18n/ja.po rename to addons/l10n_be_coda/i18n/ja.po diff --git a/addons/account_coda/i18n/lv.po b/addons/l10n_be_coda/i18n/lv.po similarity index 100% rename from addons/account_coda/i18n/lv.po rename to addons/l10n_be_coda/i18n/lv.po diff --git a/addons/account_coda/i18n/mn.po b/addons/l10n_be_coda/i18n/mn.po similarity index 100% rename from addons/account_coda/i18n/mn.po rename to addons/l10n_be_coda/i18n/mn.po diff --git a/addons/account_coda/i18n/nb.po b/addons/l10n_be_coda/i18n/nb.po similarity index 100% rename from addons/account_coda/i18n/nb.po rename to addons/l10n_be_coda/i18n/nb.po diff --git a/addons/account_coda/i18n/nl.po b/addons/l10n_be_coda/i18n/nl.po similarity index 100% rename from addons/account_coda/i18n/nl.po rename to addons/l10n_be_coda/i18n/nl.po diff --git a/addons/account_coda/i18n/nl_BE.po b/addons/l10n_be_coda/i18n/nl_BE.po similarity index 100% rename from addons/account_coda/i18n/nl_BE.po rename to addons/l10n_be_coda/i18n/nl_BE.po diff --git a/addons/account_coda/i18n/pl.po b/addons/l10n_be_coda/i18n/pl.po similarity index 100% rename from addons/account_coda/i18n/pl.po rename to addons/l10n_be_coda/i18n/pl.po diff --git a/addons/account_coda/i18n/pt.po b/addons/l10n_be_coda/i18n/pt.po similarity index 100% rename from addons/account_coda/i18n/pt.po rename to addons/l10n_be_coda/i18n/pt.po diff --git a/addons/account_coda/i18n/pt_BR.po b/addons/l10n_be_coda/i18n/pt_BR.po similarity index 100% rename from addons/account_coda/i18n/pt_BR.po rename to addons/l10n_be_coda/i18n/pt_BR.po diff --git a/addons/account_coda/i18n/ro.po b/addons/l10n_be_coda/i18n/ro.po similarity index 100% rename from addons/account_coda/i18n/ro.po rename to addons/l10n_be_coda/i18n/ro.po diff --git a/addons/account_coda/i18n/ru.po b/addons/l10n_be_coda/i18n/ru.po similarity index 100% rename from addons/account_coda/i18n/ru.po rename to addons/l10n_be_coda/i18n/ru.po diff --git a/addons/account_coda/i18n/sl.po b/addons/l10n_be_coda/i18n/sl.po similarity index 100% rename from addons/account_coda/i18n/sl.po rename to addons/l10n_be_coda/i18n/sl.po diff --git a/addons/account_coda/i18n/sq.po b/addons/l10n_be_coda/i18n/sq.po similarity index 100% rename from addons/account_coda/i18n/sq.po rename to addons/l10n_be_coda/i18n/sq.po diff --git a/addons/account_coda/i18n/sr.po b/addons/l10n_be_coda/i18n/sr.po similarity index 100% rename from addons/account_coda/i18n/sr.po rename to addons/l10n_be_coda/i18n/sr.po diff --git a/addons/account_coda/i18n/sr@latin.po b/addons/l10n_be_coda/i18n/sr@latin.po similarity index 100% rename from addons/account_coda/i18n/sr@latin.po rename to addons/l10n_be_coda/i18n/sr@latin.po diff --git a/addons/account_coda/i18n/sv.po b/addons/l10n_be_coda/i18n/sv.po similarity index 100% rename from addons/account_coda/i18n/sv.po rename to addons/l10n_be_coda/i18n/sv.po diff --git a/addons/account_coda/i18n/tr.po b/addons/l10n_be_coda/i18n/tr.po similarity index 100% rename from addons/account_coda/i18n/tr.po rename to addons/l10n_be_coda/i18n/tr.po diff --git a/addons/account_coda/i18n/vi.po b/addons/l10n_be_coda/i18n/vi.po similarity index 100% rename from addons/account_coda/i18n/vi.po rename to addons/l10n_be_coda/i18n/vi.po diff --git a/addons/account_coda/i18n/zh_CN.po b/addons/l10n_be_coda/i18n/zh_CN.po similarity index 100% rename from addons/account_coda/i18n/zh_CN.po rename to addons/l10n_be_coda/i18n/zh_CN.po diff --git a/addons/account_coda/i18n/zh_TW.po b/addons/l10n_be_coda/i18n/zh_TW.po similarity index 100% rename from addons/account_coda/i18n/zh_TW.po rename to addons/l10n_be_coda/i18n/zh_TW.po diff --git a/addons/account_coda/account_coda.py b/addons/l10n_be_coda/l10n_be_coda.py similarity index 100% rename from addons/account_coda/account_coda.py rename to addons/l10n_be_coda/l10n_be_coda.py diff --git a/addons/account_coda/account_coda_comm_type.xml b/addons/l10n_be_coda/l10n_be_coda_comm_type.xml similarity index 100% rename from addons/account_coda/account_coda_comm_type.xml rename to addons/l10n_be_coda/l10n_be_coda_comm_type.xml diff --git a/addons/account_coda/account_coda_trans_category.xml b/addons/l10n_be_coda/l10n_be_coda_trans_category.xml similarity index 100% rename from addons/account_coda/account_coda_trans_category.xml rename to addons/l10n_be_coda/l10n_be_coda_trans_category.xml diff --git a/addons/account_coda/account_coda_trans_code.xml b/addons/l10n_be_coda/l10n_be_coda_trans_code.xml similarity index 100% rename from addons/account_coda/account_coda_trans_code.xml rename to addons/l10n_be_coda/l10n_be_coda_trans_code.xml diff --git a/addons/account_coda/account_coda_trans_type.xml b/addons/l10n_be_coda/l10n_be_coda_trans_type.xml similarity index 100% rename from addons/account_coda/account_coda_trans_type.xml rename to addons/l10n_be_coda/l10n_be_coda_trans_type.xml diff --git a/addons/account_coda/account_coda_view.xml b/addons/l10n_be_coda/l10n_be_coda_view.xml similarity index 100% rename from addons/account_coda/account_coda_view.xml rename to addons/l10n_be_coda/l10n_be_coda_view.xml diff --git a/addons/account_coda/account_coda_wizard.xml b/addons/l10n_be_coda/l10n_be_coda_wizard.xml similarity index 100% rename from addons/account_coda/account_coda_wizard.xml rename to addons/l10n_be_coda/l10n_be_coda_wizard.xml diff --git a/addons/account_coda/security/account_security.xml b/addons/l10n_be_coda/security/account_security.xml similarity index 100% rename from addons/account_coda/security/account_security.xml rename to addons/l10n_be_coda/security/account_security.xml diff --git a/addons/account_coda/security/ir.model.access.csv b/addons/l10n_be_coda/security/ir.model.access.csv similarity index 100% rename from addons/account_coda/security/ir.model.access.csv rename to addons/l10n_be_coda/security/ir.model.access.csv diff --git a/addons/account_coda/test_coda_file/Ontvangen_CODA.2011-01-11-18.59.15.txt b/addons/l10n_be_coda/test_coda_file/Ontvangen_CODA.2011-01-11-18.59.15.txt similarity index 100% rename from addons/account_coda/test_coda_file/Ontvangen_CODA.2011-01-11-18.59.15.txt rename to addons/l10n_be_coda/test_coda_file/Ontvangen_CODA.2011-01-11-18.59.15.txt diff --git a/addons/account_coda/wizard/__init__.py b/addons/l10n_be_coda/wizard/__init__.py similarity index 100% rename from addons/account_coda/wizard/__init__.py rename to addons/l10n_be_coda/wizard/__init__.py diff --git a/addons/account_coda/wizard/account_coda_import.py b/addons/l10n_be_coda/wizard/account_coda_import.py similarity index 99% rename from addons/account_coda/wizard/account_coda_import.py rename to addons/l10n_be_coda/wizard/account_coda_import.py index bb46593b158..ca89cf78325 100644 --- a/addons/account_coda/wizard/account_coda_import.py +++ b/addons/l10n_be_coda/wizard/account_coda_import.py @@ -942,7 +942,7 @@ class account_coda_import(osv.osv_memory): def action_open_coda_statements(self, cr, uid, ids, context=None): if context is None: context = {} - module, xml_id = 'account_coda', 'action_coda_bank_statements' + module, xml_id = 'l10n_be_coda', 'action_coda_bank_statements' res_model, res_id = self.pool.get('ir.model.data').get_object_reference(cr, uid, module, xml_id) action = self.pool.get('ir.actions.act_window').read(cr, uid, res_id, context=context) domain = eval(action.get('domain') or '[]') @@ -973,9 +973,9 @@ def str2float(str): return 0.0 def list2float(lst): - try: - return str2float((lambda s : s[:-3] + '.' + s[-3:])(lst)) - except: - return 0.0 + try: + return str2float((lambda s : s[:-3] + '.' + s[-3:])(lst)) + except: + return 0.0 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_ec/__openerp__.py b/addons/l10n_ec/__openerp__.py index f27b76a5bca..62a32a526c3 100644 --- a/addons/l10n_ec/__openerp__.py +++ b/addons/l10n_ec/__openerp__.py @@ -33,7 +33,6 @@ Accounting chart and localization for Ecuador. 'base_vat', 'base_iban', 'account_chart', - 'account_coda', ], 'data': [ 'account_tax_code.xml', From e3003f56b295c1b5f1e6a474d566f6ec12c5eec4 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Tue, 25 Sep 2012 09:56:45 +0200 Subject: [PATCH 21/28] [IMP] point of sale, 10 firsts clicks cleaned bzr revid: fp@tinyerp.com-20120925075645-9ydq1dh6usmwyknx --- addons/account/demo/account_minimal.xml | 7 ++++++- addons/point_of_sale/point_of_sale_view.xml | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/addons/account/demo/account_minimal.xml b/addons/account/demo/account_minimal.xml index 8f879d6b465..0eb7b348069 100644 --- a/addons/account/demo/account_minimal.xml +++ b/addons/account/demo/account_minimal.xml @@ -392,7 +392,12 @@ - + + diff --git a/addons/point_of_sale/point_of_sale_view.xml b/addons/point_of_sale/point_of_sale_view.xml index 9c92145ed89..d9836527013 100644 --- a/addons/point_of_sale/point_of_sale_view.xml +++ b/addons/point_of_sale/point_of_sale_view.xml @@ -863,6 +863,8 @@