From 38eaa4c7b8532764cd3ae327a2251ba88fa0d053 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Tue, 1 Oct 2019 05:50:59 +0000 Subject: [PATCH] Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: contract-12.0/contract-12.0-contract_variable_quantity Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract_variable_quantity/ --- contract_variable_quantity/i18n/am.po | 137 +++++++++------- contract_variable_quantity/i18n/ar.po | 137 +++++++++------- contract_variable_quantity/i18n/bg.po | 137 +++++++++------- contract_variable_quantity/i18n/bs.po | 137 +++++++++------- contract_variable_quantity/i18n/ca.po | 141 ++++++++++------- contract_variable_quantity/i18n/cs.po | 137 +++++++++------- contract_variable_quantity/i18n/da.po | 137 +++++++++------- contract_variable_quantity/i18n/de.po | 141 ++++++++++------- contract_variable_quantity/i18n/el_GR.po | 140 ++++++++++------- contract_variable_quantity/i18n/en_GB.po | 137 +++++++++------- contract_variable_quantity/i18n/es.po | 164 +++++++++++++------- contract_variable_quantity/i18n/es_AR.po | 137 +++++++++------- contract_variable_quantity/i18n/es_CO.po | 137 +++++++++------- contract_variable_quantity/i18n/es_CR.po | 137 +++++++++------- contract_variable_quantity/i18n/es_DO.po | 137 +++++++++------- contract_variable_quantity/i18n/es_EC.po | 137 +++++++++------- contract_variable_quantity/i18n/es_ES.po | 137 +++++++++------- contract_variable_quantity/i18n/es_MX.po | 140 ++++++++++------- contract_variable_quantity/i18n/es_PY.po | 137 +++++++++------- contract_variable_quantity/i18n/es_VE.po | 137 +++++++++------- contract_variable_quantity/i18n/et.po | 137 +++++++++------- contract_variable_quantity/i18n/eu.po | 137 +++++++++------- contract_variable_quantity/i18n/fa.po | 137 +++++++++------- contract_variable_quantity/i18n/fi.po | 140 ++++++++++------- contract_variable_quantity/i18n/fr.po | 57 +++---- contract_variable_quantity/i18n/fr_CA.po | 137 +++++++++------- contract_variable_quantity/i18n/fr_CH.po | 137 +++++++++------- contract_variable_quantity/i18n/gl.po | 140 ++++++++++------- contract_variable_quantity/i18n/gl_ES.po | 137 +++++++++------- contract_variable_quantity/i18n/he.po | 137 +++++++++------- contract_variable_quantity/i18n/hi_IN.po | 143 ++++++++++------- contract_variable_quantity/i18n/hr.po | 147 +++++++++++------- contract_variable_quantity/i18n/hr_HR.po | 164 +++++++++++++------- contract_variable_quantity/i18n/hu.po | 140 ++++++++++------- contract_variable_quantity/i18n/id.po | 137 +++++++++------- contract_variable_quantity/i18n/it.po | 140 ++++++++++------- contract_variable_quantity/i18n/ja.po | 137 +++++++++------- contract_variable_quantity/i18n/ko.po | 137 +++++++++------- contract_variable_quantity/i18n/lt.po | 137 +++++++++------- contract_variable_quantity/i18n/lt_LT.po | 137 +++++++++------- contract_variable_quantity/i18n/lv.po | 137 +++++++++------- contract_variable_quantity/i18n/mk.po | 137 +++++++++------- contract_variable_quantity/i18n/mn.po | 137 +++++++++------- contract_variable_quantity/i18n/nb.po | 137 +++++++++------- contract_variable_quantity/i18n/nb_NO.po | 137 +++++++++------- contract_variable_quantity/i18n/nl.po | 141 ++++++++++------- contract_variable_quantity/i18n/nl_BE.po | 137 +++++++++------- contract_variable_quantity/i18n/nl_NL.po | 137 +++++++++------- contract_variable_quantity/i18n/pl.po | 137 +++++++++------- contract_variable_quantity/i18n/pt.po | 164 +++++++++++++------- contract_variable_quantity/i18n/pt_BR.po | 140 ++++++++++------- contract_variable_quantity/i18n/pt_PT.po | 140 ++++++++++------- contract_variable_quantity/i18n/ro.po | 140 ++++++++++------- contract_variable_quantity/i18n/ru.po | 137 +++++++++------- contract_variable_quantity/i18n/sk.po | 137 +++++++++------- contract_variable_quantity/i18n/sk_SK.po | 140 ++++++++++------- contract_variable_quantity/i18n/sl.po | 140 ++++++++++------- contract_variable_quantity/i18n/sr.po | 137 +++++++++------- contract_variable_quantity/i18n/sr@latin.po | 137 +++++++++------- contract_variable_quantity/i18n/sv.po | 137 +++++++++------- contract_variable_quantity/i18n/th.po | 137 +++++++++------- contract_variable_quantity/i18n/tr.po | 140 ++++++++++------- contract_variable_quantity/i18n/tr_TR.po | 141 ++++++++++------- contract_variable_quantity/i18n/uk.po | 137 +++++++++------- contract_variable_quantity/i18n/vi.po | 137 +++++++++------- contract_variable_quantity/i18n/vi_VN.po | 137 +++++++++------- contract_variable_quantity/i18n/zh.po | 164 +++++++++++++------- contract_variable_quantity/i18n/zh_CN.po | 140 ++++++++++------- contract_variable_quantity/i18n/zh_TW.po | 137 +++++++++------- 69 files changed, 5591 insertions(+), 3961 deletions(-) diff --git a/contract_variable_quantity/i18n/am.po b/contract_variable_quantity/i18n/am.po index 13a8db88..b6dcc98d 100644 --- a/contract_variable_quantity/i18n/am.po +++ b/contract_variable_quantity/i18n/am.po @@ -19,78 +19,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Creado por" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Creado en" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -98,13 +122,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -115,90 +140,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Última actualización por" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Última actualización en" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/ar.po b/contract_variable_quantity/i18n/ar.po index 460f8acf..21f58373 100644 --- a/contract_variable_quantity/i18n/ar.po +++ b/contract_variable_quantity/i18n/ar.po @@ -20,78 +20,102 @@ msgstr "" "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "أنشئ بواسطة" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "أنشئ في" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "المعرف" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "آخر تحديث بواسطة" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "آخر تحديث في" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "الاسم" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/bg.po b/contract_variable_quantity/i18n/bg.po index 479647aa..e2e5b393 100644 --- a/contract_variable_quantity/i18n/bg.po +++ b/contract_variable_quantity/i18n/bg.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "Код" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Създадено от" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Създадено на" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "Последно обновено на" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Последно обновено от" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Последно обновено на" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Име" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/bs.po b/contract_variable_quantity/i18n/bs.po index cebb9b4f..6979c105 100644 --- a/contract_variable_quantity/i18n/bs.po +++ b/contract_variable_quantity/i18n/bs.po @@ -20,78 +20,102 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Kreirao" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Kreirano" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Naziv" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/ca.po b/contract_variable_quantity/i18n/ca.po index 4444f641..7e8eab91 100644 --- a/contract_variable_quantity/i18n/ca.po +++ b/contract_variable_quantity/i18n/ca.po @@ -19,78 +19,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "Compte analític" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "Codi" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Creat per" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Creat el" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -98,13 +122,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -115,90 +140,92 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Darrera Actualització per" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Darrera Actualització el" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Nom" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "account.analytic.invoice.line" +#~ msgid "Analytic Account" +#~ msgstr "Compte analític" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "" +#~ msgid "account.analytic.invoice.line" +#~ msgstr "account.analytic.invoice.line" diff --git a/contract_variable_quantity/i18n/cs.po b/contract_variable_quantity/i18n/cs.po index 7e5aa2ba..26892ffa 100644 --- a/contract_variable_quantity/i18n/cs.po +++ b/contract_variable_quantity/i18n/cs.po @@ -19,78 +19,102 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Vytvořil(a)" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Vytvořeno" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -98,13 +122,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -115,90 +140,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Naposled upraveno" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Naposled upraveno" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Název" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/da.po b/contract_variable_quantity/i18n/da.po index c9025bb8..6d19a1b4 100644 --- a/contract_variable_quantity/i18n/da.po +++ b/contract_variable_quantity/i18n/da.po @@ -19,78 +19,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Oprettet af" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Oprettet den" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -98,13 +122,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -115,90 +140,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "Id" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Sidst opdateret af" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Sidst opdateret den" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Navn" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/de.po b/contract_variable_quantity/i18n/de.po index 66d30467..fd673430 100644 --- a/contract_variable_quantity/i18n/de.po +++ b/contract_variable_quantity/i18n/de.po @@ -19,78 +19,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "Kostenstelle" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "Schlüssel" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Erstellt von" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Erstellt am:" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "Anzeigebezeichnung" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -98,13 +122,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -115,90 +140,92 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "Zuletzt geändert am" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Zuletzt aktualisiert von" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Zuletzt aktualisiert am" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Name" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "account.analytic.invoice.line" +#~ msgid "Analytic Account" +#~ msgstr "Kostenstelle" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "" +#~ msgid "account.analytic.invoice.line" +#~ msgstr "account.analytic.invoice.line" diff --git a/contract_variable_quantity/i18n/el_GR.po b/contract_variable_quantity/i18n/el_GR.po index 5d9ef4c2..1f7904f1 100644 --- a/contract_variable_quantity/i18n/el_GR.po +++ b/contract_variable_quantity/i18n/el_GR.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "Αναλυτικός Λογαριασμός" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Δημιουργήθηκε από " #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Δημιουργήθηκε στις" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,89 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "Κωδικός" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Τελευταία ενημέρωση από" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Τελευταία ενημέρωση στις" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Ονομασία" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "" +#~ msgid "Analytic Account" +#~ msgstr "Αναλυτικός Λογαριασμός" diff --git a/contract_variable_quantity/i18n/en_GB.po b/contract_variable_quantity/i18n/en_GB.po index bab7d73f..14a72891 100644 --- a/contract_variable_quantity/i18n/en_GB.po +++ b/contract_variable_quantity/i18n/en_GB.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Created by" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Created on" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Last Updated by" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Last Updated on" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Name" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/es.po b/contract_variable_quantity/i18n/es.po index fe3cf460..b93dc254 100644 --- a/contract_variable_quantity/i18n/es.po +++ b/contract_variable_quantity/i18n/es.po @@ -19,11 +19,19 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "" +#| "\n" +#| " result = env['product.product']." +#| "search_count([('sale_ok', '=', True)])\n" +#| " " msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" "\n" @@ -32,71 +40,104 @@ msgstr "" " " #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "context: Diccionario de contexto actual." #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "contract: Contract whose line belongs to." +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "contract: Contrato al que pertenece esta línea." #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "env: Environment variable for getting other models." +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "env: Variable de entorno para obtener otros modelos." #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "invoice: Invoice (header) being created." +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "invoice: Factura (cabecera) siendo creada." #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "" +#| "line: Contract recurring invoice line that triggers this formula." msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" "line: Línea del contrato de facturación recurrente que lanza esta " "fórmula." #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "user: Usuario actual." #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "Cuenta analítica" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "Pulse para crear una nueva fórmula para cantidades variables." #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "Código" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +#, fuzzy +#| msgid "contract.line.qty.formula" +msgid "Contract Line Formula" +msgstr "contract.line.qty.formula" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Creado por" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Creado en" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "Nombre mostrado" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -106,13 +147,14 @@ msgstr "" "Detalles: %s" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "Ejemplo del código Python" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "Cantidad fija" @@ -123,94 +165,102 @@ msgid "Formulas (quantity)" msgstr "Fórmulas (cantidad)" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "Ayuda con las expresiones Python." #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID (identificación)" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" "Si está marcado, las lineas de contrato con cantidad 0 no crearán líneas de " "factura" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "Última modificación en" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Última actualización de" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Última actualización en" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Nombre" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "No se devuelve un valor válido." #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "Formula ctdad." #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "Tipo ctdad." #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "Saltar líneas con cantidad 0" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "Cantidad variable" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "You can use these variables to compute your formula:" +msgid "" +"You can use these variables to compute your\n" +" formula:" msgstr "Puede usar estas variables para calcular su fórmula:" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "" +#| "You have to insert valid Python code block that stores at some moment a " +#| "float/integer value of the quantity to invoice in the variable 'result'." msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" "Debe insertar un bloque de código Python que almacene en algún momento un " "valor entero o decimal de la cantidad a facturar en la variable 'result'." -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "account.analytic.invoice.line" +#~ msgid "Analytic Account" +#~ msgstr "Cuenta analítica" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "contract.line.qty.formula" +#~ msgid "account.analytic.invoice.line" +#~ msgstr "account.analytic.invoice.line" diff --git a/contract_variable_quantity/i18n/es_AR.po b/contract_variable_quantity/i18n/es_AR.po index 0e36620e..6a315d88 100644 --- a/contract_variable_quantity/i18n/es_AR.po +++ b/contract_variable_quantity/i18n/es_AR.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Creado por" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Creado en" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Última actualización realizada por" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Última actualización el" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Nombre" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/es_CO.po b/contract_variable_quantity/i18n/es_CO.po index 3e5cff93..4fd9b6b7 100644 --- a/contract_variable_quantity/i18n/es_CO.po +++ b/contract_variable_quantity/i18n/es_CO.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/es_CR.po b/contract_variable_quantity/i18n/es_CR.po index 1528652b..9080bea9 100644 --- a/contract_variable_quantity/i18n/es_CR.po +++ b/contract_variable_quantity/i18n/es_CR.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Creado por" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Creado en" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Ultima actualización por" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Ultima actualización en" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Nombre" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/es_DO.po b/contract_variable_quantity/i18n/es_DO.po index 5e651a9b..fe6ffa55 100644 --- a/contract_variable_quantity/i18n/es_DO.po +++ b/contract_variable_quantity/i18n/es_DO.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID (identificación)" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/es_EC.po b/contract_variable_quantity/i18n/es_EC.po index b16e49e1..8aa705f0 100644 --- a/contract_variable_quantity/i18n/es_EC.po +++ b/contract_variable_quantity/i18n/es_EC.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Nombre" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/es_ES.po b/contract_variable_quantity/i18n/es_ES.po index 5f3b6b43..fabb6373 100644 --- a/contract_variable_quantity/i18n/es_ES.po +++ b/contract_variable_quantity/i18n/es_ES.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Creado por" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Creado en" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Última actualización por" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Última actualización en" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/es_MX.po b/contract_variable_quantity/i18n/es_MX.po index 03b6e733..9e9d9822 100644 --- a/contract_variable_quantity/i18n/es_MX.po +++ b/contract_variable_quantity/i18n/es_MX.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "Cuenta analítica" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Creado por" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Creado en" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,89 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Ultima actualización por" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Ultima actualización en" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Nombre" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "" +#~ msgid "Analytic Account" +#~ msgstr "Cuenta analítica" diff --git a/contract_variable_quantity/i18n/es_PY.po b/contract_variable_quantity/i18n/es_PY.po index 97458e54..e40c5ab7 100644 --- a/contract_variable_quantity/i18n/es_PY.po +++ b/contract_variable_quantity/i18n/es_PY.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/es_VE.po b/contract_variable_quantity/i18n/es_VE.po index acde76d9..d3f9abd0 100644 --- a/contract_variable_quantity/i18n/es_VE.po +++ b/contract_variable_quantity/i18n/es_VE.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Creado por" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Creado en" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Ultima actualización por" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Ultima actualización en" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Nombre" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/et.po b/contract_variable_quantity/i18n/et.po index f65d9d2f..9f017f51 100644 --- a/contract_variable_quantity/i18n/et.po +++ b/contract_variable_quantity/i18n/et.po @@ -19,78 +19,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Loodud" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -98,13 +122,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -115,90 +140,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Nimi" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/eu.po b/contract_variable_quantity/i18n/eu.po index 22c731b7..625f51af 100644 --- a/contract_variable_quantity/i18n/eu.po +++ b/contract_variable_quantity/i18n/eu.po @@ -19,78 +19,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -98,13 +122,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -115,90 +140,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Izena" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/fa.po b/contract_variable_quantity/i18n/fa.po index 2bcea549..699633f9 100644 --- a/contract_variable_quantity/i18n/fa.po +++ b/contract_variable_quantity/i18n/fa.po @@ -19,78 +19,102 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "ایجاد شده توسط" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "ایجاد شده در" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -98,13 +122,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -115,90 +140,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "شناسه" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "آخرین به روز رسانی توسط" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "آخرین به روز رسانی در" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/fi.po b/contract_variable_quantity/i18n/fi.po index 68c4bb22..e750f581 100644 --- a/contract_variable_quantity/i18n/fi.po +++ b/contract_variable_quantity/i18n/fi.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "Analyyttinen tili" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "Koodi" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Luonut" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Luotu" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "Nimi" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,89 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "Viimeksi muokattu" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Viimeksi päivittänyt" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Viimeksi päivitetty" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Nimi" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "" +#~ msgid "Analytic Account" +#~ msgstr "Analyyttinen tili" diff --git a/contract_variable_quantity/i18n/fr.po b/contract_variable_quantity/i18n/fr.po index eec830d6..363268d0 100644 --- a/contract_variable_quantity/i18n/fr.po +++ b/contract_variable_quantity/i18n/fr.po @@ -69,15 +69,10 @@ msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_abstract_analytic_contract_line -msgid "Account Abstract Analytic Contract Line" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "Compte analytique" - #. module: contract_variable_quantity #: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." @@ -89,6 +84,16 @@ msgstr "" msgid "Code" msgstr "Code" +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + #. module: contract_variable_quantity #: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula msgid "Contract Line Formula" @@ -110,7 +115,7 @@ msgid "Display Name" msgstr "Nom affiché" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract_line_formula.py:32 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -123,9 +128,9 @@ msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.abstract.analytic.contract.line,qty_type:0 -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -146,7 +151,7 @@ msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account__skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" @@ -172,34 +177,34 @@ msgid "Name" msgstr "Nom" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract_line_formula.py:34 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_abstract_analytic_contract_line__qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line__qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_abstract_analytic_contract_line__qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line__qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account__skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.abstract.analytic.contract.line,qty_type:0 -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "Quantité variable" @@ -220,7 +225,5 @@ msgid "" " 'result'." msgstr "" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" +#~ msgid "Analytic Account" +#~ msgstr "Compte analytique" diff --git a/contract_variable_quantity/i18n/fr_CA.po b/contract_variable_quantity/i18n/fr_CA.po index 7497df5d..b8d51c34 100644 --- a/contract_variable_quantity/i18n/fr_CA.po +++ b/contract_variable_quantity/i18n/fr_CA.po @@ -23,78 +23,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "Code" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Créé par" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Créé le" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "Afficher le nom" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -102,13 +126,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -119,90 +144,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "Identifiant" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Dernière mise à jour par" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Dernière mise à jour le" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Nom" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/fr_CH.po b/contract_variable_quantity/i18n/fr_CH.po index b41fc315..ba2df428 100644 --- a/contract_variable_quantity/i18n/fr_CH.po +++ b/contract_variable_quantity/i18n/fr_CH.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Créé par" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Créé le" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Modifié par" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Modifié le" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/gl.po b/contract_variable_quantity/i18n/gl.po index dbea7ba6..de0d65df 100644 --- a/contract_variable_quantity/i18n/gl.po +++ b/contract_variable_quantity/i18n/gl.po @@ -21,78 +21,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "Conta analítica" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "Código" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Creado por" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Creado en" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -100,13 +124,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -117,90 +142,89 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "Modificado por última vez o" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "ültima actualización por" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Última actualización en" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Nome" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "" +#~ msgid "Analytic Account" +#~ msgstr "Conta analítica" diff --git a/contract_variable_quantity/i18n/gl_ES.po b/contract_variable_quantity/i18n/gl_ES.po index 7c965e63..c0b9a5e4 100644 --- a/contract_variable_quantity/i18n/gl_ES.po +++ b/contract_variable_quantity/i18n/gl_ES.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/he.po b/contract_variable_quantity/i18n/he.po index 7d5dfd20..4365a072 100644 --- a/contract_variable_quantity/i18n/he.po +++ b/contract_variable_quantity/i18n/he.po @@ -19,78 +19,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "נוצר על ידי" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "נוצר ב-" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -98,13 +122,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -115,90 +140,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "מזהה" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "עודכן לאחרונה על ידי" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "עודכן לאחרונה על" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/hi_IN.po b/contract_variable_quantity/i18n/hi_IN.po index 23dd162a..b073169f 100644 --- a/contract_variable_quantity/i18n/hi_IN.po +++ b/contract_variable_quantity/i18n/hi_IN.po @@ -20,78 +20,104 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "विश्लेषणात्मक खाता" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +#, fuzzy +#| msgid "contract.line.qty.formula" +msgid "Contract Line Formula" +msgstr "contract.line.qty.formula" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "द्वारा बनाया गया" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "को निर्मित" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +125,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +143,92 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "आईडी" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "अंतिम बार संशोधित" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "द्वारा अंतिम अद्यतन" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "अंतिम बार अद्यतन किया गया" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "नाम" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "कोई वैध परिणाम नहीं मिला।" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "account.analytic.invoice.line" +#~ msgid "Analytic Account" +#~ msgstr "विश्लेषणात्मक खाता" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "contract.line.qty.formula" +#~ msgid "account.analytic.invoice.line" +#~ msgstr "account.analytic.invoice.line" diff --git a/contract_variable_quantity/i18n/hr.po b/contract_variable_quantity/i18n/hr.po index 19dcc00b..59259225 100644 --- a/contract_variable_quantity/i18n/hr.po +++ b/contract_variable_quantity/i18n/hr.po @@ -20,78 +20,106 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "contract: Contract whose line belongs to." +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "contract: Ugovor kojem pripadaju stavke." #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "user: Trenutni korisnik." #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "Analitički konto" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "Šifra" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +#, fuzzy +#| msgid "contract.line.qty.formula" +msgid "Contract Line Formula" +msgstr "contract.line.qty.formula" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Kreirao" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Kreirano " #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "Prikaži naziv" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +127,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "Primjer python koda" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "Fiksna količina" @@ -116,90 +145,94 @@ msgid "Formulas (quantity)" msgstr "Formule (količine)" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "Pomoć sa python izrazima" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "Zadnja izmjena na" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Zadnje ažuriranje izvršio" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Zadnje ažuriranje na" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Naziv" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "Nijedan valjani rezultat nije vraćen." #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "Formula za količinu" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "Tip količine" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "Promjeniva količina" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "You can use these variables to compute your formula:" +msgid "" +"You can use these variables to compute your\n" +" formula:" msgstr "Možete koristiti sljedeće varijable u svojoj formuli:" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "account.analytic.invoice.line" +#~ msgid "Analytic Account" +#~ msgstr "Analitički konto" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "contract.line.qty.formula" +#~ msgid "account.analytic.invoice.line" +#~ msgstr "account.analytic.invoice.line" diff --git a/contract_variable_quantity/i18n/hr_HR.po b/contract_variable_quantity/i18n/hr_HR.po index 49707b00..2633f7ed 100644 --- a/contract_variable_quantity/i18n/hr_HR.po +++ b/contract_variable_quantity/i18n/hr_HR.po @@ -21,11 +21,19 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "" +#| "\n" +#| " result = env['product.product']." +#| "search_count([('sale_ok', '=', True)])\n" +#| " " msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" "\n" @@ -34,69 +42,102 @@ msgstr "" " " #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "context: Trenutni context dictionary." #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "contract: Contract whose line belongs to." +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "contract: Ugovor čije linije pripadaju ovdje." #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "env: Environment variable for getting other models." +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "env: Environment variabla za dohvaćanje drugih modela." #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "invoice: Invoice (header) being created." +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "invoice: Kreirani račun (zaglavlje)." #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "" +#| "line: Contract recurring invoice line that triggers this formula." msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "line: Stavka ponavljajućeg računa koja koristi ovu formulu." #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "user: trenutni korisnik." #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "Konto analitike" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "Kliknite za kreiranje nove formule promjenivih količina." #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "Šifra" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +#, fuzzy +#| msgid "contract.line.qty.formula" +msgid "Contract Line Formula" +msgstr "contract.line.qty.formula" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Kreirao" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Kreirano" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "Naziv" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -106,13 +147,14 @@ msgstr "" "Detalji: %s" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "Primjer Python koda" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "Fiknsa količina" @@ -123,93 +165,101 @@ msgid "Formulas (quantity)" msgstr "Formula (količine)" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "Pomoć u Python izrazima" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "Zadnje modificirano" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Zadnje ažurirao" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Zadnje ažurirano" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Naziv" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "Nije vraćen nijedan valjani rezultat." #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "Formula količine" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "Tip količine" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "Promjenjiva količina" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "You can use these variables to compute your formula:" +msgid "" +"You can use these variables to compute your\n" +" formula:" msgstr "Za izračun količine možete koristiti ove varijable:" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "" +#| "You have to insert valid Python code block that stores at some moment a " +#| "float/integer value of the quantity to invoice in the variable 'result'." msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" "Morate upisati valjani blok python koda koji se u određenom trenutku " "izvršava i vraća cjelobrojnu/decimalnu vrijednost kao rezultat za količine u " "stavkama računa " -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "account.analytic.invoice.line" +#~ msgid "Analytic Account" +#~ msgstr "Konto analitike" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "contract.line.qty.formula" +#~ msgid "account.analytic.invoice.line" +#~ msgstr "account.analytic.invoice.line" diff --git a/contract_variable_quantity/i18n/hu.po b/contract_variable_quantity/i18n/hu.po index fef698a1..15da5525 100644 --- a/contract_variable_quantity/i18n/hu.po +++ b/contract_variable_quantity/i18n/hu.po @@ -19,78 +19,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "Analitikus gyűjtőkód könyvelés" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Készítette" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Létrehozás dátuma" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -98,13 +122,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -115,90 +140,89 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "Azonosító ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Utoljára frissítve, által" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Utoljára frissítve ekkor" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Név" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "" +#~ msgid "Analytic Account" +#~ msgstr "Analitikus gyűjtőkód könyvelés" diff --git a/contract_variable_quantity/i18n/id.po b/contract_variable_quantity/i18n/id.po index 898dcb05..3db0326c 100644 --- a/contract_variable_quantity/i18n/id.po +++ b/contract_variable_quantity/i18n/id.po @@ -19,78 +19,102 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Dibuat oleh" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Dibuat pada" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -98,13 +122,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -115,90 +140,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Diperbaharui oleh" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Diperbaharui pada" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Nama" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/it.po b/contract_variable_quantity/i18n/it.po index 76290831..7e7f7c9a 100644 --- a/contract_variable_quantity/i18n/it.po +++ b/contract_variable_quantity/i18n/it.po @@ -21,78 +21,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "Conto Analitico" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "Codice" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Creato da" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Creato il" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "Nome da visualizzare" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -100,13 +124,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -117,90 +142,89 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "Ultima modifica il" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Last Updated by" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Last Updated on" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Nome" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "" +#~ msgid "Analytic Account" +#~ msgstr "Conto Analitico" diff --git a/contract_variable_quantity/i18n/ja.po b/contract_variable_quantity/i18n/ja.po index 9d095b02..c47c4d57 100644 --- a/contract_variable_quantity/i18n/ja.po +++ b/contract_variable_quantity/i18n/ja.po @@ -19,78 +19,102 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "作成者" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "作成日" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -98,13 +122,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -115,90 +140,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "最終更新者" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "最終更新日" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "名前" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/ko.po b/contract_variable_quantity/i18n/ko.po index 7b79d432..94e58e4b 100644 --- a/contract_variable_quantity/i18n/ko.po +++ b/contract_variable_quantity/i18n/ko.po @@ -19,78 +19,102 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "작성자" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "작성일" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -98,13 +122,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -115,90 +140,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "최근 갱신한 사람" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "최근 갱신 날짜" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/lt.po b/contract_variable_quantity/i18n/lt.po index 607fb270..d417b108 100644 --- a/contract_variable_quantity/i18n/lt.po +++ b/contract_variable_quantity/i18n/lt.po @@ -20,78 +20,102 @@ msgstr "" "%100<10 || n%100>=20) ? 1 : 2);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Sukūrė" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Sukurta" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Paskutini kartą atnaujino" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Paskutinį kartą atnaujinta" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Pavadinimas" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/lt_LT.po b/contract_variable_quantity/i18n/lt_LT.po index c9dc412b..452c3915 100644 --- a/contract_variable_quantity/i18n/lt_LT.po +++ b/contract_variable_quantity/i18n/lt_LT.po @@ -21,78 +21,102 @@ msgstr "" "%100<10 || n%100>=20) ? 1 : 2);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Sukūrė" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Sukurta" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -100,13 +124,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -117,90 +142,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Paskutinį kartą atnaujino" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Paskutinį kartą atnaujinta" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/lv.po b/contract_variable_quantity/i18n/lv.po index 79fe3b86..ee88df1c 100644 --- a/contract_variable_quantity/i18n/lv.po +++ b/contract_variable_quantity/i18n/lv.po @@ -20,78 +20,102 @@ msgstr "" "2);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Izveidoja" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Izveidots" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Pēdējo reizi atjaunoja" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Pēdējās izmaiņas" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Nosaukums" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/mk.po b/contract_variable_quantity/i18n/mk.po index ac42f8a7..8a3bb9b8 100644 --- a/contract_variable_quantity/i18n/mk.po +++ b/contract_variable_quantity/i18n/mk.po @@ -19,78 +19,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Креирано од" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Креирано на" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -98,13 +122,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -115,90 +140,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Последно ажурирање од" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Последно ажурирање на" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Име" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/mn.po b/contract_variable_quantity/i18n/mn.po index 15f75ae3..a6ae4c59 100644 --- a/contract_variable_quantity/i18n/mn.po +++ b/contract_variable_quantity/i18n/mn.po @@ -19,78 +19,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Үүсгэгч" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Үүсгэсэн огноо" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -98,13 +122,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -115,90 +140,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Сүүлийн засвар хийсэн" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Сүүлийн засвар хийсэн огноо" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Нэр" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/nb.po b/contract_variable_quantity/i18n/nb.po index f27f91d7..02c28630 100644 --- a/contract_variable_quantity/i18n/nb.po +++ b/contract_variable_quantity/i18n/nb.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Opprettet av" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Opprettet" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Sist oppdatert av" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Sist oppdatert" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Navn" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/nb_NO.po b/contract_variable_quantity/i18n/nb_NO.po index 5be3eea1..3cb5233e 100644 --- a/contract_variable_quantity/i18n/nb_NO.po +++ b/contract_variable_quantity/i18n/nb_NO.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "Kode" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Laget av" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Laget den" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "Vis navn" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "Sist endret den" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Sist oppdatert av" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Sist oppdatert den" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/nl.po b/contract_variable_quantity/i18n/nl.po index d8ac50ec..e833173a 100644 --- a/contract_variable_quantity/i18n/nl.po +++ b/contract_variable_quantity/i18n/nl.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "Kostenplaats" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "Code" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Aangemaakt door" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Aangemaakt op" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "Weergave naam" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,92 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "Laatst bijgewerkt op" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Laatste bijgewerkt door" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Laatst bijgewerkt op" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Naam" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "account.analytic.invoice.line" +#~ msgid "Analytic Account" +#~ msgstr "Kostenplaats" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "" +#~ msgid "account.analytic.invoice.line" +#~ msgstr "account.analytic.invoice.line" diff --git a/contract_variable_quantity/i18n/nl_BE.po b/contract_variable_quantity/i18n/nl_BE.po index 608fd621..a85ce804 100644 --- a/contract_variable_quantity/i18n/nl_BE.po +++ b/contract_variable_quantity/i18n/nl_BE.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Gemaakt door" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Gemaakt op" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Laatst bijgewerkt door" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Laatst bijgewerkt op" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Naam" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/nl_NL.po b/contract_variable_quantity/i18n/nl_NL.po index f89332b2..e6266094 100644 --- a/contract_variable_quantity/i18n/nl_NL.po +++ b/contract_variable_quantity/i18n/nl_NL.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "Code" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Aangemaakt door" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Aangemaakt op" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "Voorbeeld van Pythoncode" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "Vaste hoeveelheid" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "Formules (hoeveelheid)" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "Laatst aangepast op" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Laatst bijgewerkt door" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Laatst bijgewerkt op" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Naam" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/pl.po b/contract_variable_quantity/i18n/pl.po index 7fcd9c06..82e8e6bd 100644 --- a/contract_variable_quantity/i18n/pl.po +++ b/contract_variable_quantity/i18n/pl.po @@ -20,78 +20,102 @@ msgstr "" "|| n%100>=20) ? 1 : 2);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "Kod" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Utworzone przez" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Data utworzenia" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Ostatnio modyfikowane przez" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Data ostatniej modyfikacji" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Nazwa" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/pt.po b/contract_variable_quantity/i18n/pt.po index bf12a84f..c424323b 100644 --- a/contract_variable_quantity/i18n/pt.po +++ b/contract_variable_quantity/i18n/pt.po @@ -20,11 +20,19 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "" +#| "\n" +#| " result = env['product.product']." +#| "search_count([('sale_ok', '=', True)])\n" +#| " " msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" "\n" @@ -33,69 +41,102 @@ msgstr "" " " #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "context: Dicionário de contexto corrente." #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "contract: Contract whose line belongs to." +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "contract: Contrato a cuja linha pertence." #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "env: Environment variable for getting other models." +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "env: Variável de Environment para obtenção de outros modelos." #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "invoice: Invoice (header) being created." +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "invoice: Fatura (cabeçalho) a ser criada." #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "" +#| "line: Contract recurring invoice line that triggers this formula." msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "line: Linha de fatura de contrato que despoleta esta fórmula." #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "user: Utilizador corrente." #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "Conta Analítica" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "Clique para criar uma nova fórmula para quantidades variáveis" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "Código" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +#, fuzzy +#| msgid "contract.line.qty.formula" +msgid "Contract Line Formula" +msgstr "contract.line.qty.formula" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Criado por" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Criado em" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "Nome a Apresentar" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -105,13 +146,14 @@ msgstr "" "Detalhes: %s" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "Exemplo de Código Python" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "Quantidade fixa" @@ -122,95 +164,103 @@ msgid "Formulas (quantity)" msgstr "Fórmulas (quantidade)" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "Ajuda de expressões Python" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" "Se assinalado, as linhas de contrato com quantidade 0 não criarão linhas de " "faturas" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "Última Modificação Em" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Atualizado pela última vez por" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Atualizado pela última vez em" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Nome" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "Não foi retornado nenhum resultado válido." #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "Fórmula de Qtd." #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "Tipo de Qtd." #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "Ignorar Linhas com Qtd. Zero" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "Quantidade variável" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "You can use these variables to compute your formula:" +msgid "" +"You can use these variables to compute your\n" +" formula:" msgstr "Pode usar estas variáveis na computação da sua fórmula:" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "" +#| "You have to insert valid Python code block that stores at some moment a " +#| "float/integer value of the quantity to invoice in the variable 'result'." msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" "Tem que inserir um bloco válido de código Python que guarde, em algum " "momento, um valor float/integer na variável 'result' com a quantidade a " "faturar." -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "account.analytic.invoice.line" +#~ msgid "Analytic Account" +#~ msgstr "Conta Analítica" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "contract.line.qty.formula" +#~ msgid "account.analytic.invoice.line" +#~ msgstr "account.analytic.invoice.line" diff --git a/contract_variable_quantity/i18n/pt_BR.po b/contract_variable_quantity/i18n/pt_BR.po index 27288962..dc000f75 100644 --- a/contract_variable_quantity/i18n/pt_BR.po +++ b/contract_variable_quantity/i18n/pt_BR.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "Conta Analítica" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "Código" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Criado por" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Criado em" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "Nome para Mostrar" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,89 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "Identificação" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "Última Modificação em" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Última atualização por" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Última atualização em" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Nome" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "" +#~ msgid "Analytic Account" +#~ msgstr "Conta Analítica" diff --git a/contract_variable_quantity/i18n/pt_PT.po b/contract_variable_quantity/i18n/pt_PT.po index f327fa0c..213fe1a1 100644 --- a/contract_variable_quantity/i18n/pt_PT.po +++ b/contract_variable_quantity/i18n/pt_PT.po @@ -22,78 +22,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "Conta Analítica" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "Código" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Criado por" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Criado em" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "Nome a Apresentar" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -101,13 +125,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -118,90 +143,89 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "Última Modificação em" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Atualizado pela última vez por" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Atualizado pela última vez em" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Nome" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "" +#~ msgid "Analytic Account" +#~ msgstr "Conta Analítica" diff --git a/contract_variable_quantity/i18n/ro.po b/contract_variable_quantity/i18n/ro.po index 9508f70b..813601f8 100644 --- a/contract_variable_quantity/i18n/ro.po +++ b/contract_variable_quantity/i18n/ro.po @@ -21,78 +21,102 @@ msgstr "" "2:1));\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "Cont analitic" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Creat de" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Creat la" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "Nume Afişat" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -100,13 +124,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -117,90 +142,89 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "Ultima actualizare în" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Ultima actualizare făcută de" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Ultima actualizare la" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Nume" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "" +#~ msgid "Analytic Account" +#~ msgstr "Cont analitic" diff --git a/contract_variable_quantity/i18n/ru.po b/contract_variable_quantity/i18n/ru.po index 3a57b6ee..59f7a950 100644 --- a/contract_variable_quantity/i18n/ru.po +++ b/contract_variable_quantity/i18n/ru.po @@ -21,78 +21,102 @@ msgstr "" "%100>=11 && n%100<=14)? 2 : 3);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "Код" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Создано" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Создан" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -100,13 +124,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -117,90 +142,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Последний раз обновлено" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Последний раз обновлено" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Название" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/sk.po b/contract_variable_quantity/i18n/sk.po index 3944176f..a67318ac 100644 --- a/contract_variable_quantity/i18n/sk.po +++ b/contract_variable_quantity/i18n/sk.po @@ -19,78 +19,102 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Vytvoril" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Vytvorené" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -98,13 +122,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -115,90 +140,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Naposledy upravil" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Naposledy upravené" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/sk_SK.po b/contract_variable_quantity/i18n/sk_SK.po index d6e8fafe..00b1b85b 100644 --- a/contract_variable_quantity/i18n/sk_SK.po +++ b/contract_variable_quantity/i18n/sk_SK.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "Analytický účet" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,89 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "" +#~ msgid "Analytic Account" +#~ msgstr "Analytický účet" diff --git a/contract_variable_quantity/i18n/sl.po b/contract_variable_quantity/i18n/sl.po index 538e7d26..52ded2e3 100644 --- a/contract_variable_quantity/i18n/sl.po +++ b/contract_variable_quantity/i18n/sl.po @@ -21,78 +21,102 @@ msgstr "" "%100==4 ? 2 : 3);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "Analitični konto" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "Koda" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Ustvaril" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Ustvarjeno" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "Prikazni naziv" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -100,13 +124,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -117,90 +142,89 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "Zadnjič spremenjeno" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Zadnjič posodobil" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Zadnjič posodobljeno" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Naziv" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "" +#~ msgid "Analytic Account" +#~ msgstr "Analitični konto" diff --git a/contract_variable_quantity/i18n/sr.po b/contract_variable_quantity/i18n/sr.po index 411e45fb..97242b5f 100644 --- a/contract_variable_quantity/i18n/sr.po +++ b/contract_variable_quantity/i18n/sr.po @@ -20,78 +20,102 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Kreiran" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/sr@latin.po b/contract_variable_quantity/i18n/sr@latin.po index aeb243cc..7c4e6241 100644 --- a/contract_variable_quantity/i18n/sr@latin.po +++ b/contract_variable_quantity/i18n/sr@latin.po @@ -21,78 +21,102 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Kreiran" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -100,13 +124,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -117,90 +142,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/sv.po b/contract_variable_quantity/i18n/sv.po index 6fbc27a5..4be4826f 100644 --- a/contract_variable_quantity/i18n/sv.po +++ b/contract_variable_quantity/i18n/sv.po @@ -19,78 +19,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Skapad av" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Skapad den" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -98,13 +122,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -115,90 +140,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Senast uppdaterad av" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Senast uppdaterad" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Namn" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/th.po b/contract_variable_quantity/i18n/th.po index 69402a86..48715a01 100644 --- a/contract_variable_quantity/i18n/th.po +++ b/contract_variable_quantity/i18n/th.po @@ -19,78 +19,102 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "สร้างโดย" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "สร้างเมื่อ" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -98,13 +122,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -115,90 +140,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "รหัส" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "อัพเดทครั้งสุดท้ายโดย" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "อัพเดทครั้งสุดท้ายเมื่อ" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "ชื่อ" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/tr.po b/contract_variable_quantity/i18n/tr.po index b22d68c2..836ebea7 100644 --- a/contract_variable_quantity/i18n/tr.po +++ b/contract_variable_quantity/i18n/tr.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "Analitik Hesap" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "Kodu" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Oluşturan" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Oluşturuldu" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "Ad Görünümü" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,89 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "Son Değiştirilme" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Son Güncelleyen" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Son Güncelleme" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Adı" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "" +#~ msgid "Analytic Account" +#~ msgstr "Analitik Hesap" diff --git a/contract_variable_quantity/i18n/tr_TR.po b/contract_variable_quantity/i18n/tr_TR.po index e226900c..7d7fc2f9 100644 --- a/contract_variable_quantity/i18n/tr_TR.po +++ b/contract_variable_quantity/i18n/tr_TR.po @@ -21,78 +21,102 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "Analitik Hesap" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Oluşturan" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Oluşturulma" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "Ad Görünümü" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -100,13 +124,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -117,90 +142,92 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "Son Güncelleme" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Son Güncelleyen" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Son Güncelleme" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "account.analytic.invoice.line" +#~ msgid "Analytic Account" +#~ msgstr "Analitik Hesap" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "" +#~ msgid "account.analytic.invoice.line" +#~ msgstr "account.analytic.invoice.line" diff --git a/contract_variable_quantity/i18n/uk.po b/contract_variable_quantity/i18n/uk.po index dddd977b..719eb063 100644 --- a/contract_variable_quantity/i18n/uk.po +++ b/contract_variable_quantity/i18n/uk.po @@ -20,78 +20,102 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Створив" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Створено" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Востаннє відредаговано" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Дата останньої зміни" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/vi.po b/contract_variable_quantity/i18n/vi.po index 4c1fa97b..6a7ad026 100644 --- a/contract_variable_quantity/i18n/vi.po +++ b/contract_variable_quantity/i18n/vi.po @@ -19,78 +19,102 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Tạo trên" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -98,13 +122,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -115,90 +140,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Tên" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/vi_VN.po b/contract_variable_quantity/i18n/vi_VN.po index 4c1c9c69..b591f2dd 100644 --- a/contract_variable_quantity/i18n/vi_VN.po +++ b/contract_variable_quantity/i18n/vi_VN.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "Mã" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "Tạo bởi" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "Tạo vào" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "Cập nhật lần cuối bởi" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "Cập nhật lần cuối vào" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "Tên" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" diff --git a/contract_variable_quantity/i18n/zh.po b/contract_variable_quantity/i18n/zh.po index 5fbd252a..a05ed034 100644 --- a/contract_variable_quantity/i18n/zh.po +++ b/contract_variable_quantity/i18n/zh.po @@ -19,11 +19,19 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "" +#| "\n" +#| " result = env['product.product']." +#| "search_count([('sale_ok', '=', True)])\n" +#| " " msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" "\n" @@ -32,69 +40,102 @@ msgstr "" " " #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "上下文: 当前上下文字典。" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "contract: Contract whose line belongs to." +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "合同: 合同行属于" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "env: Environment variable for getting other models." +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "环境变量 :获取其他模块的环境变量。" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "invoice: Invoice (header) being created." +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "发票: :正在创建发票(标题)。" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "" +#| "line: Contract recurring invoice line that triggers this formula." msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "发票行: 合同触发此公式的重复发票行。" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "用户: 当前用户 。" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "分析会计" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "点击以创建可变数量的新公式。" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "代码" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +#, fuzzy +#| msgid "contract.line.qty.formula" +msgid "Contract Line Formula" +msgstr "合同行公式数量" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "创建人" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "创建于" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "显示名" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -104,13 +145,14 @@ msgstr "" "细节:%s" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "Python代码示例" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "固定数量" @@ -121,92 +163,100 @@ msgid "Formulas (quantity)" msgstr "公式(数量)" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "Python表达式帮助。" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "如果选中,数量为零的合同行不会创建发票行" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "最后修改于" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "最好修改人" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "最后更新于" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "名称" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "没有有效的结果返回。" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "公司数量" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "类型数量" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "忽略数量0的行" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "可变数量" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "You can use these variables to compute your formula:" +msgid "" +"You can use these variables to compute your\n" +" formula:" msgstr "您可以使用这些变量来计算公式:" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#, fuzzy +#| msgid "" +#| "You have to insert valid Python code block that stores at some moment a " +#| "float/integer value of the quantity to invoice in the variable 'result'." msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" "您必须插入有效的Python代码块,以便在变量'result'中存储需要发票的数量的浮点 / " "整数值。" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "分析会计合同明细行" +#~ msgid "Analytic Account" +#~ msgstr "分析会计" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "合同行公式数量" +#~ msgid "account.analytic.invoice.line" +#~ msgstr "分析会计合同明细行" diff --git a/contract_variable_quantity/i18n/zh_CN.po b/contract_variable_quantity/i18n/zh_CN.po index b22ffffb..3138acbb 100644 --- a/contract_variable_quantity/i18n/zh_CN.po +++ b/contract_variable_quantity/i18n/zh_CN.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" -msgstr "核算科目" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" +msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "创建人" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "创建时间" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "显示名称" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,89 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "最后修改时间" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "最后更新人" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "最后更新时间" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "名称" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr "" -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" -msgstr "" +#~ msgid "Analytic Account" +#~ msgstr "核算科目" diff --git a/contract_variable_quantity/i18n/zh_TW.po b/contract_variable_quantity/i18n/zh_TW.po index 0911fa36..0fd325a2 100644 --- a/contract_variable_quantity/i18n/zh_TW.po +++ b/contract_variable_quantity/i18n/zh_TW.po @@ -20,78 +20,102 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" "\n" -" result = env['product.product']." -"search_count([('sale_ok', '=', True)])\n" +" result =\n" +" env['product.product']." +"search_count([('sale_ok',\n" +" '=', True)])\n" " " msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "context: Current context dictionary." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "contract: Contract whose line belongs to." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"contract: Contract whose line\n" +" belongs to." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "env: Environment variable for getting other models." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"env: Environment variable for\n" +" getting other models." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "invoice: Invoice (header) being created." +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"invoice: Invoice (header) being\n" +" created." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"line: Contract recurring invoice line that triggers this formula." +"line: Contract recurring invoice\n" +" line that triggers this formula." msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "user: Current user." msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_account -msgid "Analytic Account" +#: model:ir.model,name:contract_variable_quantity.model_contract_abstract_contract_line +msgid "Abstract Recurring Contract Line" msgstr "" #. module: contract_variable_quantity -#: model:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula +#: model_terms:ir.actions.act_window,help:contract_variable_quantity.action_contract_quantity_formula msgid "Click to create a new formula for variable quantities." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_code -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__code +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Code" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_uid +#: model:ir.model,name:contract_variable_quantity.model_contract_contract +msgid "Contract" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line +msgid "Contract Line" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula +msgid "Contract Line Formula" +msgstr "" + +#. module: contract_variable_quantity +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_uid msgid "Created by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_create_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__create_date msgid "Created on" msgstr "建立於" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_display_name +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__display_name msgid "Display Name" msgstr "" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:81 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:37 #, python-format msgid "" "Error evaluating code.\n" @@ -99,13 +123,14 @@ msgid "" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Example of Python code" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Fixed quantity" msgstr "" @@ -116,90 +141,86 @@ msgid "Formulas (quantity)" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Help with Python expressions." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__id msgid "ID" msgstr "ID" #. module: contract_variable_quantity -#: model:ir.model.fields,help:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,help:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,help:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "If checked, contract lines with 0 qty don't create invoice line" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula___last_update +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula____last_update msgid "Last Modified on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_uid +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_uid msgid "Last Updated by" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_write_date +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__write_date msgid "Last Updated on" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula_name -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line_qty_formula__name +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "Name" msgstr "名稱" #. module: contract_variable_quantity -#: code:addons/contract_variable_quantity/models/contract.py:83 +#: code:addons/contract_variable_quantity/models/contract_line_formula.py:40 #, python-format msgid "No valid result returned." msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_formula_id -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_formula_id +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_formula_id msgid "Qty. formula" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_contract_line_qty_type -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_invoice_line_qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_abstract_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_line__qty_type +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_template_line__qty_type msgid "Qty. type" msgstr "" #. module: contract_variable_quantity -#: model:ir.model.fields,field_description:contract_variable_quantity.field_account_analytic_account_skip_zero_qty -#: model:ir.model.fields,field_description:contract_variable_quantity.field_project_project_skip_zero_qty +#: model:ir.model.fields,field_description:contract_variable_quantity.field_contract_contract__skip_zero_qty msgid "Skip Zero Qty Lines" msgstr "" #. module: contract_variable_quantity -#: selection:account.analytic.contract.line,qty_type:0 -#: selection:account.analytic.invoice.line,qty_type:0 +#: selection:contract.abstract.contract.line,qty_type:0 +#: selection:contract.line,qty_type:0 +#: selection:contract.template.line,qty_type:0 msgid "Variable quantity" msgstr "" #. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form -msgid "You can use these variables to compute your formula:" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form msgid "" -"You have to insert valid Python code block that stores at some moment a " -"float/integer value of the quantity to invoice in the variable 'result'." +"You can use these variables to compute your\n" +" formula:" msgstr "" #. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_account_analytic_invoice_line -msgid "account.analytic.invoice.line" -msgstr "" - -#. module: contract_variable_quantity -#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula -msgid "contract.line.qty.formula" +#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form +msgid "" +"You have to insert valid Python code block that\n" +" stores at some moment a float/integer value " +"of\n" +" the quantity to invoice in the variable\n" +" 'result'." msgstr ""