diff --git a/addons/account/account.py b/addons/account/account.py index a0bcfe5ee2d..1d3b9b0dc4d 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -122,7 +122,7 @@ class account_payment_term_line(osv.osv): return True _constraints = [ - (_check_percent, _('Percentages for Payment Term Line must be between 0 and 1, Example: 0.02 for 2% '), ['value_amount']), + (_check_percent, 'Percentages for Payment Term Line must be between 0 and 1, Example: 0.02 for 2% ', ['value_amount']), ] account_payment_term_line() diff --git a/addons/account/account_cash_statement.py b/addons/account/account_cash_statement.py index 0f14fb77bb6..cf17a799372 100644 --- a/addons/account/account_cash_statement.py +++ b/addons/account/account_cash_statement.py @@ -246,7 +246,7 @@ class account_cash_statement(osv.osv): ] open_jrnl = self.search(cr, uid, sql) if open_jrnl: - raise osv.except_osv('Error', _('You can not have two open register for the same journal')) + raise osv.except_osv(_('Error'), _('You can not have two open register for the same journal')) if self.pool.get('account.journal').browse(cr, uid, vals['journal_id']).type == 'cash': open_close = self._get_cash_open_close_box_lines(cr, uid, context) diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml index e5427a93361..c6542758952 100644 --- a/addons/account/account_invoice_view.xml +++ b/addons/account/account_invoice_view.xml @@ -63,7 +63,9 @@ - + + diff --git a/addons/account/i18n/account.pot b/addons/account/i18n/account.pot index 1384399389e..a276969aae3 100644 --- a/addons/account/i18n/account.pot +++ b/addons/account/i18n/account.pot @@ -5697,6 +5697,7 @@ msgstr "" #: code:addons/account/invoice.py:0 #: code:addons/account/wizard/account_invoice_refund.py:0 #: code:addons/account/wizard/account_use_model.py:0 +#: code:addons/account/account_cash_statement.py:0 #, python-format msgid "Error !" msgstr "" @@ -6269,6 +6270,12 @@ msgstr "" msgid "You can not have two open register for the same journal" msgstr "" +#. module: account +#: code:addons/account/account_cash_statement.py:0 +#, python-format +msgid "You cannot create a bank or cash register without a journal!" +msgstr "" + #. module: account #: view:account.payment.term.line:0 msgid " day of the month= -1" diff --git a/addons/auction/auction_demo.xml b/addons/auction/auction_demo.xml index da4989756f9..cb8dfc45376 100644 --- a/addons/auction/auction_demo.xml +++ b/addons/auction/auction_demo.xml @@ -2,6 +2,10 @@ + + + + Tax diff --git a/addons/auction/i18n/auction.pot b/addons/auction/i18n/auction.pot index 3ceac2cbde8..f36f2cd186a 100644 --- a/addons/auction/i18n/auction.pot +++ b/addons/auction/i18n/auction.pot @@ -312,6 +312,54 @@ msgstr "" msgid "The Buyer \"%s\" has no Invoice Address." msgstr "" +#. module: auction +#: code:addons/auction/wizard/auction_pay_buy.py:0 +#, python-format +msgid "Payment aborted !" +msgstr "" + +#. module: auction +#: code:addons/auction/wizard/auction_pay_buy.py:0 +#, python-format +msgid "You should pay all the total: "%.2f" are missing to accomplish the payment." +msgstr "" + +#. module: auction +#: code:addons/auction/wizard/auction_pay_buy.py:0 +#, python-format +msgid "Error!" +msgstr "" + +#. module: auction +#: code:addons/auction/wizard/auction_catalog_flagey_report.py:0 +#, python-format +msgid "No Lots belong to this Auction Date" +msgstr "" + +#. module: auction +#: code:addons/auction/wizard/auction_lots_numerotate.py:0 +#, python-format +msgid "This record does not exist !" +msgstr "" + +#. module: auction +#: code:addons/auction/wizard/auction_lots_numerotate.py:0 +#, python-format +msgid "This lot does not exist !" +msgstr "" + +#. module: auction +#: code:addons/auction/wizard/auction_lots_buyer_map.py:0 +#, python-format +msgid "No buyer is set for this lot." +msgstr "" + +#. module: auction +#: code:addons/auction/wizard/auction_pay_buy.py:0 +#, python-format +msgid "No auction date for "%s": Please set one." +msgstr "" + #. module: auction #: view:auction.dates:0 msgid "Commissions" @@ -663,6 +711,7 @@ msgstr "" #. module: auction #: code:addons/auction/wizard/auction_lots_invoice.py:0 +#: code:addons/auction/wizard/auction_lots_numerotate.py:0 #, python-format msgid "UserError" msgstr "" diff --git a/addons/auction/security/auction_security.xml b/addons/auction/security/auction_security.xml index 32fdf0d64f3..1fc69bb314f 100644 --- a/addons/auction/security/auction_security.xml +++ b/addons/auction/security/auction_security.xml @@ -8,6 +8,6 @@ Auction / User - + \ No newline at end of file diff --git a/addons/auction/wizard/auction_catalog_flagey_report.py b/addons/auction/wizard/auction_catalog_flagey_report.py index 97440a6680c..b5bff2d2858 100644 --- a/addons/auction/wizard/auction_catalog_flagey_report.py +++ b/addons/auction/wizard/auction_catalog_flagey_report.py @@ -21,6 +21,7 @@ from osv import osv, fields import netsvc +from tools.translate import _ class auction_catalog_flagey(osv.osv_memory): _name = 'auction.catalog.flagey' @@ -57,7 +58,7 @@ class auction_catalog_flagey(osv.osv_memory): v_ids = lots_obj.browse(cr, uid, v_lots) for ab in v_ids: if not ab.auction_id : - raise osv.except_osv('Error!','No Lots belong to this Auction Date') + raise osv.except_osv(_('Error!'), _('No Lots belong to this Auction Date')) pass def print_report(self, cr, uid, ids, context): diff --git a/addons/auction/wizard/auction_lots_buyer_map.py b/addons/auction/wizard/auction_lots_buyer_map.py index 23279942965..98d26b83b4f 100644 --- a/addons/auction/wizard/auction_lots_buyer_map.py +++ b/addons/auction/wizard/auction_lots_buyer_map.py @@ -67,7 +67,7 @@ class wiz_auc_lots_buyer_map(osv.osv_memory): lots_obj = self.pool.get('auction.lots') for rec in lots_obj.browse(cr, uid, ids, context): if (len(ids)==1) and (not rec.ach_uid and not rec.ach_login): - raise osv.except_osv('Error', 'No buyer is set for this lot.') + raise osv.except_osv(_('Error'), _('No buyer is set for this lot.')) if not rec.ach_uid and rec.ach_login: return {'ach_login': rec.ach_login} return {} diff --git a/addons/auction/wizard/auction_lots_numerotate.py b/addons/auction/wizard/auction_lots_numerotate.py index b464ba49a28..9c41d1d4f70 100644 --- a/addons/auction/wizard/auction_lots_numerotate.py +++ b/addons/auction/wizard/auction_lots_numerotate.py @@ -99,7 +99,7 @@ class auction_lots_numerotate_per_lot(osv.osv_memory): ('lot_num','=',int(datas['lot_num']))]) found = [r for r in res if r in record_ids] if len(found)==0: - raise osv.except_osv('UserError', 'This record does not exist !') + raise osv.except_osv(_('UserError'), _('This record does not exist !')) lots_obj.write(cr, uid, found, {'obj_num':int(datas['obj_num'])} ) view_id = data_obj._get_id(cr, uid, 'auction', 'view_auction_numerotate') if view_id: @@ -125,7 +125,7 @@ class auction_lots_numerotate_per_lot(osv.osv_memory): ('lot_num','=',int(datas['lot_num']))]) found = [r for r in res if r in record_ids] if len(found)==0: - raise osv.except_osv('UserError', 'This record does not exist !') + raise osv.except_osv(_('UserError'), _('This record does not exist !')) lots_datas = lots_obj.read(cr, uid, found, ['obj_num', 'name', 'lot_est1', 'lot_est2', 'obj_desc']) @@ -141,7 +141,7 @@ class auction_lots_numerotate_per_lot(osv.osv_memory): ('lot_num','=',int(datas['lot_num']))]) found = [r for r in res if r in record_ids] if len(found)==0: - raise osv.except_osv('Error', 'This lot does not exist !') + raise osv.except_osv(_('Error'), _('This lot does not exist !')) view_id = data_obj._get_id(cr, uid, 'auction', 'view_auction_lots_numerotate_second') if view_id: res_id = data_obj.browse(cr, uid, view_id, context=context).res_id diff --git a/addons/auction/wizard/auction_pay_buy.py b/addons/auction/wizard/auction_pay_buy.py index 108ed00eddc..bf6a85cf74b 100644 --- a/addons/auction/wizard/auction_pay_buy.py +++ b/addons/auction/wizard/auction_pay_buy.py @@ -76,14 +76,14 @@ class auction_pay_buy(osv.osv_memory): for datas in self.read(cr, uid, ids): if not abs(datas['total'] - (datas['amount'] + datas['amount2'] + datas['amount3'])) <0.01: rest = datas['total'] - (datas['amount'] + datas['amount2'] + datas['amount3']) - raise osv.except_osv('Payment aborted !', 'You should pay all the total: "%.2f" are missing to accomplish the payment.' %(round(rest, 2))) + raise osv.except_osv(_('Payment aborted !'), _('You should pay all the total: "%.2f" are missing to accomplish the payment.') %(round(rest, 2))) lots = lot_obj.browse(cr, uid, context['active_ids'], context) for lot in lots: if datas['buyer_id']: lot_obj.write(cr, uid, [lot.id], {'ach_uid': datas['buyer_id']}) if not lot.auction_id: - raise osv.except_osv('Error !', 'No auction date for "%s": Please set one.'%(lot.name)) + raise osv.except_osv(_('Error!'), _('No auction date for "%s": Please set one.') % (lot.name)) lot_obj.write(cr, uid, [lot.id], {'is_ok':True}) for st, stamount in [('statement_id1', 'amount'), ('statement_id2', 'amount2'), ('statement_id3', 'amount3')]: diff --git a/addons/base_calendar/base_calendar.py b/addons/base_calendar/base_calendar.py index ce5f7cfff8e..c567105547d 100644 --- a/addons/base_calendar/base_calendar.py +++ b/addons/base_calendar/base_calendar.py @@ -1089,9 +1089,9 @@ class calendar_event(osv.osv): cr.execute("UPDATE %s set exrule=Null where id=%%s" % self._table,( event,)) elif datas.get('rrule_type') == 'custom': if datas.get('interval', 0) < 0: - raise osv.except_osv('Warning!', 'Interval can not be Negative') + raise osv.except_osv(_('Warning!'), _('Interval can not be Negative')) if datas.get('count', 0) < 0: - raise osv.except_osv('Warning!', 'Count can not be Negative') + raise osv.except_osv(_('Warning!'), _('Count can not be Negative')) rrule_custom = self.compute_rule_string(cr, uid, datas, \ context=context) result[event] = rrule_custom diff --git a/addons/base_calendar/i18n/base_calendar.pot b/addons/base_calendar/i18n/base_calendar.pot index 78fbfa434f9..c387b612718 100644 --- a/addons/base_calendar/i18n/base_calendar.pot +++ b/addons/base_calendar/i18n/base_calendar.pot @@ -146,6 +146,24 @@ msgstr "" msgid "Warning !" msgstr "" +#. module: base_calendar +#: code:addons/base_calendar/base_calendar.py:0 +#, python-format +msgid "Warning!" +msgstr "" + +#. module: base_calendar +#: code:addons/base_calendar/base_calendar.py:0 +#, python-format +msgid "Interval can not be Negative" +msgstr "" + +#. module: base_calendar +#: code:addons/base_calendar/base_calendar.py:0 +#, python-format +msgid "Count can not be Negative" +msgstr "" + #. module: base_calendar #: selection:base.calendar.set.exrule,week_list:0 #: selection:calendar.event,week_list:0 diff --git a/addons/base_contact/base_contact_demo.xml b/addons/base_contact/base_contact_demo.xml index 40646d1f8eb..393c318015c 100644 --- a/addons/base_contact/base_contact_demo.xml +++ b/addons/base_contact/base_contact_demo.xml @@ -2,6 +2,10 @@ + + + + diff --git a/addons/base_contact/security/base_contact_security.xml b/addons/base_contact/security/base_contact_security.xml index 72b692ca372..56a995c76a8 100644 --- a/addons/base_contact/security/base_contact_security.xml +++ b/addons/base_contact/security/base_contact_security.xml @@ -9,5 +9,6 @@ Sales / Manager + diff --git a/addons/board/__openerp__.py b/addons/board/__openerp__.py index 1c44dfe7955..770fc71777b 100644 --- a/addons/board/__openerp__.py +++ b/addons/board/__openerp__.py @@ -27,7 +27,7 @@ 'author': 'OpenERP SA', 'depends': ['base'], 'update_xml': ['security/board_security.xml','security/ir.model.access.csv', 'wizard/board_menu_create_view.xml', 'board_view.xml','board_administration_view.xml'], - 'demo_xml': [], + 'demo_xml': ['board_demo.xml'], 'installable': True, 'active': False, 'certificate': '0076912305725', diff --git a/addons/board/board_demo.xml b/addons/board/board_demo.xml new file mode 100644 index 00000000000..2f704e640bc --- /dev/null +++ b/addons/board/board_demo.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/addons/caldav/calendar.py b/addons/caldav/calendar.py index 7515e47506e..a593f5e77bc 100644 --- a/addons/caldav/calendar.py +++ b/addons/caldav/calendar.py @@ -38,8 +38,7 @@ from tools.safe_eval import safe_eval as eval try: import vobject except ImportError: - raise osv.except_osv('vobject Import Error!','Please install python-vobject \ - from http://vobject.skyhouseconsulting.com/') + raise osv.except_osv(_('vobject Import Error!'), _('Please install python-vobject from http://vobject.skyhouseconsulting.com/')) # O-1 Optional and can come only once # O-n Optional and can come more than once diff --git a/addons/crm/crm_demo.xml b/addons/crm/crm_demo.xml index 9ae60b11a70..e629330751f 100644 --- a/addons/crm/crm_demo.xml +++ b/addons/crm/crm_demo.xml @@ -5,6 +5,5 @@ - diff --git a/addons/delivery/delivery_report.xml b/addons/delivery/delivery_report.xml index 14c1d241131..3cebbba4eac 100644 --- a/addons/delivery/delivery_report.xml +++ b/addons/delivery/delivery_report.xml @@ -6,7 +6,8 @@ id="report_shipping" model="stock.picking" name="sale.shipping" - rml="delivery/report/shipping.rml" + multi="True" + rml="delivery/report/shipping.rml" string="Delivery order"/> diff --git a/addons/delivery/delivery_view.xml b/addons/delivery/delivery_view.xml index b7ec0fed61e..f0588c76b52 100644 --- a/addons/delivery/delivery_view.xml +++ b/addons/delivery/delivery_view.xml @@ -4,6 +4,9 @@ + + + delivery.carrier.tree delivery.carrier @@ -128,7 +131,7 @@ sale.order - + @@ -266,10 +269,23 @@ -