From a36faa4948ee3eb45b0d6f33b36370c3914983f6 Mon Sep 17 00:00:00 2001 From: Mustufa Rangwala Date: Fri, 19 Nov 2010 10:52:31 +0530 Subject: [PATCH] [ADD] Account_sequnce: Add fr.po bzr revid: mra@mra-laptop-20101119052231-amkg00ut2cryjfzc --- addons/account_sequence/account_sequence.py | 2 + addons/account_sequence/i18n/fr.po | 67 +++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 addons/account_sequence/i18n/fr.po diff --git a/addons/account_sequence/account_sequence.py b/addons/account_sequence/account_sequence.py index 496fb08bc05..c61720f857b 100644 --- a/addons/account_sequence/account_sequence.py +++ b/addons/account_sequence/account_sequence.py @@ -34,6 +34,7 @@ class account_move(osv.osv): res = super(account_move, self).post(cr, uid, ids, context=context) seq_no = False for line in self.browse(cr, uid, ids): + # Todo: if there is not internal seq defined on journal raise error ? if line.journal_id.internal_sequence: seq_no = obj_sequence.get_id(cr, uid, line.journal_id.internal_sequence.id, context=context) if seq_no: @@ -48,6 +49,7 @@ class account_journal(osv.osv): _columns = { 'internal_sequence': fields.many2one('ir.sequence', 'Internal Sequence'), } + account_journal() # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file diff --git a/addons/account_sequence/i18n/fr.po b/addons/account_sequence/i18n/fr.po new file mode 100644 index 00000000000..3c6132dfaa6 --- /dev/null +++ b/addons/account_sequence/i18n/fr.po @@ -0,0 +1,67 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * account_sequence +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 6.0.0-rc1\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2010-11-18 16:11:21+0000\n" +"PO-Revision-Date: 2010-11-18 16:11:21+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_sequence +#: sql_constraint:ir.module.module:0 +msgid "The certificate ID of the module must be unique !" +msgstr "" + +#. module: account_sequence +#: constraint:ir.ui.view:0 +msgid "Invalid XML for View Architecture!" +msgstr "" + +#. module: account_sequence +#: model:ir.model,name:account_sequence.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_sequence +#: field:account.move,internal_sequence_number:0 +msgid "Internal Sequence Number" +msgstr "" + +#. module: account_sequence +#: model:ir.model,name:account_sequence.model_account_journal +msgid "Journal" +msgstr "" + +#. module: account_sequence +#: sql_constraint:ir.module.module:0 +msgid "The name of the module must be unique !" +msgstr "" + +#. module: account_sequence +#: model:ir.module.module,shortdesc:account_sequence.module_meta_information +msgid "Entries Sequence Numbering" +msgstr "" + +#. module: account_sequence +#: field:account.journal,internal_sequence:0 +msgid "Internal Sequence" +msgstr "" + +#. module: account_sequence +#: constraint:ir.model:0 +msgid "The Object name must start with x_ and not contain any special character !" +msgstr "" + +#. module: account_sequence +#: sql_constraint:ir.model.fields:0 +msgid "Size of the field can never be less than 1 !" +msgstr "" +