2
0

Move account_move_template from __unported__ to root folder

This commit is contained in:
Alex Comba 2014-11-21 15:15:38 +01:00 committed by Abraham Anes
parent 4c0e12f739
commit ca0069933e
8 changed files with 1183 additions and 0 deletions

View File

@ -0,0 +1,4 @@
Davide Corio <davide.corio@agilebg.com>
Lorenzo Battistini <lorenzo.battistini@agilebg.com>
Paolo Chiara <p.chiara@isa.it>
Franco Tampieri <franco.tampieri@agilebg.com>

View File

@ -0,0 +1,310 @@
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
# * account_move_template
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-10-18 17:49+0000\n"
"PO-Revision-Date: 2013-10-18 17:49+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_move_template
#: code:addons/account_move_template/account_document_template.py:68
#, python-format
msgid "Code \"%s\" refers to non existing line"
msgstr ""
#. module: account_move_template
#: field:account.move.template.line,move_line_type:0
#: field:wizard.select.move.template.line,move_line_type:0
msgid "Move Line Type"
msgstr ""
#. module: account_move_template
#: selection:wizard.select.move.template,state:0
msgid "Template selected"
msgstr ""
#. module: account_move_template
#: view:wizard.select.move.template:0
#: field:wizard.select.move.template,template_id:0
msgid "Move Template"
msgstr ""
#. module: account_move_template
#: model:ir.actions.act_window,name:account_move_template.action_wizard_select_template
msgid "Select Move Template"
msgstr ""
#. module: account_move_template
#: model:ir.model,name:account_move_template.model_wizard_select_move_template
msgid "wizard.select.move.template"
msgstr ""
#. module: account_move_template
#: view:wizard.select.move.template:0
msgid "Next"
msgstr ""
#. module: account_move_template
#: field:wizard.select.move.template,state:0
msgid "State"
msgstr ""
#. module: account_move_template
#: code:addons/account_move_template/wizard/select_template.py:150
#: code:addons/account_move_template/wizard/select_template.py:180
#, python-format
msgid "You have to define an analytic journal on the '%s' journal!"
msgstr ""
#. module: account_move_template
#: field:account.move.template.line,template_id:0
#: field:wizard.select.move.template.line,template_id:0
msgid "Template"
msgstr ""
#. module: account_move_template
#: selection:account.move.template.line,move_line_type:0
#: selection:wizard.select.move.template.line,move_line_type:0
msgid "Debit"
msgstr ""
#. module: account_move_template
#: code:addons/account_move_template/wizard/select_template.py:106
#, python-format
msgid "No period found !"
msgstr ""
#. module: account_move_template
#: field:account.document.template.line,type:0
#: field:account.move.template.line,type:0
msgid "Type"
msgstr ""
#. module: account_move_template
#: model:ir.actions.act_window,name:account_move_template.action_wizard_select_template_by_move
#: model:ir.ui.menu,name:account_move_template.menu_action_wizard_select_template
msgid "Create Move from Template"
msgstr ""
#. module: account_move_template
#: code:addons/account_move_template/wizard/select_template.py:98
#, python-format
msgid "Error !"
msgstr ""
#. module: account_move_template
#: code:addons/account_move_template/wizard/select_template.py:106
#, python-format
msgid "Unable to find a valid period !"
msgstr ""
#. module: account_move_template
#: model:ir.actions.act_window,name:account_move_template.action_move_template_form
#: model:ir.ui.menu,name:account_move_template.menu_action_move_template_form
msgid "Move Templates"
msgstr ""
#. module: account_move_template
#: field:account.move.template,company_id:0
msgid "Company"
msgstr ""
#. module: account_move_template
#: view:wizard.select.move.template.line:0
msgid "Move Template Line"
msgstr ""
#. module: account_move_template
#: model:ir.model,name:account_move_template.model_account_move_template
msgid "account.move.template"
msgstr ""
#. module: account_move_template
#: field:account.move.template,transitory_acc_id:0
msgid "Transitory account"
msgstr ""
#. module: account_move_template
#: constraint:account.move.template:0
msgid "If the template is \"cross-journals\", the Journals must be different,if the template does not \"cross-journals\" the Journals must be the same!"
msgstr ""
#. module: account_move_template
#: selection:account.document.template.line,type:0
#: selection:account.move.template.line,type:0
msgid "User input"
msgstr ""
#. module: account_move_template
#: field:account.move.template.line,account_id:0
#: field:wizard.select.move.template.line,account_id:0
msgid "Account"
msgstr ""
#. module: account_move_template
#: field:account.document.template,name:0
#: field:account.document.template.line,name:0
#: field:account.move.template,name:0
#: field:account.move.template.line,name:0
#: field:wizard.select.move.template.line,name:0
msgid "Name"
msgstr ""
#. module: account_move_template
#: field:account.move.template,cross_journals:0
msgid "Cross-Journals"
msgstr ""
#. module: account_move_template
#: field:wizard.select.move.template,line_ids:0
msgid "Lines"
msgstr ""
#. module: account_move_template
#: view:account.move.template.line:0
msgid "Journal Entry Template Line"
msgstr ""
#. module: account_move_template
#: model:ir.model,name:account_move_template.model_account_move_template_line
msgid "account.move.template.line"
msgstr ""
#. module: account_move_template
#: code:addons/account_move_template/wizard/select_template.py:98
#, python-format
msgid "At least one amount has to be non-zero!"
msgstr ""
#. module: account_move_template
#: selection:account.move.template.line,move_line_type:0
#: selection:wizard.select.move.template.line,move_line_type:0
msgid "Credit"
msgstr ""
#. module: account_move_template
#: field:wizard.select.move.template.line,amount:0
msgid "Amount"
msgstr ""
#. module: account_move_template
#: view:account.move.template:0
msgid "Journal Entry Template"
msgstr ""
#. module: account_move_template
#: code:addons/account_move_template/account_document_template.py:62
#: code:addons/account_move_template/account_document_template.py:67
#: code:addons/account_move_template/account_document_template.py:76
#, python-format
msgid "Error"
msgstr ""
#. module: account_move_template
#: sql_constraint:account.move.template.line:0
msgid "The sequence of the line must be unique per template !"
msgstr ""
#. module: account_move_template
#: view:wizard.select.move.template:0
msgid "Load"
msgstr ""
#. module: account_move_template
#: view:account.move.template.line:0
msgid "You can refer to other lines using their sequence number (e.g. 'L(1)' for first line). Examples of code: 'L(1) * 0.2'; 'L(2) - L(1)'; 'L(1) + L(2) + L(3)'; '1250'"
msgstr ""
#. module: account_move_template
#: selection:account.document.template.line,type:0
#: selection:account.move.template.line,type:0
msgid "Computed"
msgstr ""
#. module: account_move_template
#: code:addons/account_move_template/wizard/select_template.py:149
#: code:addons/account_move_template/wizard/select_template.py:179
#, python-format
msgid "No Analytic Journal !"
msgstr ""
#. module: account_move_template
#: model:ir.model,name:account_move_template.model_account_document_template_line
msgid "account.document.template.line"
msgstr ""
#. module: account_move_template
#: field:account.document.template.line,python_code:0
#: view:account.move.template.line:0
#: field:account.move.template.line,python_code:0
msgid "Python Code"
msgstr ""
#. module: account_move_template
#: code:addons/account_move_template/account_document_template.py:77
#, python-format
msgid "Inconsistency between input lines and filled lines for template %s"
msgstr ""
#. module: account_move_template
#: field:account.move.template.line,account_tax_id:0
msgid "Tax"
msgstr ""
#. module: account_move_template
#: field:wizard.select.move.template.line,sequence:0
msgid "Number"
msgstr ""
#. module: account_move_template
#: field:account.move.template.line,analytic_account_id:0
msgid "Analytic Account"
msgstr ""
#. module: account_move_template
#: field:account.document.template.line,sequence:0
#: field:account.move.template.line,sequence:0
msgid "Sequence"
msgstr ""
#. module: account_move_template
#: field:account.move.template,template_line_ids:0
#: model:ir.model,name:account_move_template.model_wizard_select_move_template_line
msgid "Template Lines"
msgstr ""
#. module: account_move_template
#: view:wizard.select.move.template:0
msgid "Cancel"
msgstr ""
#. module: account_move_template
#: field:wizard.select.move.template,partner_id:0
msgid "Partner"
msgstr ""
#. module: account_move_template
#: model:ir.model,name:account_move_template.model_account_document_template
msgid "account.document.template"
msgstr ""
#. module: account_move_template
#: field:account.move.template.line,journal_id:0
msgid "Journal"
msgstr ""
#. module: account_move_template
#: code:addons/account_move_template/account_document_template.py:63
#, python-format
msgid "Line %s can't refer to itself"
msgstr ""

