From f533d6b3595fa22c27747da0c21b5e342a6568b6 Mon Sep 17 00:00:00 2001 From: "nch@tinyerp.com" <> Date: Fri, 18 Sep 2009 15:31:04 +0530 Subject: [PATCH 001/106] [ADD]:unit test in base quality module bzr revid: nch@tinyerp.com-20090918100104-pciqx1ph0irihn8b --- .../base_module_quality/unit_test/__init__.py | 24 ++++ .../unit_test/unit_test.py | 114 ++++++++++++++++++ 2 files changed, 138 insertions(+) create mode 100644 addons/base_module_quality/unit_test/__init__.py create mode 100644 addons/base_module_quality/unit_test/unit_test.py diff --git a/addons/base_module_quality/unit_test/__init__.py b/addons/base_module_quality/unit_test/__init__.py new file mode 100644 index 00000000000..cfc1f614751 --- /dev/null +++ b/addons/base_module_quality/unit_test/__init__.py @@ -0,0 +1,24 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2009 Tiny SPRL (). All Rights Reserved +# $Id$ +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +############################################################################## + + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/base_module_quality/unit_test/unit_test.py b/addons/base_module_quality/unit_test/unit_test.py new file mode 100644 index 00000000000..c5fa5ded76e --- /dev/null +++ b/addons/base_module_quality/unit_test/unit_test.py @@ -0,0 +1,114 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2009 Tiny SPRL (). All Rights Reserved +# $Id$ +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +############################################################################## + +from osv import fields, osv +from tools.translate import _ +import pooler +import os +import unittest +from tools import config +from base_module_quality import base_module_quality + +class quality_test(base_module_quality.abstract_quality_check): + + def __init__(self): + super(quality_test, self).__init__() + self.bool_installed_only = True + self.name = _("Unit Test") + self.note = _(""" +This test checks the Unit Test Cases of the module. Note that 'unit_test/test.py' is needed in module. + +""") + self.min_score = 0 + return None + + def run_test(self, cr, uid, module_path): + self.score = 0.0 + pool = pooler.get_pool(cr.dbname) + module_name = module_path.split('/')[-1] + test_file = config['addons_path'] +'/' + module_name +'/unit_test/test.py' + if not os.path.isfile(test_file): + self.result += _("Module does not have 'unit_test/test.py' file") + return None + module_obj = pool.get('ir.module.module') + module_ids = module_obj.search(cr, uid, [('name', '=', module_name)]) + module = module_obj.browse(cr, uid, module_ids) + if not len(module): + self.result += _("Sorry does not load this module properly") + return None + module = module[0] + if not module.state == "installed": + self.result += _('Module has to be installed before running Unit test') + return None + + test = module.name + '.' + 'unit_test.test' + test_module = __import__(test) + test_file = getattr(test_module, 'unit_test') + test_obj = getattr(test_file, 'test') + self.get_result(test_obj.runTest(cr,uid)) + return None + + def get_result(self, dict_unit): + if not self.error: + return self.format_html_table(data_list=dict_unit) + return "" + + def format_html_table(self, data_list=None): + detail = ''' + ''' + html = '' + + if data_list[0] == True: + self.result = data_list[1] + data = data_list[1].split('... ok') + for case in map(lambda x:x[0].replace('\n',''),map(lambda x: x.split(' ('),data)): + if case.find('Ran') != -1: + case = case[case.index('Ran'):-2] + html += ''%(case) + else: + html += ''%(case) + self.result_details = detail + html + '
Test CasesResult
%sOK
%sOK
' + return True + + detail_lst = [] + cnt = 0 + detail += '''Details''' + data = data_list[1].split("======================================================================") + test = data[0].split('\n') + self.result += '\n'.join(test) + for err in (data_list[0].failures,data_list[0].errors): + for value in err: + detail_lst.append(value[1]) + self.result += value[1] + '\n' + for case in map(lambda x:x.split('...'),test): + if len(case[0]) < 2: + continue + test_name = case[0].split(' (')[0] + html += '%s%s%s'%(test_name,case[1],detail_lst[cnt]) + cnt += 1 + self.result_details = detail + html +'' + return True + + + + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: From a6281eecbfaf74ca58a9b12c2ff12b501fbbc453 Mon Sep 17 00:00:00 2001 From: "nch@tinyerp.com" <> Date: Fri, 18 Sep 2009 15:31:59 +0530 Subject: [PATCH 002/106] [ADD]:Unit Test cases for Sale bzr revid: nch@tinyerp.com-20090918100159-qffibrf0h1mg7l78 --- addons/sale/unit_test/__init__.py | 24 ++++++ addons/sale/unit_test/test.py | 139 ++++++++++++++++++++++++++++++ 2 files changed, 163 insertions(+) create mode 100644 addons/sale/unit_test/__init__.py create mode 100644 addons/sale/unit_test/test.py diff --git a/addons/sale/unit_test/__init__.py b/addons/sale/unit_test/__init__.py new file mode 100644 index 00000000000..8df5ef52e59 --- /dev/null +++ b/addons/sale/unit_test/__init__.py @@ -0,0 +1,24 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2009 Tiny SPRL (). All Rights Reserved +# $Id$ +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +############################################################################## + + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file diff --git a/addons/sale/unit_test/test.py b/addons/sale/unit_test/test.py new file mode 100644 index 00000000000..6567e0e9f6b --- /dev/null +++ b/addons/sale/unit_test/test.py @@ -0,0 +1,139 @@ +import unittest +import pooler +import netsvc +from cStringIO import StringIO +from osv import osv + +cr = None +uid = None +order_id = None + +class sale_order_test_case(unittest.TestCase): + def setUp(self): + try: + self.pool = pooler.get_pool(cr.dbname) + self.sale_order = self.pool.get('sale.order') + except osv.except_osv,e: + self.fail(e.name + e.value) + except Exception,e: + self.fail(e) + + + def tearDown(self): + try: + self.pool = None + self.sale_order = None + except osv.except_osv,e: + self.fail(e.name + e.value) + except Exception,e: + self.fail(e) + + + def test_1_Create(self): + + try: + global order_id + model_obj = self.pool.get('ir.model.data') + + ### SALE ORDER + shop = model_obj._get_id(cr, uid, 'sale', 'shop') + shop_id = model_obj.browse(cr, uid, shop).res_id + partner = model_obj._get_id(cr,uid, 'base', 'res_partner_9') + partner_id = model_obj.browse(cr, uid, partner,).res_id + partner_invoice = model_obj._get_id(cr, uid, 'base', 'res_partner_address_9') + partner_invoice_id = model_obj.browse(cr, uid, partner_invoice).res_id + pricelist_id = self.pool.get('res.partner').browse(cr, uid,partner_id).property_product_pricelist.id + order_id = self.sale_order.create(cr,uid, + {'shop_id':shop_id,'pricelist_id':pricelist_id,'user_id':uid, + 'partner_id':partner_id,'partner_invoice_id':partner_invoice_id, + 'partner_shipping_id':partner_invoice_id,'partner_order_id':partner_invoice_id}) + ### SALE ORDER LINE + product = model_obj._get_id(cr,uid, 'product', 'product_product_pc2') + product_id = model_obj.browse(cr, uid, product).res_id + product_uom = model_obj._get_id(cr, uid, 'product', 'product_uom_unit') + product_uom_id = model_obj.browse(cr, uid, product_uom).res_id + self.pool.get('sale.order.line').create(cr,uid, + {'order_id':order_id,'name':'[PC2] Computer assembled on demand', + 'product_id':product_id,'product_uom':product_uom_id,'price_unit':600, + 'type':'make_to_order'}) + except osv.except_osv,e: + self.fail(e.name + e.value) + except Exception,e: + self.fail(e) + + def test_2_ConfirmOrder(self): + try: + self.failUnless(order_id,"No Sale Order Created !") + wf_service = netsvc.LocalService("workflow") + res = wf_service.trg_validate(uid, 'sale.order',order_id, 'order_confirm', cr) + except osv.except_osv,e: + self.fail(e.name + e.value) + except Exception,e: + self.fail(e) + + def test_3_CreateInvoice(self): + + try: + self.failUnless(order_id,"No Sale Order Created !") + wf_service = netsvc.LocalService("workflow") + res = wf_service.trg_validate(uid, 'sale.order',order_id, 'manual_invoice', cr) + except osv.except_osv,e: + self.fail(e.name + e.value) + except Exception,e: + self.fail(e) + + def test_4_CancelPicking(self): + try: + self.failUnless(order_id,"No Sale Order Created !") + picking_obj = self.pool.get('stock.picking') + pickings = picking_obj.search(cr,uid,[('sale_id','=',order_id)]) + picking_obj.action_cancel(cr, uid, pickings) + except osv.except_osv,e: + self.fail(e.name + e.value) + except Exception,e: + self.fail(e) + + def test_5_PrintOrder(self): + try: + self.failUnless(order_id,"No Sale Order Created !") + report_service = netsvc.LocalService("report") + model_obj = self.pool.get('ir.model.data') + passwd = self.pool.get('res.users').browse(cr,uid,uid).password + report = model_obj._get_id(cr, uid, 'sale', 'report_sale_order') + report_id = model_obj.browse(cr, uid, report).res_id + report_service.report(cr.dbname, uid, passwd, 'sale.order', [order_id]) + except osv.except_osv,e: + self.fail(e.name + e.value) + except Exception,e: + self.fail(e) + + def test_6_CancelOrder(self): + try: + self.failUnless(order_id,"No Sale Order Created !") + self.sale_order.action_cancel(cr, uid, [order_id]) + except osv.except_osv,e: + self.fail(e.name + e.value) + except Exception,e: + self.fail(e) + + def test_7_Unlink(self): + try: + self.failUnless(order_id,"No Sale Order Created !") + self.sale_order.unlink(cr, uid, [order_id]) + except osv.except_osv,e: + self.fail(e.name + e.value) + except Exception,e: + self.fail(e) + + +def runTest(cursor=None, user=None): + global cr + global uid + cr = cursor + uid = user + out = StringIO() + suite = unittest.TestLoader().loadTestsFromTestCase(sale_order_test_case) + res = unittest.TextTestRunner(stream=out,verbosity=2).run(suite) + if res.wasSuccessful(): + return (True,out.getvalue()) + return (res,out.getvalue()) From 5dae251b63db34a2816d5937c9d25792f71b20ef Mon Sep 17 00:00:00 2001 From: "nch@tinyerp.com" <> Date: Wed, 7 Oct 2009 12:14:08 +0530 Subject: [PATCH 003/106] [IMP]:Added GNU licence bzr revid: nch@tinyerp.com-20091007064408-py888svmfc2yfb6n --- addons/sale/unit_test/test.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/addons/sale/unit_test/test.py b/addons/sale/unit_test/test.py index 6567e0e9f6b..263fcf7e397 100644 --- a/addons/sale/unit_test/test.py +++ b/addons/sale/unit_test/test.py @@ -1,3 +1,24 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2009 Tiny SPRL (). All Rights Reserved +# $Id$ +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +############################################################################## import unittest import pooler import netsvc @@ -137,3 +158,5 @@ def runTest(cursor=None, user=None): if res.wasSuccessful(): return (True,out.getvalue()) return (res,out.getvalue()) + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: From c0b1b09a9f2cbc81e9a4bda7140597f55d1ec637 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Sat, 28 Nov 2009 13:23:37 +0100 Subject: [PATCH 004/106] [FIX] Project : remove unused import causing a DeprecationWarning under Python 2.6 bzr revid: xmo@tinyerp.com-20091128122337-mmhl1p149gg4mg59 --- addons/project/report/gantt_report.py | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/project/report/gantt_report.py b/addons/project/report/gantt_report.py index 62ab354ae42..feece1d2a70 100644 --- a/addons/project/report/gantt_report.py +++ b/addons/project/report/gantt_report.py @@ -20,7 +20,6 @@ # ############################################################################## -from sets import Set from mx.DateTime import * import StringIO From 5eb3b61c14ecc99562269d722d7e748129fe4608 Mon Sep 17 00:00:00 2001 From: "VRA(OpenERP)" <> Date: Wed, 2 Dec 2009 12:45:24 +0530 Subject: [PATCH 005/106] [FIX] Stock : Removal of picking shuold affect product stock lp bug: https://launchpad.net/bugs/491241 fixed bzr revid: jvo@tinyerp.com-20091202071524-csct9ktra6u9ytgw --- addons/stock/stock.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/addons/stock/stock.py b/addons/stock/stock.py index b6f33aaf908..e8fcd34eb82 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -784,6 +784,17 @@ class stock_picking(osv.osv): if move.state not in ('cancel',): return False return True + + def unlink(self, cr, uid, ids, context=None): + for pick in self.browse(cr, uid, ids, context=context): + if pick.state in ['done','cancel']: + raise osv.except_osv(_('Error'), _('You cannot remove the picking which is in %s state !')%(pick.state,)) + elif pick.state in ['confirmed','assigned']: + ids2 = [move.id for move in pick.move_lines] + self.pool.get('stock.move').action_cancel(cr, uid, ids2, context) + else: + continue + return super(stock_picking, self).unlink(cr, uid, ids, context=context) stock_picking() From 2365847b50a4128217719e0431eb3ced3b7892d6 Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" Date: Wed, 2 Dec 2009 14:47:10 +0530 Subject: [PATCH 006/106] [FIX] Purchase : MOQ-pricing problem corrected lp bug: https://launchpad.net/bugs/487641 fixed bzr revid: jvo@tinyerp.com-20091202091710-59p7ojxsyvcfgr6v --- addons/purchase/purchase.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/addons/purchase/purchase.py b/addons/purchase/purchase.py index 46a17ea5ada..34f3a0d0692 100644 --- a/addons/purchase/purchase.py +++ b/addons/purchase/purchase.py @@ -480,12 +480,7 @@ class purchase_order_line(osv.osv): uom = prod_uom_po if not date_order: date_order = time.strftime('%Y-%m-%d') - price = self.pool.get('product.pricelist').price_get(cr,uid,[pricelist], - product, qty or 1.0, partner_id, { - 'uom': uom, - 'date': date_order, - })[pricelist] - + qty = qty or 1.0 seller_delay = 0 for s in prod.seller_ids: @@ -495,6 +490,11 @@ class purchase_order_line(osv.osv): if qty < temp_qty: # If the supplier quantity is greater than entered from user, set minimal. qty = temp_qty + price = self.pool.get('product.pricelist').price_get(cr,uid,[pricelist], + product, qty or 1.0, partner_id, { + 'uom': uom, + 'date': date_order, + })[pricelist] dt = (DateTime.now() + DateTime.RelativeDateTime(days=seller_delay or 0.0)).strftime('%Y-%m-%d %H:%M:%S') prod_name = prod.partner_ref From 2eb649ebc29d0e5d76cd7e0ab86dece72c80d66d Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" Date: Wed, 2 Dec 2009 17:38:08 +0530 Subject: [PATCH 007/106] [FIX] Encoding error corrected for client_action(ir_values-tree view) lp bug: https://launchpad.net/bugs/435933 fixed bzr revid: jvo@tinyerp.com-20091202120808-xdqj1iie1wvqd2zw --- bin/addons/base/ir/ir_values.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/addons/base/ir/ir_values.py b/bin/addons/base/ir/ir_values.py index b2eb1aa24cd..6641759f1eb 100644 --- a/bin/addons/base/ir/ir_values.py +++ b/bin/addons/base/ir/ir_values.py @@ -24,6 +24,7 @@ from osv import osv,fields from osv.orm import except_orm import pickle from tools.translate import _ +import tools class ir_values(osv.osv): _name = 'ir.values' @@ -235,7 +236,7 @@ class ir_values(osv.osv): #ir_del(cr, uid, x[0]) return False else: - datas = pickle.loads(str(x[2])) + datas = pickle.loads(tools.ustr(x[2])) if meta: meta2 = pickle.loads(x[4]) return (x[0],x[1],datas,meta2) From 6f363d43e9ec17fa77bee0734436ffb220370575 Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" Date: Thu, 3 Dec 2009 12:34:21 +0530 Subject: [PATCH 008/106] [FIX] Pickling issue solved with ir_values (get method) lp bug: https://launchpad.net/bugs/491462 fixed bzr revid: jvo@tinyerp.com-20091203070421-0jt19rjqcqto7dlh --- bin/addons/base/ir/ir_values.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/addons/base/ir/ir_values.py b/bin/addons/base/ir/ir_values.py index 6641759f1eb..585b9398f10 100644 --- a/bin/addons/base/ir/ir_values.py +++ b/bin/addons/base/ir/ir_values.py @@ -24,7 +24,6 @@ from osv import osv,fields from osv.orm import except_orm import pickle from tools.translate import _ -import tools class ir_values(osv.osv): _name = 'ir.values' @@ -236,7 +235,7 @@ class ir_values(osv.osv): #ir_del(cr, uid, x[0]) return False else: - datas = pickle.loads(tools.ustr(x[2])) + datas = pickle.loads(str(x[2].encode('utf-8'))) if meta: meta2 = pickle.loads(x[4]) return (x[0],x[1],datas,meta2) From 8d26b4be3e55850b4d496c8228b7cf8de68937b5 Mon Sep 17 00:00:00 2001 From: "mra (Open ERP)" Date: Thu, 3 Dec 2009 14:41:03 +0530 Subject: [PATCH 009/106] [FIX] : translation: modify msg id where it contains python code in translations po files bzr revid: mra@tinyerp.com-20091203091103-z6mwz3uai04wy957 --- bin/addons/base/i18n/ar_AR.po | 58 ++++------------------------------- bin/addons/base/i18n/base.pot | 58 ++++------------------------------- bin/addons/base/i18n/bg_BG.po | 58 ++++------------------------------- bin/addons/base/i18n/bs_BS.po | 58 ++++------------------------------- bin/addons/base/i18n/ca_ES.po | 58 ++++------------------------------- bin/addons/base/i18n/cs_CZ.po | 58 ++++------------------------------- bin/addons/base/i18n/de_DE.po | 58 ++++------------------------------- bin/addons/base/i18n/es_AR.po | 58 ++++------------------------------- bin/addons/base/i18n/es_ES.po | 58 ++++------------------------------- bin/addons/base/i18n/et_EE.po | 58 ++++------------------------------- bin/addons/base/i18n/fi_FI.po | 58 ++++------------------------------- bin/addons/base/i18n/fr_FR.po | 58 ++++------------------------------- bin/addons/base/i18n/hr_HR.po | 58 ++++------------------------------- bin/addons/base/i18n/hu_HU.po | 58 ++++------------------------------- bin/addons/base/i18n/id_ID.po | 58 ++++------------------------------- bin/addons/base/i18n/it_IT.po | 58 ++++------------------------------- bin/addons/base/i18n/lt_LT.po | 58 ++++------------------------------- bin/addons/base/i18n/nl_BE.po | 58 ++++------------------------------- bin/addons/base/i18n/nl_NL.po | 58 ++++------------------------------- bin/addons/base/i18n/pl_PL.po | 58 ++++------------------------------- bin/addons/base/i18n/pt_BR.po | 58 ++++------------------------------- bin/addons/base/i18n/pt_PT.po | 58 ++++------------------------------- bin/addons/base/i18n/ro_RO.po | 58 ++++------------------------------- bin/addons/base/i18n/ru_RU.po | 58 ++++------------------------------- bin/addons/base/i18n/sl_SL.po | 58 ++++------------------------------- bin/addons/base/i18n/sq_AL.po | 58 ++++------------------------------- bin/addons/base/i18n/sv_SE.po | 58 ++++------------------------------- bin/addons/base/i18n/tr_TR.po | 58 ++++------------------------------- bin/addons/base/i18n/uk_UA.po | 58 ++++------------------------------- bin/addons/base/i18n/vi_VN.po | 58 ++++------------------------------- bin/addons/base/i18n/zh_CN.po | 58 ++++------------------------------- bin/addons/base/i18n/zh_TW.po | 58 ++++------------------------------- 32 files changed, 192 insertions(+), 1664 deletions(-) diff --git a/bin/addons/base/i18n/ar_AR.po b/bin/addons/base/i18n/ar_AR.po index 388e147bde6..b82a872aa91 100644 --- a/bin/addons/base/i18n/ar_AR.po +++ b/bin/addons/base/i18n/ar_AR.po @@ -365,16 +365,7 @@ msgstr "" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1301,14 +1292,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1363,21 +1347,7 @@ msgstr "" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7738,13 +7708,7 @@ msgstr "" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10352,12 +10316,7 @@ msgstr "" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11280,12 +11239,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/base.pot b/bin/addons/base/i18n/base.pot index 9c64334abbc..451aacfc900 100644 --- a/bin/addons/base/i18n/base.pot +++ b/bin/addons/base/i18n/base.pot @@ -365,16 +365,7 @@ msgstr "" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1301,14 +1292,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1363,21 +1347,7 @@ msgstr "" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7738,13 +7708,7 @@ msgstr "" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10352,12 +10316,7 @@ msgstr "" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11280,12 +11239,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/bg_BG.po b/bin/addons/base/i18n/bg_BG.po index c5c85f8fee3..31e68877577 100644 --- a/bin/addons/base/i18n/bg_BG.po +++ b/bin/addons/base/i18n/bg_BG.po @@ -365,16 +365,7 @@ msgstr "Име на поле" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1302,14 +1293,7 @@ msgstr "ir.exports.line" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1364,21 +1348,7 @@ msgstr "STOCK_COPY" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7740,13 +7710,7 @@ msgstr "Действия на прозореца" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10354,12 +10318,7 @@ msgstr "Телефон" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11282,12 +11241,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/bs_BS.po b/bin/addons/base/i18n/bs_BS.po index 93a32db691e..0004725a5ce 100644 --- a/bin/addons/base/i18n/bs_BS.po +++ b/bin/addons/base/i18n/bs_BS.po @@ -365,16 +365,7 @@ msgstr "Naziv polja" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1302,14 +1293,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1364,21 +1348,7 @@ msgstr "" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7739,13 +7709,7 @@ msgstr "" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10353,12 +10317,7 @@ msgstr "" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11281,12 +11240,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/ca_ES.po b/bin/addons/base/i18n/ca_ES.po index 97030eeb51b..8bd311ef3f2 100644 --- a/bin/addons/base/i18n/ca_ES.po +++ b/bin/addons/base/i18n/ca_ES.po @@ -370,16 +370,7 @@ msgstr "Nom camp" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1307,14 +1298,7 @@ msgstr "ir.export.línia" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1369,21 +1353,7 @@ msgstr "STOCK_COPY" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7749,13 +7719,7 @@ msgstr "Accions de finestra" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10366,12 +10330,7 @@ msgstr "Telèfon" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11294,12 +11253,7 @@ msgstr "Utilitzat per seleccionar automàticament l'adreça correcta segons e #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/cs_CZ.po b/bin/addons/base/i18n/cs_CZ.po index 15a3571fa79..b3b5b36c503 100644 --- a/bin/addons/base/i18n/cs_CZ.po +++ b/bin/addons/base/i18n/cs_CZ.po @@ -365,16 +365,7 @@ msgstr "Název pole" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1301,14 +1292,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1363,21 +1347,7 @@ msgstr "" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7738,13 +7708,7 @@ msgstr "" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10352,12 +10316,7 @@ msgstr "" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11280,12 +11239,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/de_DE.po b/bin/addons/base/i18n/de_DE.po index 398a2fd6e2b..fecf7841a24 100644 --- a/bin/addons/base/i18n/de_DE.po +++ b/bin/addons/base/i18n/de_DE.po @@ -369,16 +369,7 @@ msgstr "Bezeichnung Feld" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1306,14 +1297,7 @@ msgstr "ir.exports.line" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1368,21 +1352,7 @@ msgstr "STOCK_COPY" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7749,13 +7719,7 @@ msgstr "Schließe/Öffne Fenster..." #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10367,12 +10331,7 @@ msgstr "Tel" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11295,12 +11254,7 @@ msgstr "Wird angewendet um automatisch die eingestellten Zuordnungen wählen zu #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/es_AR.po b/bin/addons/base/i18n/es_AR.po index 887595f74c8..37ebe6ea68e 100644 --- a/bin/addons/base/i18n/es_AR.po +++ b/bin/addons/base/i18n/es_AR.po @@ -365,16 +365,7 @@ msgstr "Nombre del Campo" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1301,14 +1292,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1363,21 +1347,7 @@ msgstr "" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7738,13 +7708,7 @@ msgstr "" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10352,12 +10316,7 @@ msgstr "" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11280,12 +11239,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/es_ES.po b/bin/addons/base/i18n/es_ES.po index 7c22db16012..56436571789 100644 --- a/bin/addons/base/i18n/es_ES.po +++ b/bin/addons/base/i18n/es_ES.po @@ -370,16 +370,7 @@ msgstr "Nombre campo" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1307,14 +1298,7 @@ msgstr "ir.export.linea" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1369,21 +1353,7 @@ msgstr "STOCK_COPY" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7749,13 +7719,7 @@ msgstr "Acciones de ventana" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10366,12 +10330,7 @@ msgstr "Teléfono" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11294,12 +11253,7 @@ msgstr "Utilizado para seleccionar automáticamente la dirección correcta se #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/et_EE.po b/bin/addons/base/i18n/et_EE.po index 93562f1377e..75787c5fb6f 100644 --- a/bin/addons/base/i18n/et_EE.po +++ b/bin/addons/base/i18n/et_EE.po @@ -369,16 +369,7 @@ msgstr "Välja nimi" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1306,14 +1297,7 @@ msgstr "ir.exports.line" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1368,21 +1352,7 @@ msgstr "STOCK_COPY" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7748,13 +7718,7 @@ msgstr "Akna toimingud" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10365,12 +10329,7 @@ msgstr "Telefon" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11293,12 +11252,7 @@ msgstr "Kasutatakse, et valida automaatselt õige aadress vastavalt müügi- ja #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/fi_FI.po b/bin/addons/base/i18n/fi_FI.po index 0a101c2d29d..0f176e40787 100644 --- a/bin/addons/base/i18n/fi_FI.po +++ b/bin/addons/base/i18n/fi_FI.po @@ -369,16 +369,7 @@ msgstr "Kentän nimi" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1306,14 +1297,7 @@ msgstr "ir.exports.line" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1368,21 +1352,7 @@ msgstr "STOCK_COPY" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7748,13 +7718,7 @@ msgstr "Ikkunatoiminnot" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10365,12 +10329,7 @@ msgstr "Puhelin" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11297,12 +11256,7 @@ msgstr "Käytetään oikean osoitteen automaattiseen valintaan asiayhteydestä r #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/fr_FR.po b/bin/addons/base/i18n/fr_FR.po index 6c489f2901d..49bc89970eb 100644 --- a/bin/addons/base/i18n/fr_FR.po +++ b/bin/addons/base/i18n/fr_FR.po @@ -369,16 +369,7 @@ msgstr "Nom du champ" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1306,14 +1297,7 @@ msgstr "ir.exports.line" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1368,21 +1352,7 @@ msgstr "STOCK_COPY" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7748,13 +7718,7 @@ msgstr "Actions de la fênetre" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10365,12 +10329,7 @@ msgstr "Numéro de téléphone" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11293,12 +11252,7 @@ msgstr "Utiliser pour sélectionner automatiquement la bonne adresse en regards #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/hr_HR.po b/bin/addons/base/i18n/hr_HR.po index 612b783b32b..b896e3900ae 100644 --- a/bin/addons/base/i18n/hr_HR.po +++ b/bin/addons/base/i18n/hr_HR.po @@ -365,16 +365,7 @@ msgstr "" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1301,14 +1292,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1363,21 +1347,7 @@ msgstr "" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7738,13 +7708,7 @@ msgstr "" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10352,12 +10316,7 @@ msgstr "" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11280,12 +11239,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/hu_HU.po b/bin/addons/base/i18n/hu_HU.po index 7f4a5b34a7b..cd7003e2861 100644 --- a/bin/addons/base/i18n/hu_HU.po +++ b/bin/addons/base/i18n/hu_HU.po @@ -365,16 +365,7 @@ msgstr "" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1301,14 +1292,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1363,21 +1347,7 @@ msgstr "" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7738,13 +7708,7 @@ msgstr "" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10352,12 +10316,7 @@ msgstr "" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11280,12 +11239,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/id_ID.po b/bin/addons/base/i18n/id_ID.po index 352d8115c21..4fb4e498ec1 100644 --- a/bin/addons/base/i18n/id_ID.po +++ b/bin/addons/base/i18n/id_ID.po @@ -365,16 +365,7 @@ msgstr "" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1301,14 +1292,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1363,21 +1347,7 @@ msgstr "" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7738,13 +7708,7 @@ msgstr "" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10352,12 +10316,7 @@ msgstr "" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11280,12 +11239,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/it_IT.po b/bin/addons/base/i18n/it_IT.po index 77527c76ef1..044be801603 100644 --- a/bin/addons/base/i18n/it_IT.po +++ b/bin/addons/base/i18n/it_IT.po @@ -369,16 +369,7 @@ msgstr "Nome Campo" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1306,14 +1297,7 @@ msgstr "ir.exports.line" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1368,21 +1352,7 @@ msgstr "STOCK_COPY" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7744,13 +7714,7 @@ msgstr "Azioni Finestra" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10361,12 +10325,7 @@ msgstr "Telefono" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11289,12 +11248,7 @@ msgstr "Utilizzato per selezionare automaticamente l'indirizzo corretto in base #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/lt_LT.po b/bin/addons/base/i18n/lt_LT.po index 8b7b9faeefb..d12a8679788 100644 --- a/bin/addons/base/i18n/lt_LT.po +++ b/bin/addons/base/i18n/lt_LT.po @@ -365,16 +365,7 @@ msgstr "" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1301,14 +1292,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1363,21 +1347,7 @@ msgstr "" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7738,13 +7708,7 @@ msgstr "" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10352,12 +10316,7 @@ msgstr "" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11280,12 +11239,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/nl_BE.po b/bin/addons/base/i18n/nl_BE.po index 25a435134b0..ac5a536e2b3 100644 --- a/bin/addons/base/i18n/nl_BE.po +++ b/bin/addons/base/i18n/nl_BE.po @@ -370,16 +370,7 @@ msgstr "" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1306,14 +1297,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1368,21 +1352,7 @@ msgstr "" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7743,13 +7713,7 @@ msgstr "" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10357,12 +10321,7 @@ msgstr "" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11285,12 +11244,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/nl_NL.po b/bin/addons/base/i18n/nl_NL.po index 54ab21aabb6..41146fddba2 100644 --- a/bin/addons/base/i18n/nl_NL.po +++ b/bin/addons/base/i18n/nl_NL.po @@ -370,16 +370,7 @@ msgstr "Veldnaam" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1307,14 +1298,7 @@ msgstr "ir.exports.line" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1369,21 +1353,7 @@ msgstr "STOCK_COPY" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7749,13 +7719,7 @@ msgstr "Venster Acties" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10366,12 +10330,7 @@ msgstr "Telefoon" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11294,12 +11253,7 @@ msgstr "Wordt gebruikt om automatisch het juiste adres te kiezen afhankelijk van #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/pl_PL.po b/bin/addons/base/i18n/pl_PL.po index d4723c0c34d..1aab4716da0 100644 --- a/bin/addons/base/i18n/pl_PL.po +++ b/bin/addons/base/i18n/pl_PL.po @@ -365,16 +365,7 @@ msgstr "" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1301,14 +1292,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1363,21 +1347,7 @@ msgstr "" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7738,13 +7708,7 @@ msgstr "" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10352,12 +10316,7 @@ msgstr "" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11280,12 +11239,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/pt_BR.po b/bin/addons/base/i18n/pt_BR.po index bde721794e7..820750bcfde 100644 --- a/bin/addons/base/i18n/pt_BR.po +++ b/bin/addons/base/i18n/pt_BR.po @@ -369,16 +369,7 @@ msgstr "Nome do campo" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1306,14 +1297,7 @@ msgstr "ir.exports.line" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1368,21 +1352,7 @@ msgstr "STOCK_COPY" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7744,13 +7714,7 @@ msgstr "Ações da janela" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10361,12 +10325,7 @@ msgstr "Telefone" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11289,12 +11248,7 @@ msgstr "Usado para selecionar automaticamento o endereço certo de acordo com o #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/pt_PT.po b/bin/addons/base/i18n/pt_PT.po index 3c674dc7426..813e8c2ebbf 100644 --- a/bin/addons/base/i18n/pt_PT.po +++ b/bin/addons/base/i18n/pt_PT.po @@ -369,16 +369,7 @@ msgstr "Nome do campo" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1306,14 +1297,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1368,21 +1352,7 @@ msgstr "" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7744,13 +7714,7 @@ msgstr "Acções de janelas" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10361,12 +10325,7 @@ msgstr "Telefone" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11289,12 +11248,7 @@ msgstr "Usado para seleccionar automaticamente o endereço correcto de acordo co #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/ro_RO.po b/bin/addons/base/i18n/ro_RO.po index 8cd79e886e1..f3faf8f91b7 100644 --- a/bin/addons/base/i18n/ro_RO.po +++ b/bin/addons/base/i18n/ro_RO.po @@ -365,16 +365,7 @@ msgstr "Nume cimp" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1301,14 +1292,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1363,21 +1347,7 @@ msgstr "" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7738,13 +7708,7 @@ msgstr "" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10352,12 +10316,7 @@ msgstr "" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11280,12 +11239,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/ru_RU.po b/bin/addons/base/i18n/ru_RU.po index 47339b55625..b045a08804b 100644 --- a/bin/addons/base/i18n/ru_RU.po +++ b/bin/addons/base/i18n/ru_RU.po @@ -365,16 +365,7 @@ msgstr "Название поля" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1302,14 +1293,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1364,21 +1348,7 @@ msgstr "STOCK_COPY" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7740,13 +7710,7 @@ msgstr "" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10354,12 +10318,7 @@ msgstr "Телефон" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11282,12 +11241,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/sl_SL.po b/bin/addons/base/i18n/sl_SL.po index f7f953267ec..d8af48b75b1 100644 --- a/bin/addons/base/i18n/sl_SL.po +++ b/bin/addons/base/i18n/sl_SL.po @@ -365,16 +365,7 @@ msgstr "Naziv polja" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1302,14 +1293,7 @@ msgstr "ir.exports.line" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1364,21 +1348,7 @@ msgstr "STOCK_COPY" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7740,13 +7710,7 @@ msgstr "Okenske akcije" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10355,12 +10319,7 @@ msgstr "Telefon" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11283,12 +11242,7 @@ msgstr "Običajno se samodejno izbere pravi naslov glede na kontest prodajnih in #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/sq_AL.po b/bin/addons/base/i18n/sq_AL.po index 27d212ca8ca..02499f452a8 100644 --- a/bin/addons/base/i18n/sq_AL.po +++ b/bin/addons/base/i18n/sq_AL.po @@ -365,16 +365,7 @@ msgstr "" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1301,14 +1292,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1363,21 +1347,7 @@ msgstr "" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7738,13 +7708,7 @@ msgstr "" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10352,12 +10316,7 @@ msgstr "" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11280,12 +11239,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/sv_SE.po b/bin/addons/base/i18n/sv_SE.po index bf8873b1c6e..86dd1458bc4 100644 --- a/bin/addons/base/i18n/sv_SE.po +++ b/bin/addons/base/i18n/sv_SE.po @@ -365,16 +365,7 @@ msgstr "Fältnamn" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1301,14 +1292,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1363,21 +1347,7 @@ msgstr "" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7738,13 +7708,7 @@ msgstr "" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10352,12 +10316,7 @@ msgstr "" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11280,12 +11239,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/tr_TR.po b/bin/addons/base/i18n/tr_TR.po index f1c2b1f7686..6ba9ff04ef8 100644 --- a/bin/addons/base/i18n/tr_TR.po +++ b/bin/addons/base/i18n/tr_TR.po @@ -365,16 +365,7 @@ msgstr "Alan Adı" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1301,14 +1292,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1363,21 +1347,7 @@ msgstr "" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7738,13 +7708,7 @@ msgstr "" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10352,12 +10316,7 @@ msgstr "" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11280,12 +11239,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/uk_UA.po b/bin/addons/base/i18n/uk_UA.po index 8d829b19b77..821d2aee32f 100644 --- a/bin/addons/base/i18n/uk_UA.po +++ b/bin/addons/base/i18n/uk_UA.po @@ -369,16 +369,7 @@ msgstr "Назва поля" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1306,14 +1297,7 @@ msgstr "ir.exports.line" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1368,21 +1352,7 @@ msgstr "STOCK_COPY" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7744,13 +7714,7 @@ msgstr "Дії вікна" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10359,12 +10323,7 @@ msgstr "Телефон" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11287,12 +11246,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/vi_VN.po b/bin/addons/base/i18n/vi_VN.po index 217a8cee7ec..6862928e572 100644 --- a/bin/addons/base/i18n/vi_VN.po +++ b/bin/addons/base/i18n/vi_VN.po @@ -365,16 +365,7 @@ msgstr "" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1301,14 +1292,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1363,21 +1347,7 @@ msgstr "" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7738,13 +7708,7 @@ msgstr "" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10352,12 +10316,7 @@ msgstr "" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11280,12 +11239,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/zh_CN.po b/bin/addons/base/i18n/zh_CN.po index 9f2464e4694..c7c62b90563 100644 --- a/bin/addons/base/i18n/zh_CN.po +++ b/bin/addons/base/i18n/zh_CN.po @@ -365,16 +365,7 @@ msgstr "名称字段" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1301,14 +1292,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1363,21 +1347,7 @@ msgstr "" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7738,13 +7708,7 @@ msgstr "窗口动作" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10352,12 +10316,7 @@ msgstr "" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11280,12 +11239,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base diff --git a/bin/addons/base/i18n/zh_TW.po b/bin/addons/base/i18n/zh_TW.po index 229dfde1389..15270f8e5e7 100644 --- a/bin/addons/base/i18n/zh_TW.po +++ b/bin/addons/base/i18n/zh_TW.po @@ -365,16 +365,7 @@ msgstr "名称字段" #. module: base #: code:addons/addons/purchase/purchase.py:0 #, python-format -msgid "Cannot delete Purchase Order(s) which are in %s State!' % s['state']))\n" -" return super(purchase_order, self).unlink(cr, uid, unlink_ids, context=context)\n" -"\n" -" def button_dummy(self, cr, uid, ids, context={}):\n" -" return True\n" -"\n" -" def onchange_dest_address_id(self, cr, uid, ids, adr_id):\n" -" if not adr_id:\n" -" return {}\n" -" part_id = self.pool.get('res.partner.address" +msgid "Cannot delete Purchase Order(s) which are in %s State!" msgstr "" #. module: base @@ -1301,14 +1292,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Production Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def copy(self, cr, uid, id, default=None,context=None):\n" -" if not default:\n" -" default = {}\n" -" default.update({\n" -" 'name': self.pool.get('ir.sequence" +msgid "Cannot delete Production Order(s) which are in %s State!" msgstr "" #. module: base @@ -1363,21 +1347,7 @@ msgstr "" #. module: base #: code:addons/addons/base/ir/ir_model.py:0 #, python-format -msgid "Model %s Does not Exist !\" % vals['relation']))\n" -" \n" -" if self.pool.get(vals['model']):\n" -" self.pool.get(vals['model']).__init__(self.pool, cr)\n" -" self.pool.get(vals['model'])._auto_init(cr, {})\n" -" \n" -" return res\n" -"ir_model_fields()\n" -"\n" -"class ir_model_access(osv.osv):\n" -" _name = 'ir.model.access'\n" -" _columns = {\n" -" 'name': fields.char('Name', size=64, required=True),\n" -" 'model_id': fields.many2one('ir.model', 'Object', required=True),\n" -" 'group_id': fields.many2one('res.groups', 'Group" +msgid "Model %s Does not Exist !" msgstr "" #. module: base @@ -7738,13 +7708,7 @@ msgstr "" #. module: base #: code:addons/addons/account_analytic_plans/wizard/wizard_crossovered_analytic.py:0 #, python-format -msgid "There are no Analytic lines related to Account %s' % name))\n" -" return {}\n" -"\n" -" states = {\n" -" 'init': {\n" -" 'actions': [],\n" -" 'result': {'type':'form', 'arch':form, 'fields':fields, 'state':[('end','Cancel" +msgid "There are no Analytic lines related to Account %s" msgstr "" #. module: base @@ -10352,12 +10316,7 @@ msgstr "" #. module: base #: code:addons/addons/account/account.py:0 #, python-format -msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies.\"\"\" % (line.account_id.code, line.account_id.name)))\n" -"\n" -" if abs(amount) < 0.0001:\n" -" if not len(line_draft_ids):\n" -" continue\n" -" self.pool.get('account.move.line" +msgid "\"\"Couldn't create move with currency different from the secondary currency of the account \"%s - %s\". Clear the secondary currency field of the account definition if you want to accept all currencies." msgstr "" #. module: base @@ -11280,12 +11239,7 @@ msgstr "" #. module: base #: code:addons/addons/mrp/mrp.py:0 #, python-format -msgid "Cannot delete Procurement Order(s) which are in %s State!' % s['state']))\n" -" return osv.osv.unlink(self, cr, uid, unlink_ids, context=context)\n" -"\n" -" def onchange_product_id(self, cr, uid, ids, product_id, context={}):\n" -" if product_id:\n" -" w=self.pool.get('product.product" +msgid "Cannot delete Procurement Order(s) which are in %s State!" msgstr "" #. module: base From 160b545067b1fd15bbd808f9142a28a43ab8f2ce Mon Sep 17 00:00:00 2001 From: "mra (Open ERP)" Date: Thu, 3 Dec 2009 17:39:14 +0530 Subject: [PATCH 010/106] [FIX] Translation: Error parsing .po files when application puts comments in a single line lp bug: https://launchpad.net/bugs/491365 fixed bzr revid: mra@tinyerp.com-20091203120914-cx2kv7gk7zg65248 --- bin/tools/translate.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/tools/translate.py b/bin/tools/translate.py index ca833dfee6e..e41a5d99217 100644 --- a/bin/tools/translate.py +++ b/bin/tools/translate.py @@ -188,7 +188,12 @@ class TinyPoFile(object): raise StopIteration() line = self.lines.pop(0).strip() if line.startswith('#:'): - tmp_tnrs.append( line[2:].strip().split(':') ) + for item in line[2:].strip().split(' '): + value = item.split(':') + if len(value) == 3: + if value[2].endswith(','): + value[2] = value[2][:-1] + tmp_tnrs.append( value ) if line.startswith('#'): line = None From a04aba460dee881901a04a304eec2b24d029ce02 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Thu, 3 Dec 2009 13:59:08 +0100 Subject: [PATCH 011/106] [IMP] add option to disable the database listing bzr revid: chs@tinyerp.com-20091203125908-98rwtrslkzes2lxq --- bin/service/web_services.py | 3 +++ bin/tools/config.py | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bin/service/web_services.py b/bin/service/web_services.py index ebd7f063d39..5a3c750f3f4 100644 --- a/bin/service/web_services.py +++ b/bin/service/web_services.py @@ -290,6 +290,9 @@ class db(netsvc.Service): return bool(sql_db.db_connect(db_name)) def list(self): + if not tools.config['list_db']: + raise Exception('AccessDenied') + db = sql_db.db_connect('template1') cr = db.cursor() try: diff --git a/bin/tools/config.py b/bin/tools/config.py index 1621a11f9c2..05cf7be1c25 100644 --- a/bin/tools/config.py +++ b/bin/tools/config.py @@ -79,6 +79,7 @@ class configmanager(object): 'assert_exit_level': logging.WARNING, # level above which a failed assert will be raise 'cache_timeout': 100000, 'login_message': False, + 'list_db': True, } hasSSL = check_ssl() @@ -115,6 +116,8 @@ class configmanager(object): parser.add_option("--assert-exit-level", dest='assert_exit_level', type="choice", choices=self._LOGLEVELS.keys(), help="specify the level at which a failed assertion will stop the server. Accepted values: %s" % (self._LOGLEVELS.keys(),)) parser.add_option('--price_accuracy', dest='price_accuracy', default='2', help='specify the price accuracy') + parser.add_option('--no-database-list', action="store_false", dest='list_db', default=True, help="disable the ability to return the list of databases") + if hasSSL: group = optparse.OptionGroup(parser, "SSL Configuration") group.add_option("-S", "--secure", dest="secure", @@ -228,7 +231,7 @@ class configmanager(object): self.options[arg] = getattr(opt, arg) keys = ['language', 'translate_out', 'translate_in', 'debug_mode', - 'stop_after_init', 'without_demo', 'netrpc', 'xmlrpc', 'syslog'] + 'stop_after_init', 'without_demo', 'netrpc', 'xmlrpc', 'syslog', 'list_db'] if hasSSL and not self.options['secure']: keys.append('secure') From 9a3b004ae4cf26691f8eba1edf9f9822ceda5930 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Thu, 3 Dec 2009 14:51:08 +0100 Subject: [PATCH 012/106] [REL] 5.0.7 bzr revid: chs@tinyerp.com-20091203135108-9enz6ke9f35y0u2x --- bin/PKG-INFO | 2 +- bin/release.py | 2 +- doc/Changelog | 332 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 334 insertions(+), 2 deletions(-) diff --git a/bin/PKG-INFO b/bin/PKG-INFO index b13a196bcff..0cc1f0aa9fc 100644 --- a/bin/PKG-INFO +++ b/bin/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: OpenERP -Version: 5.0.4 +Version: 5.0.7 Author: Tiny.be Author-email: fp at tiny be Maintainer: Tiny.be diff --git a/bin/release.py b/bin/release.py index 935d2136460..f53ffa302f1 100644 --- a/bin/release.py +++ b/bin/release.py @@ -22,7 +22,7 @@ ############################################################################## name = 'openerp-server' -version = '5.0.6' +version = '5.0.7' major_version = '5.0' description = 'OpenERP Server' long_desc = '''\ diff --git a/doc/Changelog b/doc/Changelog index e8866ff37b1..85f3271ebc6 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,335 @@ +2009-12-03: 5.0.7 +================= + +Bugfixes (server) +----------------- + + * Not linked to a bug report: + * translation: modify msg id where it contains python code in translations po files + * use env for python shebang rather than hardcoding /usr/bin/python + * base: wrong fr_FR translation for 'Delete Permission' + * db_exist method works as expected + * quality_integration_server : fixed bug on make link + * quality_integration_server: wrong web-service name + * Upgrade could have failed when its a change in name field,added cascade + * Expression : Making search easier for 'child_of'- Recursivity on field used as a Left operand + * solve problem of importing data from csv with constraints available on object + * act_window False domain problem - produce after dom to lxml conversion + * On update, fields with only numeric/int/float could have digits + * On Update, if only the size of column is changed,it should reflect into DB + * quality_integration_server : fixed problem in integration server on translation checking if translation file is changed on base module + * Avoid crash when no args + * Config : wrong calculation if cached_timeout comes from config file + * Expression : domain calculation failes, max. recursion error protected + * recursive calls + * allow to call write without ids on osv_memory objects + * Specify the name of the argument for the context, to avoir a critical bug + * problem Report Engine + * Workflow button desactivation regarding user roles + * Improved Previous bad commit for pagelayout error + * Import : Context of the action/screen passed,taken into consideration while importing + * quality_integration_server: ascci encoding problem in quality html log + * recursive child_of on one2many and many2many + * default context + * https://launchpad.net/bugs/463415 + * https://launchpad.net/bugs/490604 + * RAW reports creation corrected + * https://launchpad.net/bugs/430133 + * Name_search() is having now record limit to be 80 instead of None + * https://launchpad.net/bugs/434341 + * Export : Selection field gets imported by its external name if export is not import compatible + * https://launchpad.net/bugs/489355 + * fields: '_fnct_write' should pass context object to the 'write' method + * https://launchpad.net/bugs/410191 + * Record rule : domain evaluation problem corrected + * https://launchpad.net/bugs/420507 + * Domain was getting failed when trying to work upon M2M,O2M field of object + * https://launchpad.net/bugs/453269 + * Amount to text conversions made better + * https://launchpad.net/bugs/488234 + * connection pool when database password is provided (thanks to Syleam Crew) + * https://launchpad.net/bugs/430805 + * Import made successful when field is O2M and it has relation under that. + * https://launchpad.net/bugs/480301 + * M2M : values filtering on set() + * https://launchpad.net/bugs/462506 + * Priority on fields.function with store dictionary made working. + * https://launchpad.net/bugs/433886 + * Update Module : Float8 to float and numeric to float casting made possible + * https://launchpad.net/bugs/491365 + * Translation: Error parsing .po files when application puts comments in a single line + * https://launchpad.net/bugs/460560 + * Ir_attachment : Context updation corrected on preview + * https://launchpad.net/bugs/356628 + * allow related fields to point to one2many and many2many fields + * https://launchpad.net/bugs/483527 + * https://launchpad.net/bugs/435933 + * Encoding error corrected for client_action(ir_values-tree view) + * https://launchpad.net/bugs/430728 + * Allowing sql keywords as fields(don't use them in order by clause) + * https://launchpad.net/bugs/487836 + * Custom Object xml arch needed encoding. + * https://launchpad.net/bugs/487723 + * Module informtion was not getting updated on upgrading module + * https://launchpad.net/bugs/480782 + * https://launchpad.net/bugs/478724 + * Export : M2M field name was missing last character + * https://launchpad.net/bugs/437729 + * Export Translation : Warning on Non-existing record instead of breaking flow + * https://launchpad.net/bugs/429519 + * https://launchpad.net/bugs/433395 + * https://launchpad.net/bugs/479915 + * Added lxml as required module on setup + * https://launchpad.net/bugs/400614 + * Use an alternative for the locale.RADIXCHAR if this one doesn't exist + * https://launchpad.net/bugs/491462 + * Pickling issue solved with ir_values (get method) + + +Improvements (server) +--------------------- + + * add option to disable the database listing + * sql_log + * quality_integration_server: added net_port option in script + * better connection pool (global) + * ir_cron : added active feild on list view + * Allow to specify the view via the context + * cron: check the arguments to avoid security issues + * cron: failed jobs are logged + * cron: clean code + * base_quality_interrrogation: put message if the score of quality less then minimal and remove unit test condition + * quality_integration_server: quality log : add new option to specify qualitylog path to store html pages of log + * default value for module + + +Bugfixes (addons) +----------------- + + * Not linked to a bug report: + * Project : remove unused import causing a DeprecationWarning under Python 2.6 + * l10n_be: corrected internal type of vat account in l10n_be: set other instead of payable/receivable + * Hr_timesheet_sheet : setting type=workflow to 2 buttons + * Account: text made translatable + * Stock : Added Product UoS to the Stock Move view + * fix the problem of menus uring installation + * Base_contact : Making Email field of address visible on Address form view + * Stock : Added translations + * Account_invoice_layout : Reports improved and SXWs made compatible to RML + * membership: invoice membership wizard now calculate tax corectly and on product membership fields make readonly to false + * membership: change membership product date from and date to value with current year on demo data + * membership: solve problem of deleting membership invoice created with old membership product + * Account: Wizards were missing translation import statement + * Residual amount into invoice is now correct in every case and avoid rounding trouble even if rating has changed + * account: avoid translate tool missing import on strictier Python 2.6 versions; bare in mind that mx.Datetime should be eraticated from the surface of the earth + * account: removed pdb now that things are claimed fixed (after the commits messages) + * account_analytic_plans: Use etree instead of xml.dom + * fix the problem that appers in to the account move due to accout voucher + * Account_date_check : correction on a method + * Account_voucher : Typo corrected for Voucher type. + * Account : Corrected the malformed report of Partner Ledger + * purchase_manual: Import OSV + * python2.6 compatibility + * AuditTrail : View Logs should only show logs of current object and resources + * fix the problem of the reports account voucher + * #TODO: fix me sale module can not be used here, + * Import OSV in the wizard + * purchase: Use the price_accuracy + * Base_Report_Creator : xml record was malformed, corrected + * hr_expense: corrected error message + * account: avoid ZeroDivisionError + * Specify the name of the argument for the context, to avoir a critical bug + * CRM : Mailgate script added option -he was conflicting,improved + * Account :Invoice report had Partner name displayed at wrong position + * bugfix residual computation and multi-currencies + * Base_report_creator : Calendar view problems on custom report + * typo + * workcenter load graph + * set the access right + * base_module_quality: speed test if read method has exception + * account_analytic_plans: avoid encoding errors + * https://launchpad.net/bugs/458415 + * document_ics : solved accent problem + * https://launchpad.net/bugs/447402 + * Project_timesheet : Wrong synchro on analytic line creation fro tasks(for name). + * https://launchpad.net/bugs/490318 + * Account : Ondelete=cascade added to bank statement line + * https://launchpad.net/bugs/446520 + * [account_followup] wrong sender for email + * https://launchpad.net/bugs/454536 + * Warning : Onchange Methods were malfunctioned.Corrected and made messages available for translations + * https://launchpad.net/bugs/450180 + * Hr_timesheet_invoice : Wrong domain was sent for opening invoices created + * https://launchpad.net/bugs/383057 + * Stock-MRP : Split production wizard made individual to mrp if mrp is not installed + * https://launchpad.net/bugs/488869 + * Stock/MRP : Track line wizard improved + * https://launchpad.net/bugs/446681 + * Account : Refund wuzard malfunctioned with modify invoice option + * https://launchpad.net/bugs/446391 + * Base_report_creator : Allowing to use current userid + * https://launchpad.net/bugs/479747 + * https://launchpad.net/bugs/470359 + * https://launchpad.net/bugs/460701 + * Document : Attachment with document can now be deleted + * https://launchpad.net/bugs/439469 + * Product : Pricelist types getting translated on Pricelist + * https://launchpad.net/bugs/489355 + * account, invoice, sale: description (product sold, invoice line and account entry line) was not translated + * https://launchpad.net/bugs/435160 + * [IMP] Correct write-off date, add analytic account, better interface between all way to reconcile + * https://launchpad.net/bugs/481524 + * Stock : Forecast report: unicode error corrected + * https://launchpad.net/bugs/458553 + * Account : Onchange of amount/base amount of Invocie tax corrected + * https://launchpad.net/bugs/438705 + * Stock : Stock move lines on Production Order well-structured + * https://launchpad.net/bugs/441609 + * Account : Fiscal Position Template was missing a requireed field in form view + * https://launchpad.net/bugs/467880 + * MRP : Procurement can only be confirmed when qty>0.0 + * https://launchpad.net/bugs/486783 + * Point_of_sale : Report for Reciept corrected + * https://launchpad.net/bugs/448591 + * Account : Refund wizard wasnt calculating taxes for new invoices + * https://launchpad.net/bugs/395160 + * Project_timesheet : Analytic line creation/edition takes user based information + * https://launchpad.net/bugs/436008 + * Sale: Passing Contact address for invoices from SO + * https://launchpad.net/bugs/428926 + * account_payment when importing payment lines (currency not set correctly) + * https://launchpad.net/bugs/439041 + * Report_project :wrong average of closing days counting + * https://launchpad.net/bugs/396637 + * account_analytic_analysis : Analytic account functional field methods corrected. + * Account : Analytic account functional field methods corrected. + * https://launchpad.net/bugs/445547 + * Stock: Picking report correction + * https://launchpad.net/bugs/443069 + * Project: wrong domain for 'Tasks in Progress' menuitem + * https://launchpad.net/bugs/483723 + * CRM : Case form view priority issue resolved + * https://launchpad.net/bugs/427869 + * Residual amount in invoice when currency rating change + * https://launchpad.net/bugs/416810 + * Document: attachment linked with Files + * https://launchpad.net/bugs/461801 + * Sale : Workflow behaviour fixed when order is set to draft + * https://launchpad.net/bugs/461720 + * Scrum : Wrong view,widgetless fields on scrum view made correct + * https://launchpad.net/bugs/474337 + * [CRITICAL] warning : missing import statement for "_" + * https://launchpad.net/bugs/443132 + * Sale : Passing customer ref. of picking to invoice + * https://launchpad.net/bugs/488809 + * Sale : State was written wrongly + * https://launchpad.net/bugs/465010 + * Stock : Notification Message made translatable + * https://launchpad.net/bugs/490342 + * Account : making the default_get() eTiny compatible + * https://launchpad.net/bugs/453030 + * Avoid display write-off in pay invoice wizard : take care of partial payment + * Avoid display write-off in pay invoice wizard. Put the right date and currency for conversion + * https://launchpad.net/bugs/445267 + * Mrp_subproduct : Wrong calculation of QTYs corrected(Product qty,UOS qty) + * https://launchpad.net/bugs/401035 + * Audittrail : Assigned Access Rights to non-admin user. + * https://launchpad.net/bugs/421636 + * Account : Restricting Payment term lines percentage insertion from 0 to 1 + * https://launchpad.net/bugs/425671 + * Stock : Moves offer onchange on UOM to affect UOS + * https://launchpad.net/bugs/489083 + * Account :customer refund was displaying supplier invoice view, corrected + * https://launchpad.net/bugs/480856 + * Warning : the super of onchange may return {},covered the same + * https://launchpad.net/bugs/459196 + * Account : Partner Ledger Report formatting problem solved + * https://launchpad.net/bugs/483583 + * Sale/Purcghase : Function fields did not have digits attribute for precision accuracy + * https://launchpad.net/bugs/475135 + * Account : Warning message was missing _ import + * https://launchpad.net/bugs/457188 + * Account_analytic_analysis : Summary of Months calculation Corrected + * https://launchpad.net/bugs/435178 + * [CRITICAL]subscription: crash subscription process + * https://launchpad.net/bugs/480035 + * CRM : action name improved + * https://launchpad.net/bugs/487091 + * Stock :Invoice created from manual picking might miss UoS. + * https://launchpad.net/bugs/435298 + * Subscription : Disallowed to change the Object linked to the document type. + * https://launchpad.net/bugs/436651 + * mrp : workcentre load report had a query malformed + * https://launchpad.net/bugs/479886 + * Account : Total field on supplier invoice set to 0.0 to amke it Web-client compatible + * https://launchpad.net/bugs/479195 + * Base_vat : Romania VAT validation corrected + * https://launchpad.net/bugs/351083 + * Account : Partner Balance report gets printed with respect to the company selected + * https://launchpad.net/bugs/451310 + * https://launchpad.net/bugs/449583 + * Sale : Better error message when account is missing from SOL for Invioce + * https://launchpad.net/bugs/486794 + * Hr_holidays: Spell mistake corrected + * https://launchpad.net/bugs/351167 + * https://launchpad.net/bugs/438725 + * Purchase : Setting the value of payment term while creatying invoice from PO + * https://launchpad.net/bugs/471052 + * Product : Pricelist Item cannot use Main pricelist as the other pricelist + * https://launchpad.net/bugs/481372 + * Project : If company has no Project time unit,it would have crashed. + * https://launchpad.net/bugs/458030 + * Account : Ledger Report Landscape report adjusted for A4. + * https://launchpad.net/bugs/446205 + * CRM : Mailgate script has host as parameter now onwards + * https://launchpad.net/bugs/487641 + * Purchase : MOQ-pricing problem corrected + * https://launchpad.net/bugs/476428 + * Stock : Partial Picking wizard was missing translation import statement + * https://launchpad.net/bugs/366944 + * Base_vat : Spanish numbers validation corrected + * https://launchpad.net/bugs/466658 + * Account : Action window of anlytic entries was missing name + * https://launchpad.net/bugs/440557 + * Purchase : POL had a wrong tree view which is unused till now + * https://launchpad.net/bugs/452854 + * Correct the validate function for balanced move into account.py (after Fabien Warning) + * Use price_accuracy to verify balanced entry insteed of fixed '0,0001'. Add price_accuracy on debit and credit move lines + * https://launchpad.net/bugs/491241 + * Stock : Removal of picking shuold affect product stock + * https://launchpad.net/bugs/490327 + * Reverted bad commit from Joel@CamptoCamp + * https://launchpad.net/bugs/440734 + * Stock : Picking did not have 'type' field on display(inconsistent behavior from eTiny,koo) to work upon domain. + * https://launchpad.net/bugs/436174 + * Account: Supplier invoices was not taking product price on onchange of product + * https://launchpad.net/bugs/474340 + * Stock : Wizard improvements from Lionel + * https://launchpad.net/bugs/440711 + * Purchase : PO with different pricelists should not be merged + * https://launchpad.net/bugs/439208 + * Hr_timesheet : Allowing user to enter Analytic Journal if not linked with employee(Working hours tree view) + * https://launchpad.net/bugs/379118 + * Stock : Partial Picking wizard was making the back order reference jump to 2 numbers,notification given on packing done. + * https://launchpad.net/bugs/476343 + * https://launchpad.net/bugs/419720 + * Sale : Delivery Date delay computation made corrected when days are passed with fractions + + +Improvements (addons) +--------------------- + + * MRP : mrp.routing.workcenter made deletable on cascade effect + * Account : Entry Line action Name Improved + * Stock : Improved names of Stock move tree view + * account: make comment mandatory. Since it has a default value anyway, it doesn't reall y change anything, but makes the reconciliation UI looks consistent accross the whole OpenERP (eg invoice payment) + * Add support of analytic account into bank statement to be convenient with other method + * Add account field into bank statement line + * better python2.5/2.6 compatibility handling + * base_module_quality: styles on different tests + * base_module_quality: modify all tests result display for buildpot, use class on tag instead of css file + * base_module_quality: pylint test result display for buildpot, use class on tag instead of css file + 2009-09-22: 5.0.6 ================= From 37dcaa1b10edef12d5d2a3cd806e1ae50d87c377 Mon Sep 17 00:00:00 2001 From: "GPA(OpenERP)" <> Date: Thu, 3 Dec 2009 20:26:23 +0530 Subject: [PATCH 013/106] [FIX] Purchase : Fields set readonly on done state lp bug: https://launchpad.net/bugs/491898 fixed bzr revid: jvo@tinyerp.com-20091203145623-td3buc0y2ho5xqn6 --- addons/purchase/purchase.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/purchase/purchase.py b/addons/purchase/purchase.py index 34f3a0d0692..194c1d8bbcc 100644 --- a/addons/purchase/purchase.py +++ b/addons/purchase/purchase.py @@ -150,9 +150,9 @@ class purchase_order(osv.osv): help="Reference of the document that generated this purchase order request." ), 'partner_ref': fields.char('Partner Ref.', size=64), - 'date_order':fields.date('Date', required=True, states={'confirmed':[('readonly',True)], 'approved':[('readonly',True)]}, help="Date on which this document has been created."), + 'date_order':fields.date('Date', required=True, states={'confirmed':[('readonly',True)], 'approved':[('readonly',True)],'done':[('readonly',True)]}, help="Date on which this document has been created."), 'date_approve':fields.date('Date Approved', readonly=1), - 'partner_id':fields.many2one('res.partner', 'Supplier', required=True, states={'confirmed':[('readonly',True)], 'approved':[('readonly',True)]}, change_default=True), + 'partner_id':fields.many2one('res.partner', 'Supplier', required=True, states={'confirmed':[('readonly',True)], 'approved':[('readonly',True)],'done':[('readonly',True)]}, change_default=True), 'partner_address_id':fields.many2one('res.partner.address', 'Address', required=True, states={'posted':[('readonly',True)]}), 'dest_address_id':fields.many2one('res.partner.address', 'Destination Address', states={'posted':[('readonly',True)]}, @@ -162,10 +162,10 @@ class purchase_order(osv.osv): 'warehouse_id': fields.many2one('stock.warehouse', 'Warehouse', states={'posted':[('readonly',True)]}), 'location_id': fields.many2one('stock.location', 'Destination', required=True), - 'pricelist_id':fields.many2one('product.pricelist', 'Pricelist', required=True, states={'confirmed':[('readonly',True)], 'approved':[('readonly',True)]}, help="The pricelist sets the currency used for this purchase order. It also computes the supplier price for the selected products/quantities."), + 'pricelist_id':fields.many2one('product.pricelist', 'Pricelist', required=True, states={'confirmed':[('readonly',True)], 'approved':[('readonly',True)],'done':[('readonly',True)]}, help="The pricelist sets the currency used for this purchase order. It also computes the supplier price for the selected products/quantities."), 'state': fields.selection([('draft', 'Request for Quotation'), ('wait', 'Waiting'), ('confirmed', 'Confirmed'), ('approved', 'Approved'),('except_picking', 'Shipping Exception'), ('except_invoice', 'Invoice Exception'), ('done', 'Done'), ('cancel', 'Cancelled')], 'Order Status', readonly=True, help="The state of the purchase order or the quotation request. A quotation is a purchase order in a 'Draft' state. Then the order has to be confirmed by the user, the state switch to 'Confirmed'. Then the supplier must confirm the order to change the state to 'Approved'. When the purchase order is paid and received, the state becomes 'Done'. If a cancel action occurs in the invoice or in the reception of goods, the state becomes in exception.", select=True), - 'order_line': fields.one2many('purchase.order.line', 'order_id', 'Order Lines', states={'approved':[('readonly',True)]}), + 'order_line': fields.one2many('purchase.order.line', 'order_id', 'Order Lines', states={'approved':[('readonly',True)],'done':[('readonly',True)]}), 'validator' : fields.many2one('res.users', 'Validated by', readonly=True), 'notes': fields.text('Notes'), 'invoice_id': fields.many2one('account.invoice', 'Invoice', readonly=True), From b78474e6806329f89a60459ceb760189a9a211f1 Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" Date: Thu, 3 Dec 2009 21:01:45 +0530 Subject: [PATCH 014/106] [FIX] fields.related were misbehaving lp bug: https://launchpad.net/bugs/491867 fixed bzr revid: jvo@tinyerp.com-20091203153145-441wddbmddz5qvbk --- bin/osv/fields.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/osv/fields.py b/bin/osv/fields.py index e1d70978181..7c240854c28 100644 --- a/bin/osv/fields.py +++ b/bin/osv/fields.py @@ -744,7 +744,7 @@ class related(function): except: t_data = False break - if field_detail['type'] in ('one2many', 'many2many') and i != len(self.arg) - 1: + if field_detail['type'] in ('one2many', 'many2many'):# and i != len(self.arg) - 1: t_data = t_data[self.arg[i]][0] else: t_data = t_data[self.arg[i]] @@ -760,10 +760,10 @@ class related(function): for r in res: if res[r]: res[r] = (res[r], ng[res[r]]) - elif self._type in ('one2many', 'many2many'): - for r in res: - if res[r]: - res[r] = [x.id for x in res[r]] +# elif self._type in ('one2many', 'many2many'): +# for r in res: +# if res[r]: +# res[r] = [x.id for x in res[r]] return res From 198bc602895b8e7c28c60a1d84a3ff6debbd6461 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Thu, 3 Dec 2009 18:31:13 +0100 Subject: [PATCH 015/106] [FIX] Regression in SO from Jeroen and Jay, picked state see bug #491375 bzr revid: fp@tinyerp.com-20091203173113-a6j7av8brwf36ao9 --- addons/sale/sale.py | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/addons/sale/sale.py b/addons/sale/sale.py index 0b3116f5fe0..2d58ee3d9e3 100644 --- a/addons/sale/sale.py +++ b/addons/sale/sale.py @@ -506,23 +506,9 @@ class sale_order(osv.osv): write_cancel_ids = [] stock_move_obj = self.pool.get('stock.move') for order in self.browse(cr, uid, ids, context={}): - - #check for pending deliveries - pending_deliveries = False - # check => if order_lines do not exist,don't proceed for any mode. - if not order.order_line: - return False - for line in order.order_line: - move_ids = stock_move_obj.search(cr, uid, [('sale_line_id','=', line.id)]) - for move in stock_move_obj.browse( cr, uid, move_ids ): - #if one of the related order lines is in state draft, auto or confirmed - #this order line is not yet delivered - if move.state in ('draft', 'auto', 'confirmed'): - pending_deliveries = True - # Reason => if there are no move lines,the following condition will always set to be true,and will set SO to 'DONE'. - # Added move_ids check to SOLVE. - if move_ids and ((not line.procurement_id) or (line.procurement_id.state=='done')) and not pending_deliveries: -# finished = True + for line in order.order_line: + if (not line.procurement_id) or (line.procurement_id.state=='done'): + finished = True if line.state != 'done': write_done_ids.append(line.id) else: From 457b377f899fb74a470c20c8e5504b2ca379189d Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Thu, 3 Dec 2009 21:53:21 +0100 Subject: [PATCH 016/106] [FIX] picked in SO bzr revid: fp@tinyerp.com-20091203205321-ujfh08p383ezb7m4 --- addons/sale/sale.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/sale/sale.py b/addons/sale/sale.py index 56af40df442..63ccc2ea80a 100644 --- a/addons/sale/sale.py +++ b/addons/sale/sale.py @@ -506,9 +506,9 @@ class sale_order(osv.osv): write_cancel_ids = [] stock_move_obj = self.pool.get('stock.move') for order in self.browse(cr, uid, ids, context={}): + print order.name, mode for line in order.order_line: if (not line.procurement_id) or (line.procurement_id.state=='done'): - finished = True if line.state != 'done': write_done_ids.append(line.id) else: @@ -525,6 +525,7 @@ class sale_order(osv.osv): if write_cancel_ids: self.pool.get('sale.order.line').write(cr, uid, write_cancel_ids, {'state': 'exception'}) + print finished if mode == 'finished': return finished elif mode == 'canceled': From 2cc7f42c5a8eb9f72497a89ed5343f72a07106b0 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Thu, 3 Dec 2009 23:05:24 +0100 Subject: [PATCH 017/106] [FIX] removed print statement bzr revid: fp@tinyerp.com-20091203220524-2p3k0rbd2vgyvzco --- addons/sale/sale.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/addons/sale/sale.py b/addons/sale/sale.py index 63ccc2ea80a..b225596b855 100644 --- a/addons/sale/sale.py +++ b/addons/sale/sale.py @@ -504,9 +504,7 @@ class sale_order(osv.osv): notcanceled = False write_done_ids = [] write_cancel_ids = [] - stock_move_obj = self.pool.get('stock.move') for order in self.browse(cr, uid, ids, context={}): - print order.name, mode for line in order.order_line: if (not line.procurement_id) or (line.procurement_id.state=='done'): if line.state != 'done': @@ -525,7 +523,6 @@ class sale_order(osv.osv): if write_cancel_ids: self.pool.get('sale.order.line').write(cr, uid, write_cancel_ids, {'state': 'exception'}) - print finished if mode == 'finished': return finished elif mode == 'canceled': From be06b834e1f915590185a770e34c0003fc8d13e1 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Fri, 4 Dec 2009 11:36:36 +0100 Subject: [PATCH 018/106] [FIX] revert bad fix lp bug: https://launchpad.net/bugs/491867 fixed bzr revid: chs@tinyerp.com-20091204103636-um11n2qj52rbdqqs --- bin/osv/fields.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/osv/fields.py b/bin/osv/fields.py index 7c240854c28..e1d70978181 100644 --- a/bin/osv/fields.py +++ b/bin/osv/fields.py @@ -744,7 +744,7 @@ class related(function): except: t_data = False break - if field_detail['type'] in ('one2many', 'many2many'):# and i != len(self.arg) - 1: + if field_detail['type'] in ('one2many', 'many2many') and i != len(self.arg) - 1: t_data = t_data[self.arg[i]][0] else: t_data = t_data[self.arg[i]] @@ -760,10 +760,10 @@ class related(function): for r in res: if res[r]: res[r] = (res[r], ng[res[r]]) -# elif self._type in ('one2many', 'many2many'): -# for r in res: -# if res[r]: -# res[r] = [x.id for x in res[r]] + elif self._type in ('one2many', 'many2many'): + for r in res: + if res[r]: + res[r] = [x.id for x in res[r]] return res From d6cb9466a3a445d6c5f95d7b11a49f087728db28 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Fri, 4 Dec 2009 11:45:24 +0100 Subject: [PATCH 019/106] [FIX] base_contact: fix bad related field lp bug: https://launchpad.net/bugs/491867 fixed bzr revid: chs@tinyerp.com-20091204104524-36gioov0qr1h1s5g --- addons/base_contact/base_contact.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/addons/base_contact/base_contact.py b/addons/base_contact/base_contact.py index b00a5745935..4e6712010f5 100644 --- a/addons/base_contact/base_contact.py +++ b/addons/base_contact/base_contact.py @@ -34,6 +34,13 @@ class res_partner_contact(osv.osv): res = [(r['shortcut'], r['name']) for r in res if r['domain']=='contact'] return res + def _main_job(self, cr, uid, ids, fields, arg, context=None): + res = dict.fromkeys(ids, False) + for contact in self.browse(cr, uid, ids, context): + if contact.job_ids: + res[contact.id] = contact.job_ids[0].name_get()[0] + return res + _columns = { 'name': fields.char('Last Name', size=30,required=True), 'first_name': fields.char('First Name', size=30), @@ -47,7 +54,7 @@ class res_partner_contact(osv.osv): 'active' : fields.boolean('Active'), 'partner_id':fields.related('job_ids','address_id','partner_id',type='many2one', relation='res.partner', string='Main Employer'), 'function_id':fields.related('job_ids','function_id',type='many2one', relation='res.partner.function', string='Main Function'), - 'job_id':fields.related('job_ids',type='many2one', relation='res.partner.job', string='Main Job'), + 'job_id': fields.function(_main_job, method=True, type='many2one', relation='res.partner.job', string='Main Job'), 'email': fields.char('E-Mail', size=240), } _defaults = { From 47591d7819e7c559d5386d76a6a34515502bc6c6 Mon Sep 17 00:00:00 2001 From: "GPA(OpenERP)" <> Date: Fri, 4 Dec 2009 18:15:47 +0530 Subject: [PATCH 020/106] [FIX] Base_report_creator : encoding eror corrected on adding filters lp bug: https://launchpad.net/bugs/492174 fixed bzr revid: jvo@tinyerp.com-20091204124547-an9oinq59mcacc42 --- .../base_report_creator/wizard/wiz_set_filter_fields.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/addons/base_report_creator/wizard/wiz_set_filter_fields.py b/addons/base_report_creator/wizard/wiz_set_filter_fields.py index 0303bea8d3f..851eed0dbb1 100644 --- a/addons/base_report_creator/wizard/wiz_set_filter_fields.py +++ b/addons/base_report_creator/wizard/wiz_set_filter_fields.py @@ -23,6 +23,7 @@ import wizard import netsvc import pooler +import tools relation_type=['one2many','many2one','many2many'] char_type = ['char','text','selection'] @@ -122,7 +123,7 @@ def _set_filter_value(self, cr, uid, data, context): model_pool = pooler.get_pool(cr.dbname).get(model_name) table_name = model_pool._table model_name = model_pool._description - + if field_type: if field_type == 'boolean': if value_data == 1: @@ -139,12 +140,12 @@ def _set_filter_value(self, cr, uid, data, context): fields_list = set_field_operator(self,table_name+"."+field_data['name'],field_data['ttype'],form_data['operator'],value_data) if fields_list: create_dict = { - 'name':model_name + "/" +field_data['field_description'] +" "+ mapping_fields[form_data['operator']] + " " + str(fields_list[2]) + " ", - 'expression':' '.join(map(str,fields_list)), + 'name':model_name + "/" +field_data['field_description'] +" "+ mapping_fields[form_data['operator']] + " " + tools.ustr(fields_list[2]) + " ", + 'expression':' '.join(map(tools.ustr,fields_list)), 'report_id':data['id'], 'condition' : form_data['condition'] } - pooler.get_pool(cr.dbname).get('base_report_creator.report.filter').create(cr,uid,create_dict) + pooler.get_pool(cr.dbname).get('base_report_creator.report.filter').create(cr,uid,create_dict,context) #end if field_type == 'many2many' and value_data and len(value_data): # pooler.get_pool(cr.dbname).get('custom.report.filter').create(cr,uid,form_data) #end if field_type: From 7eaa92708a910e88fb2236ef957e6b0e9b1d5d00 Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" Date: Fri, 4 Dec 2009 18:42:57 +0530 Subject: [PATCH 021/106] [FIX] MRP : procurement does not need cancel button when its Running lp bug: https://launchpad.net/bugs/492211 fixed bzr revid: jvo@tinyerp.com-20091204131257-2dmur1fwdscquup7 --- addons/mrp/mrp_view.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml index 83a1b4423a8..0d6a39aa899 100644 --- a/addons/mrp/mrp_view.xml +++ b/addons/mrp/mrp_view.xml @@ -698,9 +698,8 @@