From 9faf27da5ecef92f5e6909ea69d33b21563db4f9 Mon Sep 17 00:00:00 2001 From: Michael Telahun Makonnen Date: Thu, 27 Dec 2012 10:52:00 +0300 Subject: [PATCH 001/448] Enable loading of Amharic (Ethiopia) language. bzr revid: mmakonnen@gmail.com-20121227075200-junjlo2sj4vxk87h --- openerp/tools/misc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openerp/tools/misc.py b/openerp/tools/misc.py index 47a2ae4faac..1d40006144e 100644 --- a/openerp/tools/misc.py +++ b/openerp/tools/misc.py @@ -433,6 +433,7 @@ def get_iso_codes(lang): ALL_LANGUAGES = { 'ab_RU': u'Abkhazian / аҧсуа', + 'am_ET': u'Amharic / አምሃርኛ', 'ar_SY': u'Arabic / الْعَرَبيّة', 'bg_BG': u'Bulgarian / български език', 'bs_BS': u'Bosnian / bosanski jezik', From 1cb348e1334284665f3d29545be3863e5b8dd54f Mon Sep 17 00:00:00 2001 From: "Hiral Patel (OpenERP)" Date: Thu, 10 Jan 2013 15:44:59 +0530 Subject: [PATCH 002/448] [7.0][project_crm][FIX] sale_order_id does not appear in the correct location on project.task bzr revid: hip@tinyerp.com-20130110101459-c5q6t465i4p8nftk --- addons/project_mrp/project_mrp_view.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/project_mrp/project_mrp_view.xml b/addons/project_mrp/project_mrp_view.xml index 881ed9b6b29..499a0259214 100644 --- a/addons/project_mrp/project_mrp_view.xml +++ b/addons/project_mrp/project_mrp_view.xml @@ -26,9 +26,9 @@ project.task - + - + From bc9b5036620ddf8b7929249a684b289af5668635 Mon Sep 17 00:00:00 2001 From: "Hiral Patel (OpenERP)" Date: Tue, 15 Jan 2013 14:40:39 +0530 Subject: [PATCH 003/448] [trunk] Display Click to set your company logo in edit mode bzr revid: hip@tinyerp.com-20130115091039-h6cjblnuzzyro4ym --- openerp/addons/base/res/res_company_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openerp/addons/base/res/res_company_view.xml b/openerp/addons/base/res/res_company_view.xml index 06775d159ac..c5840976324 100644 --- a/openerp/addons/base/res/res_company_view.xml +++ b/openerp/addons/base/res/res_company_view.xml @@ -33,7 +33,7 @@
-

+

Click to set your company logo.

From 4f0074193f95595ba15fa81a4a01837733c7308c Mon Sep 17 00:00:00 2001 From: Yannick Vaucher Date: Tue, 15 Jan 2013 16:21:31 +0100 Subject: [PATCH 004/448] [FIX] report_webkit - ir_report xml view lp bug: https://launchpad.net/bugs/1099880 fixed bzr revid: yannick.vaucher@camptocamp.com-20130115152131-84q6nto42w6zk24t --- addons/report_webkit/ir_report_view.xml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/addons/report_webkit/ir_report_view.xml b/addons/report_webkit/ir_report_view.xml index e9f9ebd2234..8eca63e57b4 100644 --- a/addons/report_webkit/ir_report_view.xml +++ b/addons/report_webkit/ir_report_view.xml @@ -7,11 +7,15 @@ - - - + + + + + - + + + From a15920f684a0d9c357ed53e6254915bb6e127ff4 Mon Sep 17 00:00:00 2001 From: "Turkesh Patel (Open ERP)" Date: Wed, 16 Jan 2013 17:00:08 +0530 Subject: [PATCH 005/448] [FIX] Chnage Default currency of Estonia to EUR from EEK as it have changed from 2011 bzr revid: tpa@tinyerp.com-20130116113008-8l9mof3qzhyrxhso --- openerp/addons/base/currency_data.xml | 13 ------------- openerp/addons/base/res/res_country_data.xml | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/openerp/addons/base/currency_data.xml b/openerp/addons/base/currency_data.xml index 7173b8492ab..c0900f39092 100644 --- a/openerp/addons/base/currency_data.xml +++ b/openerp/addons/base/currency_data.xml @@ -1017,19 +1017,6 @@ 18.89
- - EEK - kr - 0.01 - 4 - - - - - - 14.41 - - ETB Br diff --git a/openerp/addons/base/res/res_country_data.xml b/openerp/addons/base/res/res_country_data.xml index a7cfb961af1..55818cb5c39 100644 --- a/openerp/addons/base/res/res_country_data.xml +++ b/openerp/addons/base/res/res_country_data.xml @@ -330,7 +330,7 @@ Estonia ee - + Egypt From 8d47d83bbf7aab82859f269a670b63bd43689bf5 Mon Sep 17 00:00:00 2001 From: "Bhumi Thakkar (Open ERP)" Date: Thu, 17 Jan 2013 17:28:14 +0530 Subject: [PATCH 006/448] [FIX] config_id problem with pos session.--fixes:lp1098226 bzr revid: bth@tinyerp.com-20130117115814-kf2365ydkq5fwu5i --- addons/point_of_sale/point_of_sale.py | 2 +- addons/point_of_sale/wizard/pos_session_opening.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/point_of_sale/point_of_sale.py b/addons/point_of_sale/point_of_sale.py index 970eb1fbed7..22a6b5cd95b 100644 --- a/addons/point_of_sale/point_of_sale.py +++ b/addons/point_of_sale/point_of_sale.py @@ -290,7 +290,7 @@ class pos_session(osv.osv): _constraints = [ (_check_unicity, "You cannot create two active sessions with the same responsible!", ['user_id', 'state']), - (_check_pos_config, "You cannot create two active sessions related to the same point of sale!", ['config_id']), + (_check_pos_config, "You cannot create two active sessions related to the same point of sale! Use not used point of sale", ['config_id']), ] def create(self, cr, uid, values, context=None): diff --git a/addons/point_of_sale/wizard/pos_session_opening.py b/addons/point_of_sale/wizard/pos_session_opening.py index 1aa4cb702c4..ac64da706aa 100644 --- a/addons/point_of_sale/wizard/pos_session_opening.py +++ b/addons/point_of_sale/wizard/pos_session_opening.py @@ -88,6 +88,7 @@ class pos_session_opening(osv.osv_memory): session_ids = proxy.search(cr, uid, [ ('state', '!=', 'closed'), ('config_id', '=', config_id), + ('user_id', '=', uid), ], context=context) if session_ids: session = proxy.browse(cr, uid, session_ids[0], context=context) From 75ee662647d0209516997bdce7bed23afa1c32af Mon Sep 17 00:00:00 2001 From: Niels Huylebroeck Date: Fri, 25 Jan 2013 17:07:11 +0100 Subject: [PATCH 007/448] [FIX] account_payment: imported payments from invoices on payment order do not reflect the reference type of the invoice lp bug: https://launchpad.net/bugs/1105067 fixed bzr revid: nh@agaplan.eu-20130125160711-cofis6ftzw3zvcza --- addons/account_payment/wizard/account_payment_order.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/account_payment/wizard/account_payment_order.py b/addons/account_payment/wizard/account_payment_order.py index 455475b0ae5..60b1bc9c1d1 100644 --- a/addons/account_payment/wizard/account_payment_order.py +++ b/addons/account_payment/wizard/account_payment_order.py @@ -88,6 +88,7 @@ class payment_order_create(osv.osv_memory): 'partner_id': line.partner_id and line.partner_id.id or False, 'communication': line.ref or '/', 'date': date_to_pay, + 'state': line.invoice and line.invoice.reference_type != 'none' and 'structured' or 'normal', 'currency': (line.invoice and line.invoice.currency_id.id) or line.journal_id.currency.id or line.journal_id.company_id.currency_id.id, }, context=context) return {'type': 'ir.actions.act_window_close'} From 2ace4972e671934526ad9f501e22d570ab3d062f Mon Sep 17 00:00:00 2001 From: Peter Langenberg Date: Tue, 29 Jan 2013 15:34:28 +0100 Subject: [PATCH 008/448] [FIX]l10n_be_coda Agaplan 661 OpenERP Maintenance bzr revid: pl@agaplan.eu-20130129143428-l74j4vzt8z8j6ebr --- addons/l10n_be_coda/wizard/account_coda_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/l10n_be_coda/wizard/account_coda_import.py b/addons/l10n_be_coda/wizard/account_coda_import.py index 213040d6204..78d3dbcc545 100644 --- a/addons/l10n_be_coda/wizard/account_coda_import.py +++ b/addons/l10n_be_coda/wizard/account_coda_import.py @@ -246,7 +246,7 @@ class account_coda_import(osv.osv_memory): elif line[0] == '9': statement['balanceMin'] = float(rmspaces(line[22:37])) / 1000 statement['balancePlus'] = float(rmspaces(line[37:52])) / 1000 - if not statement['balance_end_real']: + if not statement.get('balance_end_real'): statement['balance_end_real'] = statement['balance_start'] + statement['balancePlus'] - statement['balanceMin'] for i, statement in enumerate(statements): statement['coda_note'] = '' From 9d10d3e198d74679bf9db072175a3031f1fc16c1 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Tue, 29 Jan 2013 11:52:07 -0500 Subject: [PATCH 009/448] [FIX] Replaced french leftover tax names in l10n_ca's account_tax_en.xml. Replaced TVH by HST and TVQ by QST. lp bug: https://launchpad.net/bugs/1095382 fixed bzr revid: virgil.dupras@savoirfairelinux.com-20130129165207-xnul9189p27nqcm1 --- addons/l10n_ca/__openerp__.py | 2 +- addons/l10n_ca/account_tax_en.xml | 48 +++++++++++++++---------------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/addons/l10n_ca/__openerp__.py b/addons/l10n_ca/__openerp__.py index 05279b6ef8e..af6e4c95078 100644 --- a/addons/l10n_ca/__openerp__.py +++ b/addons/l10n_ca/__openerp__.py @@ -20,7 +20,7 @@ ############################################################################## { 'name': 'Canada - Accounting', - 'version': '1.0', + 'version': '1.1', 'author': 'Savoir-faire Linux', 'website': 'http://www.savoirfairelinux.com', 'category': 'Localization/Account Charts', diff --git a/addons/l10n_ca/account_tax_en.xml b/addons/l10n_ca/account_tax_en.xml index 1ff884ac361..d7c9ffd38a2 100644 --- a/addons/l10n_ca/account_tax_en.xml +++ b/addons/l10n_ca/account_tax_en.xml @@ -102,8 +102,8 @@ - GST + TVQ for sales - GSTTVQ_SALE + GST + QST for sales + GSTQST_SALE sale 1 1 @@ -129,8 +129,8 @@ - TVQ for sales - 9.975% - TVQ + QST for sales - 9.975% + QST sale 0.099750 percent @@ -195,8 +195,8 @@ - TVH for sales - 12% - TVH12_SALE + HST for sales - 12% + HST12_SALE sale 0.120000 percent @@ -210,8 +210,8 @@ - TVH for sales - 13% - TVH13_SALE + HST for sales - 13% + HST13_SALE sale 0.130000 percent @@ -225,8 +225,8 @@ - TVH for sales - 13.5% - TVH135_SALE + HST for sales - 13.5% + HST135_SALE sale 0.135000 percent @@ -240,8 +240,8 @@ - TVH for sales - 15% - TVH15_SALE + HST for sales - 15% + HST15_SALE sale 0.150000 percent @@ -371,8 +371,8 @@ - GST + TVQ for purchases - GSTTVQ_PURC + GST + QST for purchases + GSTQST_PURC purchase 1 1 @@ -398,8 +398,8 @@ - TVQ for purchases - 9.975% - TVQ + QST for purchases - 9.975% + QST purchase 0.099750 percent @@ -464,8 +464,8 @@ - TVH for purchases - 12% - TVH12_PURC + HST for purchases - 12% + HST12_PURC purchase 0.120000 percent @@ -479,8 +479,8 @@ - TVH for purchases - 13% - TVH13_PURC + HST for purchases - 13% + HST13_PURC purchase 0.130000 percent @@ -494,8 +494,8 @@ - TVH for purchases - 13.5% - TVH135_PURC + HST for purchases - 13.5% + HST135_PURC purchase 0.135000 percent @@ -509,8 +509,8 @@ - TVH for purchases - 15% - TVH15_PURC + HST for purchases - 15% + HST15_PURC purchase 0.150000 percent From 489c5df81440202236ab37ffb2fade69f85b906e Mon Sep 17 00:00:00 2001 From: Peter Langenberg Date: Tue, 5 Feb 2013 09:37:06 +0100 Subject: [PATCH 010/448] [FIX]l10n_be_invoice_bba error message when duplicating lp bug: https://launchpad.net/bugs/1115472 fixed bzr revid: pl@agaplan.eu-20130205083706-sekknxzcl30ni9bn --- addons/l10n_be_invoice_bba/invoice.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/addons/l10n_be_invoice_bba/invoice.py b/addons/l10n_be_invoice_bba/invoice.py index a23dabd7c51..97cc4ed5d7c 100644 --- a/addons/l10n_be_invoice_bba/invoice.py +++ b/addons/l10n_be_invoice_bba/invoice.py @@ -199,6 +199,18 @@ class account_invoice(osv.osv): '\nPlease create manually a unique BBA Structured Communication.')) return super(account_invoice, self).write(cr, uid, ids, vals, context) + def copy(self, cr, uid, ids, default=None, context=None): + default = default or {} + invoice = self.browse(cr, uid, ids, context=context) + reference_type = invoice.reference_type or 'none' + default['reference_type'] = reference_type + if reference_type == 'bba': + partner = invoice.partner_id + default['reference'] = self.generate_bbacomm(cr, uid, ids, + invoice.type, reference_type, + partner.id, '', context=context)['value']['reference'] + return super(account_invoice, self).copy(cr, uid, ids, default, context=context) + _columns = { 'reference': fields.char('Communication', size=64, help="The partner reference of this invoice."), 'reference_type': fields.selection(_get_reference_type, 'Communication Type', From 964bb5a7caa44a71268ed438950ffe2dd4bf26db Mon Sep 17 00:00:00 2001 From: Yannick Vaucher Date: Mon, 11 Feb 2013 11:42:49 +0100 Subject: [PATCH 011/448] [FIX] report_webkit - __openerp__.py descriptor, correct explanation on how to set the wkhtmltopdf path lp bug: https://launchpad.net/bugs/1113418 fixed bzr revid: yannick.vaucher@camptocamp.com-20130211104249-ipobmq3a2q8ycygu --- addons/report_webkit/__openerp__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/report_webkit/__openerp__.py b/addons/report_webkit/__openerp__.py index 5b88cb78eb4..ec71ee37b0c 100644 --- a/addons/report_webkit/__openerp__.py +++ b/addons/report_webkit/__openerp__.py @@ -62,8 +62,9 @@ This module requires the ``wkthtmltopdf`` library to render HTML documents as PDF. Version 0.9.9 or later is necessary, and can be found at http://code.google.com/p/wkhtmltopdf/ for Linux, Mac OS X (i386) and Windows (32bits). -After installing the library on the OpenERP Server machine, you need to set the -path to the ``wkthtmltopdf`` executable file on each Company. +After installing the library on the OpenERP Server machine, you need to set +the path to the ``wkthtmltopdf`` executable file in a system parameter named ``webkit_path`` +in Settings -> Customization -> Low Level Object -> System Parameters If you are experiencing missing header/footer problems on Linux, be sure to install a 'static' version of the library. The default ``wkhtmltopdf`` on From fd485cd9e71202c1180322001c0fee1d921d6a6a Mon Sep 17 00:00:00 2001 From: "Pinakin Nayi (OpenERP)" Date: Thu, 14 Feb 2013 18:08:56 +0530 Subject: [PATCH 012/448] [FIX]account_analytic_plans:open analytic rules and try to groupby analytic account it not getting analytic account in tree view so generate client error bzr revid: pna@tinyerp.com-20130214123856-hr30ewdc9rrwhimq --- addons/account_analytic_plans/account_analytic_plans_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account_analytic_plans/account_analytic_plans_view.xml b/addons/account_analytic_plans/account_analytic_plans_view.xml index 3dcbcda6952..dbd793af5ae 100644 --- a/addons/account_analytic_plans/account_analytic_plans_view.xml +++ b/addons/account_analytic_plans/account_analytic_plans_view.xml @@ -272,7 +272,7 @@ account.analytic.default - + From de240e28183be881078af89893b504fc6478051a Mon Sep 17 00:00:00 2001 From: Peter Langenberg Date: Thu, 14 Feb 2013 13:58:41 +0100 Subject: [PATCH 013/448] [fix]l10n_be_coda/wizard/account_coda_import.py warning No transactions or no period in coda file ! to avoid key error lp bug: https://launchpad.net/bugs/1125165 fixed bzr revid: pl@agaplan.eu-20130214125841-ytdwspwug910v1hv --- addons/l10n_be_coda/wizard/account_coda_import.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/l10n_be_coda/wizard/account_coda_import.py b/addons/l10n_be_coda/wizard/account_coda_import.py index 78d3dbcc545..b952ee5d0f6 100644 --- a/addons/l10n_be_coda/wizard/account_coda_import.py +++ b/addons/l10n_be_coda/wizard/account_coda_import.py @@ -264,6 +264,8 @@ class account_coda_import(osv.osv_memory): raise osv.except_osv(_('Error'), _("Configuration Error in journal %s!\nPlease verify the Default Debit and Credit Account settings.") % statement['journal_id'].name) if balance_start_check != statement['balance_start']: statement['coda_note'] = _("The CODA Statement %s Starting Balance (%.2f) does not correspond with the previous Closing Balance (%.2f) in journal %s!") % (statement['description'] + ' #' + statement['paperSeqNumber'], statement['balance_start'], balance_start_check, statement['journal_id'].name) + if not(statement.get('period_id')): + raise osv.except_osv(_('Error') + ' R3006', _(' No transactions or no period in coda file !')) data = { 'name': statement['paperSeqNumber'], 'date': statement['date'], From 1f5e98aa591855da34b2b982cb459b629b2d50d6 Mon Sep 17 00:00:00 2001 From: "Mayur Maheshwari (OpenERP)" Date: Fri, 15 Feb 2013 15:34:37 +0530 Subject: [PATCH 014/448] [FIX]stock: added domain and default search to display proper user on proper field [customer, supplier] bzr revid: mma@tinyerp.com-20130215100437-d8ke7al2ef0ma1jb --- addons/stock/stock_view.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml index a559aad9aac..9bf0ae8a55e 100644 --- a/addons/stock/stock_view.xml +++ b/addons/stock/stock_view.xml @@ -908,7 +908,7 @@ - + @@ -1034,7 +1034,7 @@