View File

@ -0,0 +1,320 @@
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
# * account_move_template
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 6.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-10-18 17:49+0000\n"
"PO-Revision-Date: 2013-10-18 17:39+0000\n"
"Last-Translator: Lorenzo Battistini - Agile BG "
"<lorenzo.battistini@agilebg.com>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2014-06-12 06:31+0000\n"
"X-Generator: Launchpad (build 17041)\n"
#. module: account_move_template
#: code:addons/account_move_template/account_document_template.py:68
#, python-format
msgid "Code \"%s\" refers to non existing line"
msgstr ""
#. module: account_move_template
#: field:account.move.template.line,move_line_type:0
#: field:wizard.select.move.template.line,move_line_type:0
msgid "Move Line Type"
msgstr "Tipo di movimento"
#. module: account_move_template
#: selection:wizard.select.move.template,state:0
msgid "Template selected"
msgstr "Template selezionato"
#. module: account_move_template
#: view:wizard.select.move.template:0
#: field:wizard.select.move.template,template_id:0
msgid "Move Template"
msgstr "Template di registrazione"
#. module: account_move_template
#: model:ir.actions.act_window,name:account_move_template.action_wizard_select_template
msgid "Select Move Template"
msgstr "Scegli template di registrazione"
#. module: account_move_template
#: model:ir.model,name:account_move_template.model_wizard_select_move_template
msgid "wizard.select.move.template"
msgstr "wizard.select.move.template"
#. module: account_move_template
#: view:wizard.select.move.template:0
msgid "Next"
msgstr "Avanti"
#. module: account_move_template
#: field:wizard.select.move.template,state:0
msgid "State"
msgstr "State"
#. module: account_move_template
#: code:addons/account_move_template/wizard/select_template.py:150
#: code:addons/account_move_template/wizard/select_template.py:180
#, python-format
msgid "You have to define an analytic journal on the '%s' journal!"
msgstr "E' necessario definire un giornale analitico sul sezionale '%s'!"
#. module: account_move_template
#: field:account.move.template.line,template_id:0
#: field:wizard.select.move.template.line,template_id:0
msgid "Template"
msgstr "Template"
#. module: account_move_template
#: selection:account.move.template.line,move_line_type:0
#: selection:wizard.select.move.template.line,move_line_type:0
msgid "Debit"
msgstr "Dare"
#. module: account_move_template
#: code:addons/account_move_template/wizard/select_template.py:106
#, python-format
msgid "No period found !"
msgstr "Nessun periodo trovato!"
#. module: account_move_template
#: field:account.document.template.line,type:0
#: field:account.move.template.line,type:0
msgid "Type"
msgstr "Tipo"
#. module: account_move_template
#: model:ir.actions.act_window,name:account_move_template.action_wizard_select_template_by_move
#: model:ir.ui.menu,name:account_move_template.menu_action_wizard_select_template
msgid "Create Move from Template"
msgstr "Crea registrazione da template"
#. module: account_move_template
#: code:addons/account_move_template/wizard/select_template.py:98
#, python-format
msgid "Error !"
msgstr "Errore !"
#. module: account_move_template
#: code:addons/account_move_template/wizard/select_template.py:106
#, python-format
msgid "Unable to find a valid period !"
msgstr "Impossibile trovare un periodo valido!"
#. module: account_move_template
#: model:ir.actions.act_window,name:account_move_template.action_move_template_form
#: model:ir.ui.menu,name:account_move_template.menu_action_move_template_form
msgid "Move Templates"
msgstr "Template di registrazioni"
#. module: account_move_template
#: field:account.move.template,company_id:0
msgid "Company"
msgstr "Azienda"
#. module: account_move_template
#: view:wizard.select.move.template.line:0
msgid "Move Template Line"
msgstr "Riga template di registrazione"
#. module: account_move_template
#: model:ir.model,name:account_move_template.model_account_move_template
msgid "account.move.template"
msgstr "account.move.template"
#. module: account_move_template
#: field:account.move.template,transitory_acc_id:0
msgid "Transitory account"
msgstr "Transitory account"
#. module: account_move_template
#: constraint:account.move.template:0
msgid ""
"If the template is \"cross-journals\", the Journals must be different,if the "
"template does not \"cross-journals\" the Journals must be the same!"
msgstr ""
#. module: account_move_template
#: selection:account.document.template.line,type:0
#: selection:account.move.template.line,type:0
msgid "User input"
msgstr "Input utente"
#. module: account_move_template
#: field:account.move.template.line,account_id:0
#: field:wizard.select.move.template.line,account_id:0
msgid "Account"
msgstr "Conto"
#. module: account_move_template
#: field:account.document.template,name:0
#: field:account.document.template.line,name:0
#: field:account.move.template,name:0
#: field:account.move.template.line,name:0
#: field:wizard.select.move.template.line,name:0
msgid "Name"
msgstr "Nome"
#. module: account_move_template
#: field:account.move.template,cross_journals:0
msgid "Cross-Journals"
msgstr "Cross-Journals"
#. module: account_move_template
#: field:wizard.select.move.template,line_ids:0
msgid "Lines"
msgstr "Righe"
#. module: account_move_template
#: view:account.move.template.line:0
msgid "Journal Entry Template Line"
msgstr "Riga del template di registrazione"
#. module: account_move_template
#: model:ir.model,name:account_move_template.model_account_move_template_line
msgid "account.move.template.line"
msgstr "account.move.template.line"
#. module: account_move_template
#: code:addons/account_move_template/wizard/select_template.py:98
#, python-format
msgid "At least one amount has to be non-zero!"
msgstr "Almeno un importo deve essere diverso da zero!"
#. module: account_move_template
#: selection:account.move.template.line,move_line_type:0
#: selection:wizard.select.move.template.line,move_line_type:0
msgid "Credit"
msgstr "Avere"
#. module: account_move_template
#: field:wizard.select.move.template.line,amount:0
msgid "Amount"
msgstr "Importo"
#. module: account_move_template
#: view:account.move.template:0
msgid "Journal Entry Template"
msgstr "Template di registrazione contabile"
#. module: account_move_template
#: code:addons/account_move_template/account_document_template.py:62
#: code:addons/account_move_template/account_document_template.py:67
#: code:addons/account_move_template/account_document_template.py:76
#, python-format
msgid "Error"
msgstr "Errore"
#. module: account_move_template
#: sql_constraint:account.move.template.line:0
msgid "The sequence of the line must be unique per template !"
msgstr "Il numero della riga deve essere unico per template!"
#. module: account_move_template
#: view:wizard.select.move.template:0
msgid "Load"
msgstr "Carica"
#. module: account_move_template
#: view:account.move.template.line:0
msgid ""
"You can refer to other lines using their sequence number (e.g. 'L(1)' for "
"first line). Examples of code: 'L(1) * 0.2'; 'L(2) - L(1)'; 'L(1) + L(2) + "
"L(3)'; '1250'"
msgstr ""
"Si può fare riferimento alle altre righe usando il loro numero di sequenza "
"(ad es. 'L(1)' per la prima riga). Esempi di codice: 'L(1) * 0.2'; 'L(2) - "
"L(1)'; 'L(1) + L(2) + L(3)'; '1250'"
#. module: account_move_template
#: selection:account.document.template.line,type:0
#: selection:account.move.template.line,type:0
msgid "Computed"
msgstr "Calcolato"
#. module: account_move_template
#: code:addons/account_move_template/wizard/select_template.py:149
#: code:addons/account_move_template/wizard/select_template.py:179
#, python-format
msgid "No Analytic Journal !"
msgstr "Nessun giornale analitico!"
#. module: account_move_template
#: model:ir.model,name:account_move_template.model_account_document_template_line
msgid "account.document.template.line"
msgstr "account.document.template.line"
#. module: account_move_template
#: field:account.document.template.line,python_code:0
#: view:account.move.template.line:0
#: field:account.move.template.line,python_code:0
msgid "Python Code"
msgstr "Codice python"
#. module: account_move_template
#: code:addons/account_move_template/account_document_template.py:77
#, python-format
msgid "Inconsistency between input lines and filled lines for template %s"
msgstr ""
"Inconsistenza fra le righe di input previste ed inserite per il template %s"
#. module: account_move_template
#: field:account.move.template.line,account_tax_id:0
msgid "Tax"
msgstr "Imposta"
#. module: account_move_template
#: field:wizard.select.move.template.line,sequence:0
msgid "Number"
msgstr "Numero"
#. module: account_move_template
#: field:account.move.template.line,analytic_account_id:0
msgid "Analytic Account"
msgstr "Conto analitico"
#. module: account_move_template
#: field:account.document.template.line,sequence:0
#: field:account.move.template.line,sequence:0
msgid "Sequence"
msgstr "Numero Sequenza"
#. module: account_move_template
#: field:account.move.template,template_line_ids:0
#: model:ir.model,name:account_move_template.model_wizard_select_move_template_line
msgid "Template Lines"
msgstr "Righe template"
#. module: account_move_template
#: view:wizard.select.move.template:0
msgid "Cancel"
msgstr "Annulla"
#. module: account_move_template
#: field:wizard.select.move.template,partner_id:0
msgid "Partner"
msgstr "Partner"
#. module: account_move_template
#: model:ir.model,name:account_move_template.model_account_document_template
msgid "account.document.template"
msgstr "account.document.template"
#. module: account_move_template
#: field:account.move.template.line,journal_id:0
msgid "Journal"
msgstr "Sezionale"
#. module: account_move_template
#: code:addons/account_move_template/account_document_template.py:63
#, python-format
msgid "Line %s can't refer to itself"
msgstr ""

View File

@ -0,0 +1,316 @@
# Brazilian Portuguese translation for account-financial-tools
# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014
# This file is distributed under the same license as the account-financial-tools package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2014.
#
msgid ""
msgstr ""
"Project-Id-Version: account-financial-tools\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2013-10-18 17:49+0000\n"
"PO-Revision-Date: 2014-01-10 11:33+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Brazilian Portuguese <pt_BR@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2014-06-12 06:31+0000\n"
"X-Generator: Launchpad (build 17041)\n"
#. module: account_move_template
#: code:addons/account_move_template/account_document_template.py:68
#, python-format
msgid "Code \"%s\" refers to non existing line"
msgstr ""
#. module: account_move_template
#: field:account.move.template.line,move_line_type:0
#: field:wizard.select.move.template.line,move_line_type:0
msgid "Move Line Type"
msgstr ""
#. module: account_move_template
#: selection:wizard.select.move.template,state:0
msgid "Template selected"
msgstr ""
#. module: account_move_template
#: view:wizard.select.move.template:0
#: field:wizard.select.move.template,template_id:0
msgid "Move Template"
msgstr ""
#. module: account_move_template
#: model:ir.actions.act_window,name:account_move_template.action_wizard_select_template
msgid "Select Move Template"
msgstr ""
#. module: account_move_template
#: model:ir.model,name:account_move_template.model_wizard_select_move_template
msgid "wizard.select.move.template"
msgstr ""
#. module: account_move_template
#: view:wizard.select.move.template:0
msgid "Next"
msgstr ""
#. module: account_move_template
#: field:wizard.select.move.template,state:0
msgid "State"
msgstr ""
#. module: account_move_template
#: code:addons/account_move_template/wizard/select_template.py:150
#: code:addons/account_move_template/wizard/select_template.py:180
#, python-format
msgid "You have to define an analytic journal on the '%s' journal!"
msgstr ""
#. module: account_move_template
#: field:account.move.template.line,template_id:0
#: field:wizard.select.move.template.line,template_id:0
msgid "Template"
msgstr ""
#. module: account_move_template
#: selection:account.move.template.line,move_line_type:0
#: selection:wizard.select.move.template.line,move_line_type:0
msgid "Debit"
msgstr ""
#. module: account_move_template
#: code:addons/account_move_template/wizard/select_template.py:106
#, python-format
msgid "No period found !"
msgstr ""
#. module: account_move_template
#: field:account.document.template.line,type:0
#: field:account.move.template.line,type:0
msgid "Type"
msgstr ""
#. module: account_move_template
#: model:ir.actions.act_window,name:account_move_template.action_wizard_select_template_by_move
#: model:ir.ui.menu,name:account_move_template.menu_action_wizard_select_template
msgid "Create Move from Template"
msgstr ""
#. module: account_move_template
#: code:addons/account_move_template/wizard/select_template.py:98
#, python-format
msgid "Error !"
msgstr ""
#. module: account_move_template
#: code:addons/account_move_template/wizard/select_template.py:106
#, python-format
msgid "Unable to find a valid period !"
msgstr ""
#. module: account_move_template
#: model:ir.actions.act_window,name:account_move_template.action_move_template_form
#: model:ir.ui.menu,name:account_move_template.menu_action_move_template_form
msgid "Move Templates"
msgstr ""
#. module: account_move_template
#: field:account.move.template,company_id:0
msgid "Company"
msgstr ""
#. module: account_move_template
#: view:wizard.select.move.template.line:0
msgid "Move Template Line"
msgstr ""
#. module: account_move_template
#: model:ir.model,name:account_move_template.model_account_move_template
msgid "account.move.template"
msgstr ""
#. module: account_move_template
#: field:account.move.template,transitory_acc_id:0
msgid "Transitory account"
msgstr ""
#. module: account_move_template
#: constraint:account.move.template:0
msgid ""
"If the template is \"cross-journals\", the Journals must be different,if the "
"template does not \"cross-journals\" the Journals must be the same!"
msgstr ""
#. module: account_move_template
#: selection:account.document.template.line,type:0
#: selection:account.move.template.line,type:0
msgid "User input"
msgstr ""
#. module: account_move_template
#: field:account.move.template.line,account_id:0
#: field:wizard.select.move.template.line,account_id:0
msgid "Account"
msgstr ""
#. module: account_move_template
#: field:account.document.template,name:0
#: field:account.document.template.line,name:0
#: field:account.move.template,name:0
#: field:account.move.template.line,name:0
#: field:wizard.select.move.template.line,name:0
msgid "Name"
msgstr ""
#. module: account_move_template
#: field:account.move.template,cross_journals:0
msgid "Cross-Journals"
msgstr ""
#. module: account_move_template
#: field:wizard.select.move.template,line_ids:0
msgid "Lines"
msgstr ""
#. module: account_move_template
#: view:account.move.template.line:0
msgid "Journal Entry Template Line"
msgstr ""
#. module: account_move_template
#: model:ir.model,name:account_move_template.model_account_move_template_line
msgid "account.move.template.line"
msgstr ""
#. module: account_move_template
#: code:addons/account_move_template/wizard/select_template.py:98
#, python-format
msgid "At least one amount has to be non-zero!"
msgstr ""
#. module: account_move_template
#: selection:account.move.template.line,move_line_type:0
#: selection:wizard.select.move.template.line,move_line_type:0
msgid "Credit"
msgstr ""
#. module: account_move_template
#: field:wizard.select.move.template.line,amount:0
msgid "Amount"
msgstr ""
#. module: account_move_template
#: view:account.move.template:0
msgid "Journal Entry Template"
msgstr ""
#. module: account_move_template
#: code:addons/account_move_template/account_document_template.py:62
#: code:addons/account_move_template/account_document_template.py:67
#: code:addons/account_move_template/account_document_template.py:76
#, python-format
msgid "Error"
msgstr ""
#. module: account_move_template
#: sql_constraint:account.move.template.line:0
msgid "The sequence of the line must be unique per template !"
msgstr ""
#. module: account_move_template
#: view:wizard.select.move.template:0
msgid "Load"
msgstr ""
#. module: account_move_template
#: view:account.move.template.line:0
msgid ""
"You can refer to other lines using their sequence number (e.g. 'L(1)' for "
"first line). Examples of code: 'L(1) * 0.2'; 'L(2) - L(1)'; 'L(1) + L(2) + "
"L(3)'; '1250'"
msgstr ""
#. module: account_move_template
#: selection:account.document.template.line,type:0
#: selection:account.move.template.line,type:0
msgid "Computed"
msgstr ""
#. module: account_move_template
#: code:addons/account_move_template/wizard/select_template.py:149
#: code:addons/account_move_template/wizard/select_template.py:179
#, python-format
msgid "No Analytic Journal !"
msgstr ""
#. module: account_move_template
#: model:ir.model,name:account_move_template.model_account_document_template_line
msgid "account.document.template.line"
msgstr ""
#. module: account_move_template
#: field:account.document.template.line,python_code:0
#: view:account.move.template.line:0
#: field:account.move.template.line,python_code:0
msgid "Python Code"
msgstr ""
#. module: account_move_template
#: code:addons/account_move_template/account_document_template.py:77
#, python-format
msgid "Inconsistency between input lines and filled lines for template %s"
msgstr ""
#. module: account_move_template
#: field:account.move.template.line,account_tax_id:0
msgid "Tax"
msgstr ""
#. module: account_move_template
#: field:wizard.select.move.template.line,sequence:0
msgid "Number"
msgstr ""
#. module: account_move_template
#: field:account.move.template.line,analytic_account_id:0
msgid "Analytic Account"
msgstr ""
#. module: account_move_template
#: field:account.document.template.line,sequence:0
#: field:account.move.template.line,sequence:0
msgid "Sequence"
msgstr ""
#. module: account_move_template
#: field:account.move.template,template_line_ids:0
#: model:ir.model,name:account_move_template.model_wizard_select_move_template_line
msgid "Template Lines"
msgstr ""
#. module: account_move_template
#: view:wizard.select.move.template:0
msgid "Cancel"
msgstr ""
#. module: account_move_template
#: field:wizard.select.move.template,partner_id:0
msgid "Partner"
msgstr ""
#. module: account_move_template
#: model:ir.model,name:account_move_template.model_account_document_template
msgid "account.document.template"
msgstr ""
#. module: account_move_template
#: field:account.move.template.line,journal_id:0
msgid "Journal"
msgstr ""
#. module: account_move_template
#: code:addons/account_move_template/account_document_template.py:63
#, python-format
msgid "Line %s can't refer to itself"
msgstr ""

View File

@ -0,0 +1,94 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_move_template_line_tree" model="ir.ui.view">
<field name="name">account.move.template.line.tree</field>
<field name="model">account.move.template.line</field>
<field name="arch" type="xml">
<tree string="Journal Entry Template Line">
<field name="sequence"/>
<field name="name"/>
<field name="journal_id"/>
<field name="account_id" />
<field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
<field name="type"/>
<field name="python_code" />
<field name="move_line_type"/>
<field name="account_tax_id"/>
</tree>
</field>
</record>
<record id="view_move_template_line_form" model="ir.ui.view">
<field name="name">account.move.template.line.form</field>
<field name="model">account.move.template.line</field>
<field name="arch" type="xml">
<form string="Journal Entry Template Line">
<field colspan="4" name="name" select="1"/>
<field name="sequence"/>
<field name="journal_id"/>
<field name="account_id" domain="[('type','&lt;&gt;','view'),('type','&lt;&gt;','consolidation')]"/>
<field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
<field name="type"/>
<field name="move_line_type"/>
<field name="account_tax_id"/>
<separator string="Python Code" colspan="4"/>
<field name="python_code" colspan="4" attrs="{'readonly': [('type', '!=', 'computed')]}" nolabel="1"/>
<label string="You can refer to other lines using their sequence number (e.g. 'L(1)' for first line). Examples of code: 'L(1) * 0.2'; 'L(2) - L(1)'; 'L(1) + L(2) + L(3)'; '1250'" colspan="4"/>
</form>
</field>
</record>
<record id="view_move_template_form" model="ir.ui.view">
<field name="name">account.move.template.form</field>
<field name="model">account.move.template</field>
<field name="arch" type="xml">
<form string="Journal Entry Template">
<field name="name"/>
<field name="company_id" widget='selection' groups="base.group_multi_company"/>
<field name="cross_journals" />
<field name="transitory_acc_id" attrs="{'invisible':[('cross_journals','!=',True)],'required':[('cross_journals','==',True)]}"/>
<field colspan="4" nolabel="1" name="template_line_ids"/>
</form>
</field>
</record>
<record id="view_move_template_tree" model="ir.ui.view">
<field name="name">account.move.template.tree</field>
<field name="model">account.move.template</field>
<field name="arch" type="xml">
<tree string="Journal Entry Template">
<field name="name"/>
<field name="company_id" groups="base.group_multi_company"/>
</tree>
</field>
</record>
<record id="view_move_template_search" model="ir.ui.view">
<field name="name">account.move.template.search</field>
<field name="model">account.move.template</field>
<field name="arch" type="xml">
<search string="Journal Entry Template">
<group>
<separator orientation="vertical"/>
<field name="name"/>
<field name="company_id" widget="selection" groups="base.group_multi_company"/>
</group>
</search>
</field>
</record>
<record id="action_move_template_form" model="ir.actions.act_window">
<field name="name">Move Templates</field>
<field name="res_model">account.move.template</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="search_view_id" ref="view_move_template_search"/>
</record>
<menuitem
action="action_move_template_form" id="menu_action_move_template_form" sequence="5"
parent="account.menu_configuration_misc" groups="account.group_account_manager"/>
</data>
</openerp>

View File

@ -0,0 +1,9 @@
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
"access_account_document_template_user","account_document_template_user","model_account_document_template","account.group_account_user","1","1","1","1"
"access_account_document_template_manager","account_document_template_manager","model_account_document_template","account.group_account_manager","1","1","1","1"
"access_account_document_template_line_user","account_document_template_line_user","model_account_document_template_line","account.group_account_user","1","1","1","1"
"access_account_document_template_line_manager","account_document_template_line_manager","model_account_document_template_line","account.group_account_manager","1","1","1","1"
"access_account_move_template_user","account_move_template_user","model_account_move_template","account.group_account_user","1","1","1","1"
"access_account_move_template_manager","account_move_template_manager","model_account_move_template","account.group_account_manager","1","1","1","1"
"access_account_move_template_line_user","account_move_template_line_user","model_account_move_template_line","account.group_account_user","1","1","1","1"
"access_account_move_template_line_manager","account_move_template_line_manager","model_account_move_template_line","account.group_account_manager","1","1","1","1"
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_account_document_template_user account_document_template_user model_account_document_template account.group_account_user 1 1 1 1
3 access_account_document_template_manager account_document_template_manager model_account_document_template account.group_account_manager 1 1 1 1
4 access_account_document_template_line_user account_document_template_line_user model_account_document_template_line account.group_account_user 1 1 1 1
5 access_account_document_template_line_manager account_document_template_line_manager model_account_document_template_line account.group_account_manager 1 1 1 1
6 access_account_move_template_user account_move_template_user model_account_move_template account.group_account_user 1 1 1 1
7 access_account_move_template_manager account_move_template_manager model_account_move_template account.group_account_manager 1 1 1 1
8 access_account_move_template_line_user account_move_template_line_user model_account_move_template_line account.group_account_user 1 1 1 1
9 access_account_move_template_line_manager account_move_template_line_manager model_account_move_template_line account.group_account_manager 1 1 1 1

View File

@ -0,0 +1,52 @@
-
I first create a move template for received bank payment. Two lines, bank and credit
-
!record {model: account.move.template, id: move_template_1}:
company_id: base.main_company
name: "First template"
template_line_ids:
- name: "Bank"
sequence: 1
journal_id: account.bank_journal
account_id: account.bnk
type: 'input'
move_line_type: 'dr'
- name: "Credit"
sequence: 2
journal_id: account.bank_journal
account_id: account.a_recv
type: 'computed'
move_line_type: 'cr'
python_code: 'L(1)'
-
I use "Select Move Template" wizard to generate move
-
!record {model: wizard.select.move.template, id: wizard_select_move_template_1}:
template_id: move_template_1
-
I click on Next Button
-
!python {model: wizard.select.move.template}: |
self.load_lines(cr, uid, [ref("wizard_select_move_template_1")])
-
I verify that wizard lines are created and write the amount line
-
!python {model: wizard.select.move.template}: |
wizard = self.browse(cr, uid, ref('wizard_select_move_template_1'))
assert(len(wizard.line_ids) == 1), ('Wrong number of wizard lines')
wizard.line_ids[0].write({'amount': 100.0})
-
I click on Load Button and check the created move
-
!python {model: wizard.select.move.template}: |
action = self.load_template(cr, uid, [ref("wizard_select_move_template_1")])
move_obj = self.pool.get('account.move')
domain_list = eval(action['domain'])
for move_id in domain_list[0][2]:
move = move_obj.browse(cr, uid, move_id)
for line in move.line_id:
assert(line.state == 'valid'), ('Move lines must be valid')

View File

@ -0,0 +1,78 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="wizard_select_template" model="ir.ui.view">
<field name="name">Select Move Template</field>
<field name="model">wizard.select.move.template</field>
<field name="arch" type="xml">
<form string="Move Template" >
<group col="2" width="600" height="500">
<group>
<field name="template_id" colspan="2" attrs="{'invisible':[('state','=','template_selected')]}"/>
<field name="partner_id" colspan="2" attrs="{'invisible':[('state','=','template_selected')]}"/>
<field name="line_ids" colspan="2" nolabel="1" attrs="{'invisible':[('state','!=','template_selected')]}"/>
<field name="state" invisible="1"/>
</group>
<newline/>
<group col="3">
<button icon="gtk-cancel" special="cancel" string="Cancel" colspan="1"/>
<button icon="gtk-ok" name="load_template" string="Load" type="object" colspan="1" attrs="{'invisible':[('state','!=','template_selected')]}" />
<button name="load_lines" string="Next" icon="terp-gtk-go-back-rtl" type="object" colspan="1" attrs="{'invisible':[('state','=','template_selected')]}" />
</group>
</group>
</form>
</field>
</record>
<record id="wizard_select_template_line" model="ir.ui.view">
<field name="name">Select Move Template Line</field>
<field name="model">wizard.select.move.template.line</field>
<field name="arch" type="xml">
<form string="Move Template Line">
<group col="2">
<field name="sequence" invisible="1"/>
<field name="name" />
<field name="account_id" />
<field name="move_line_type" />
<field name="amount" />
</group>
</form>
</field>
</record>
<record id="wizard_select_template_line_tree" model="ir.ui.view">
<field name="name">Select Move Template Line</field>
<field name="model">wizard.select.move.template.line</field>
<field name="arch" type="xml">
<tree string="Move Template Line" editable="bottom">
<field name="sequence" invisible="1"/>
<field name="name" />
<field name="account_id" />
<field name="move_line_type" />
<field name="amount" />
</tree>
</field>
</record>
<record id="action_wizard_select_template" model="ir.actions.act_window">
<field name="name">Select Move Template</field>
<field name="res_model">wizard.select.move.template</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="view_id" ref="wizard_select_template"/>
<field name="target">new</field>
</record>
<act_window name="Create Move from Template"
res_model="wizard.select.move.template"
src_model="account.move"
view_mode="form"
target="new"
key2="client_action_multi"
id="action_wizard_select_template_by_move"
view_id="wizard_select_template"/>
<menuitem name="Create Move from Template" action="action_wizard_select_template" id="menu_action_wizard_select_template" sequence="10" parent="account.menu_finance_entries"/>
</data>
</openerp>