Browse Source

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/
pull/238/head
OCA Transbot 5 years ago
parent
commit
38eaa4c7b8
  1. 137
      contract_variable_quantity/i18n/am.po
  2. 137
      contract_variable_quantity/i18n/ar.po
  3. 137
      contract_variable_quantity/i18n/bg.po
  4. 137
      contract_variable_quantity/i18n/bs.po
  5. 141
      contract_variable_quantity/i18n/ca.po
  6. 137
      contract_variable_quantity/i18n/cs.po
  7. 137
      contract_variable_quantity/i18n/da.po
  8. 141
      contract_variable_quantity/i18n/de.po
  9. 140
      contract_variable_quantity/i18n/el_GR.po
  10. 137
      contract_variable_quantity/i18n/en_GB.po
  11. 164
      contract_variable_quantity/i18n/es.po
  12. 137
      contract_variable_quantity/i18n/es_AR.po
  13. 137
      contract_variable_quantity/i18n/es_CO.po
  14. 137
      contract_variable_quantity/i18n/es_CR.po
  15. 137
      contract_variable_quantity/i18n/es_DO.po
  16. 137
      contract_variable_quantity/i18n/es_EC.po
  17. 137
      contract_variable_quantity/i18n/es_ES.po
  18. 140
      contract_variable_quantity/i18n/es_MX.po
  19. 137
      contract_variable_quantity/i18n/es_PY.po
  20. 137
      contract_variable_quantity/i18n/es_VE.po
  21. 137
      contract_variable_quantity/i18n/et.po
  22. 137
      contract_variable_quantity/i18n/eu.po
  23. 137
      contract_variable_quantity/i18n/fa.po
  24. 140
      contract_variable_quantity/i18n/fi.po
  25. 57
      contract_variable_quantity/i18n/fr.po
  26. 137
      contract_variable_quantity/i18n/fr_CA.po
  27. 137
      contract_variable_quantity/i18n/fr_CH.po
  28. 140
      contract_variable_quantity/i18n/gl.po
  29. 137
      contract_variable_quantity/i18n/gl_ES.po
  30. 137
      contract_variable_quantity/i18n/he.po
  31. 143
      contract_variable_quantity/i18n/hi_IN.po
  32. 147
      contract_variable_quantity/i18n/hr.po
  33. 164
      contract_variable_quantity/i18n/hr_HR.po
  34. 140
      contract_variable_quantity/i18n/hu.po
  35. 137
      contract_variable_quantity/i18n/id.po
  36. 140
      contract_variable_quantity/i18n/it.po
  37. 137
      contract_variable_quantity/i18n/ja.po
  38. 137
      contract_variable_quantity/i18n/ko.po
  39. 137
      contract_variable_quantity/i18n/lt.po
  40. 137
      contract_variable_quantity/i18n/lt_LT.po
  41. 137
      contract_variable_quantity/i18n/lv.po
  42. 137
      contract_variable_quantity/i18n/mk.po
  43. 137
      contract_variable_quantity/i18n/mn.po
  44. 137
      contract_variable_quantity/i18n/nb.po
  45. 137
      contract_variable_quantity/i18n/nb_NO.po
  46. 141
      contract_variable_quantity/i18n/nl.po
  47. 137
      contract_variable_quantity/i18n/nl_BE.po
  48. 137
      contract_variable_quantity/i18n/nl_NL.po
  49. 137
      contract_variable_quantity/i18n/pl.po
  50. 164
      contract_variable_quantity/i18n/pt.po
  51. 140
      contract_variable_quantity/i18n/pt_BR.po
  52. 140
      contract_variable_quantity/i18n/pt_PT.po
  53. 140
      contract_variable_quantity/i18n/ro.po
  54. 137
      contract_variable_quantity/i18n/ru.po
  55. 137
      contract_variable_quantity/i18n/sk.po
  56. 140
      contract_variable_quantity/i18n/sk_SK.po
  57. 140
      contract_variable_quantity/i18n/sl.po
  58. 137
      contract_variable_quantity/i18n/sr.po
  59. 137
      contract_variable_quantity/i18n/sr@latin.po
  60. 137
      contract_variable_quantity/i18n/sv.po
  61. 137
      contract_variable_quantity/i18n/th.po
  62. 140
      contract_variable_quantity/i18n/tr.po
  63. 141
      contract_variable_quantity/i18n/tr_TR.po
  64. 137
      contract_variable_quantity/i18n/uk.po
  65. 137
      contract_variable_quantity/i18n/vi.po
  66. 137
      contract_variable_quantity/i18n/vi_VN.po
  67. 164
      contract_variable_quantity/i18n/zh.po
  68. 140
      contract_variable_quantity/i18n/zh_CN.po
  69. 137
      contract_variable_quantity/i18n/zh_TW.po

137
contract_variable_quantity/i18n/am.po

@ -19,78 +19,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Creado por" msgstr "Creado por"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Creado en" msgstr "Creado en"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -98,13 +122,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -115,90 +140,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Última actualización por" msgstr "Última actualización por"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Última actualización en" msgstr "Última actualización en"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/ar.po

@ -20,78 +20,102 @@ msgstr ""
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "أنشئ بواسطة" msgstr "أنشئ بواسطة"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "أنشئ في" msgstr "أنشئ في"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "المعرف" msgstr "المعرف"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "آخر تحديث بواسطة" msgstr "آخر تحديث بواسطة"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "آخر تحديث في" msgstr "آخر تحديث في"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "الاسم" msgstr "الاسم"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/bg.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "Код" msgstr "Код"
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Създадено от" msgstr "Създадено от"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Създадено на" msgstr "Създадено на"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "Последно обновено на" msgstr "Последно обновено на"
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Последно обновено от" msgstr "Последно обновено от"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Последно обновено на" msgstr "Последно обновено на"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Име" msgstr "Име"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/bs.po

@ -20,78 +20,102 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Kreirao" msgstr "Kreirao"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Kreirano" msgstr "Kreirano"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Naziv" msgstr "Naziv"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

141
contract_variable_quantity/i18n/ca.po

@ -19,78 +19,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "Codi" msgstr "Codi"
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Creat per" msgstr "Creat per"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Creat el" msgstr "Creat el"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -98,13 +122,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -115,90 +140,92 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Darrera Actualització per" msgstr "Darrera Actualització per"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Darrera Actualització el" msgstr "Darrera Actualització el"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Nom" msgstr "Nom"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" 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 "" 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"

137
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" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Vytvořil(a)" msgstr "Vytvořil(a)"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Vytvořeno" msgstr "Vytvořeno"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -98,13 +122,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -115,90 +140,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Naposled upraveno" msgstr "Naposled upraveno"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Naposled upraveno" msgstr "Naposled upraveno"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Název" msgstr "Název"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/da.po

@ -19,78 +19,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Oprettet af" msgstr "Oprettet af"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Oprettet den" msgstr "Oprettet den"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -98,13 +122,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -115,90 +140,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "Id" msgstr "Id"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Sidst opdateret af" msgstr "Sidst opdateret af"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Sidst opdateret den" msgstr "Sidst opdateret den"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Navn" msgstr "Navn"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

141
contract_variable_quantity/i18n/de.po

@ -19,78 +19,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "Schlüssel" msgstr "Schlüssel"
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Erstellt von" msgstr "Erstellt von"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Erstellt am:" msgstr "Erstellt am:"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "Anzeigebezeichnung" msgstr "Anzeigebezeichnung"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -98,13 +122,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -115,90 +140,92 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "Zuletzt geändert am" msgstr "Zuletzt geändert am"
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Zuletzt aktualisiert von" msgstr "Zuletzt aktualisiert von"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Zuletzt aktualisiert am" msgstr "Zuletzt aktualisiert am"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Name" msgstr "Name"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" 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 "" 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"

140
contract_variable_quantity/i18n/el_GR.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Δημιουργήθηκε από " msgstr "Δημιουργήθηκε από "
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Δημιουργήθηκε στις" msgstr "Δημιουργήθηκε στις"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,89 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "Κωδικός" msgstr "Κωδικός"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Τελευταία ενημέρωση από" msgstr "Τελευταία ενημέρωση από"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Τελευταία ενημέρωση στις" msgstr "Τελευταία ενημέρωση στις"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Ονομασία" msgstr "Ονομασία"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "Αναλυτικός Λογαριασμός"

137
contract_variable_quantity/i18n/en_GB.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Created by" msgstr "Created by"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Created on" msgstr "Created on"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Last Updated by" msgstr "Last Updated by"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Last Updated on" msgstr "Last Updated on"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Name" msgstr "Name"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

164
contract_variable_quantity/i18n/es.po

@ -19,11 +19,19 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_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 ""
#| "<code>\n"
#| " result = env['product.product']."
#| "search_count([('sale_ok', '=', True)])\n"
#| " </code>"
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
"<code>\n" "<code>\n"
@ -32,71 +40,104 @@ msgstr ""
" </code>" " </code>"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "<i>context</i>: Diccionario de contexto actual." msgstr "<i>context</i>: Diccionario de contexto actual."
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#, fuzzy
#| msgid "<i>contract</i>: Contract whose line belongs to."
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "<i>contract</i>: Contrato al que pertenece esta línea." msgstr "<i>contract</i>: Contrato al que pertenece esta línea."
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#, fuzzy
#| msgid "<i>env</i>: Environment variable for getting other models."
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "<i>env</i>: Variable de entorno para obtener otros modelos." msgstr "<i>env</i>: Variable de entorno para obtener otros modelos."
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#, fuzzy
#| msgid "<i>invoice</i>: Invoice (header) being created."
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "<i>invoice</i>: Factura (cabecera) siendo creada." msgstr "<i>invoice</i>: Factura (cabecera) siendo creada."
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_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 ""
#| "<i>line</i>: Contract recurring invoice line that triggers this formula."
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
"<i>line</i>: Línea del contrato de facturación recurrente que lanza esta " "<i>line</i>: Línea del contrato de facturación recurrente que lanza esta "
"fórmula." "fórmula."
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "<i>user</i>: Usuario actual." msgstr "<i>user</i>: Usuario actual."
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "Pulse para crear una nueva fórmula para cantidades variables." msgstr "Pulse para crear una nueva fórmula para cantidades variables."
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "Código" msgstr "Código"
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Creado por" msgstr "Creado por"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Creado en" msgstr "Creado en"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "Nombre mostrado" msgstr "Nombre mostrado"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -106,13 +147,14 @@ msgstr ""
"Detalles: %s" "Detalles: %s"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "Ejemplo del código Python" msgstr "Ejemplo del código Python"
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "Cantidad fija" msgstr "Cantidad fija"
@ -123,94 +165,102 @@ msgid "Formulas (quantity)"
msgstr "Fórmulas (cantidad)" msgstr "Fórmulas (cantidad)"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "Ayuda con las expresiones Python." msgstr "Ayuda con las expresiones Python."
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID (identificación)" msgstr "ID (identificación)"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
"Si está marcado, las lineas de contrato con cantidad 0 no crearán líneas de " "Si está marcado, las lineas de contrato con cantidad 0 no crearán líneas de "
"factura" "factura"
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "Última modificación en" msgstr "Última modificación en"
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Última actualización de" msgstr "Última actualización de"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Última actualización en" msgstr "Última actualización en"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Nombre" msgstr "Nombre"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "No se devuelve un valor válido." msgstr "No se devuelve un valor válido."
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "Formula ctdad." msgstr "Formula ctdad."
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "Tipo ctdad." msgstr "Tipo ctdad."
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "Saltar líneas con cantidad 0" msgstr "Saltar líneas con cantidad 0"
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "Cantidad variable" msgstr "Cantidad variable"
#. module: contract_variable_quantity #. 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:" msgstr "Puede usar estas variables para calcular su fórmula:"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_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 "" 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 "" msgstr ""
"Debe insertar un bloque de código Python que almacene en algún momento un " "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'." "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"

137
contract_variable_quantity/i18n/es_AR.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Creado por" msgstr "Creado por"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Creado en" msgstr "Creado en"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Última actualización realizada por" msgstr "Última actualización realizada por"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Última actualización el" msgstr "Última actualización el"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Nombre" msgstr "Nombre"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/es_CO.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/es_CR.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Creado por" msgstr "Creado por"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Creado en" msgstr "Creado en"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Ultima actualización por" msgstr "Ultima actualización por"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Ultima actualización en" msgstr "Ultima actualización en"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Nombre" msgstr "Nombre"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/es_DO.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID (identificación)" msgstr "ID (identificación)"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/es_EC.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Nombre" msgstr "Nombre"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/es_ES.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Creado por" msgstr "Creado por"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Creado en" msgstr "Creado en"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Última actualización por" msgstr "Última actualización por"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Última actualización en" msgstr "Última actualización en"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

140
contract_variable_quantity/i18n/es_MX.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Creado por" msgstr "Creado por"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Creado en" msgstr "Creado en"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,89 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Ultima actualización por" msgstr "Ultima actualización por"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Ultima actualización en" msgstr "Ultima actualización en"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Nombre" msgstr "Nombre"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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"

137
contract_variable_quantity/i18n/es_PY.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/es_VE.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Creado por" msgstr "Creado por"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Creado en" msgstr "Creado en"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Ultima actualización por" msgstr "Ultima actualización por"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Ultima actualización en" msgstr "Ultima actualización en"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Nombre" msgstr "Nombre"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/et.po

@ -19,78 +19,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Loodud" msgstr "Loodud"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -98,13 +122,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -115,90 +140,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Nimi" msgstr "Nimi"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/eu.po

@ -19,78 +19,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -98,13 +122,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -115,90 +140,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Izena" msgstr "Izena"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/fa.po

@ -19,78 +19,102 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "ایجاد شده توسط" msgstr "ایجاد شده توسط"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "ایجاد شده در" msgstr "ایجاد شده در"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -98,13 +122,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -115,90 +140,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "شناسه" msgstr "شناسه"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "آخرین به روز رسانی توسط" msgstr "آخرین به روز رسانی توسط"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "آخرین به روز رسانی در" msgstr "آخرین به روز رسانی در"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

140
contract_variable_quantity/i18n/fi.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "Koodi" msgstr "Koodi"
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Luonut" msgstr "Luonut"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Luotu" msgstr "Luotu"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "Nimi" msgstr "Nimi"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,89 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "Viimeksi muokattu" msgstr "Viimeksi muokattu"
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Viimeksi päivittänyt" msgstr "Viimeksi päivittänyt"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Viimeksi päivitetty" msgstr "Viimeksi päivitetty"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Nimi" msgstr "Nimi"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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"

57
contract_variable_quantity/i18n/fr.po

@ -69,15 +69,10 @@ msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 #. module: contract_variable_quantity
#: model_terms: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." msgid "Click to create a new formula for variable quantities."
@ -89,6 +84,16 @@ msgstr ""
msgid "Code" msgid "Code"
msgstr "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 #. module: contract_variable_quantity
#: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula #: model:ir.model,name:contract_variable_quantity.model_contract_line_qty_formula
msgid "Contract Line Formula" msgid "Contract Line Formula"
@ -110,7 +115,7 @@ msgid "Display Name"
msgstr "Nom affiché" msgstr "Nom affiché"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -123,9 +128,9 @@ msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -146,7 +151,7 @@ msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
@ -172,34 +177,34 @@ msgid "Name"
msgstr "Nom" msgstr "Nom"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "Quantité variable" msgstr "Quantité variable"
@ -220,7 +225,5 @@ msgid ""
" 'result'." " 'result'."
msgstr "" 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"

137
contract_variable_quantity/i18n/fr_CA.po

@ -23,78 +23,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "Code" msgstr "Code"
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Créé par" msgstr "Créé par"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Créé le" msgstr "Créé le"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "Afficher le nom" msgstr "Afficher le nom"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -102,13 +126,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -119,90 +144,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "Identifiant" msgstr "Identifiant"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Dernière mise à jour par" msgstr "Dernière mise à jour par"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Dernière mise à jour le" msgstr "Dernière mise à jour le"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Nom" msgstr "Nom"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/fr_CH.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Créé par" msgstr "Créé par"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Créé le" msgstr "Créé le"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Modifié par" msgstr "Modifié par"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Modifié le" msgstr "Modifié le"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

140
contract_variable_quantity/i18n/gl.po

@ -21,78 +21,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "Código" msgstr "Código"
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Creado por" msgstr "Creado por"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Creado en" msgstr "Creado en"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -100,13 +124,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -117,90 +142,89 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "Modificado por última vez o" msgstr "Modificado por última vez o"
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "ültima actualización por" msgstr "ültima actualización por"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Última actualización en" msgstr "Última actualización en"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Nome" msgstr "Nome"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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"

137
contract_variable_quantity/i18n/gl_ES.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/he.po

@ -19,78 +19,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "נוצר על ידי" msgstr "נוצר על ידי"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "נוצר ב-" msgstr "נוצר ב-"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -98,13 +122,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -115,90 +140,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "מזהה" msgstr "מזהה"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "עודכן לאחרונה על ידי" msgstr "עודכן לאחרונה על ידי"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "עודכן לאחרונה על" msgstr "עודכן לאחרונה על"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

143
contract_variable_quantity/i18n/hi_IN.po

@ -20,78 +20,104 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "द्वारा बनाया गया" msgstr "द्वारा बनाया गया"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "को निर्मित" msgstr "को निर्मित"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +125,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +143,92 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "आईडी" msgstr "आईडी"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "अंतिम बार संशोधित" msgstr "अंतिम बार संशोधित"
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "द्वारा अंतिम अद्यतन" msgstr "द्वारा अंतिम अद्यतन"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "अंतिम बार अद्यतन किया गया" msgstr "अंतिम बार अद्यतन किया गया"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "नाम" msgstr "नाम"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "कोई वैध परिणाम नहीं मिला।" msgstr "कोई वैध परिणाम नहीं मिला।"
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" 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 "" 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"

147
contract_variable_quantity/i18n/hr.po

@ -20,78 +20,106 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#, fuzzy
#| msgid "<i>contract</i>: Contract whose line belongs to."
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "<i>contract</i>: Ugovor kojem pripadaju stavke." msgstr "<i>contract</i>: Ugovor kojem pripadaju stavke."
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "<i>user</i>: Trenutni korisnik." msgstr "<i>user</i>: Trenutni korisnik."
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "Šifra" msgstr "Šifra"
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Kreirao" msgstr "Kreirao"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Kreirano " msgstr "Kreirano "
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "Prikaži naziv" msgstr "Prikaži naziv"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +127,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "Primjer python koda" msgstr "Primjer python koda"
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "Fiksna količina" msgstr "Fiksna količina"
@ -116,90 +145,94 @@ msgid "Formulas (quantity)"
msgstr "Formule (količine)" msgstr "Formule (količine)"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "Pomoć sa python izrazima" msgstr "Pomoć sa python izrazima"
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "Zadnja izmjena na" msgstr "Zadnja izmjena na"
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Zadnje ažuriranje izvršio" msgstr "Zadnje ažuriranje izvršio"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Zadnje ažuriranje na" msgstr "Zadnje ažuriranje na"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Naziv" msgstr "Naziv"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "Nijedan valjani rezultat nije vraćen." msgstr "Nijedan valjani rezultat nije vraćen."
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "Formula za količinu" msgstr "Formula za količinu"
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "Tip količine" msgstr "Tip količine"
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "Promjeniva količina" msgstr "Promjeniva količina"
#. module: contract_variable_quantity #. 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:" msgstr "Možete koristiti sljedeće varijable u svojoj formuli:"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" 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 "" 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"

164
contract_variable_quantity/i18n/hr_HR.po

@ -21,11 +21,19 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_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 ""
#| "<code>\n"
#| " result = env['product.product']."
#| "search_count([('sale_ok', '=', True)])\n"
#| " </code>"
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
"<code>\n" "<code>\n"
@ -34,69 +42,102 @@ msgstr ""
" </code>" " </code>"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "<i>context</i>: Trenutni context dictionary." msgstr "<i>context</i>: Trenutni context dictionary."
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#, fuzzy
#| msgid "<i>contract</i>: Contract whose line belongs to."
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "<i>contract</i>: Ugovor čije linije pripadaju ovdje." msgstr "<i>contract</i>: Ugovor čije linije pripadaju ovdje."
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#, fuzzy
#| msgid "<i>env</i>: Environment variable for getting other models."
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "<i>env</i>: Environment variabla za dohvaćanje drugih modela." msgstr "<i>env</i>: Environment variabla za dohvaćanje drugih modela."
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#, fuzzy
#| msgid "<i>invoice</i>: Invoice (header) being created."
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "<i>invoice</i>: Kreirani račun (zaglavlje)." msgstr "<i>invoice</i>: Kreirani račun (zaglavlje)."
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_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 ""
#| "<i>line</i>: Contract recurring invoice line that triggers this formula."
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "<i>line</i>: Stavka ponavljajućeg računa koja koristi ovu formulu." msgstr "<i>line</i>: Stavka ponavljajućeg računa koja koristi ovu formulu."
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "<i>user</i>: trenutni korisnik." msgstr "<i>user</i>: trenutni korisnik."
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "Kliknite za kreiranje nove formule promjenivih količina." msgstr "Kliknite za kreiranje nove formule promjenivih količina."
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "Šifra" msgstr "Šifra"
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Kreirao" msgstr "Kreirao"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Kreirano" msgstr "Kreirano"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "Naziv" msgstr "Naziv"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -106,13 +147,14 @@ msgstr ""
"Detalji: %s" "Detalji: %s"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "Primjer Python koda" msgstr "Primjer Python koda"
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "Fiknsa količina" msgstr "Fiknsa količina"
@ -123,93 +165,101 @@ msgid "Formulas (quantity)"
msgstr "Formula (količine)" msgstr "Formula (količine)"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "Pomoć u Python izrazima" msgstr "Pomoć u Python izrazima"
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "Zadnje modificirano" msgstr "Zadnje modificirano"
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Zadnje ažurirao" msgstr "Zadnje ažurirao"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Zadnje ažurirano" msgstr "Zadnje ažurirano"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Naziv" msgstr "Naziv"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "Nije vraćen nijedan valjani rezultat." msgstr "Nije vraćen nijedan valjani rezultat."
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "Formula količine" msgstr "Formula količine"
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "Tip količine" msgstr "Tip količine"
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "Promjenjiva količina" msgstr "Promjenjiva količina"
#. module: contract_variable_quantity #. 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:" msgstr "Za izračun količine možete koristiti ove varijable:"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_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 "" 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 "" msgstr ""
"Morate upisati valjani blok python koda koji se u određenom trenutku " "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 " "izvršava i vraća cjelobrojnu/decimalnu vrijednost kao rezultat za količine u "
"stavkama računa " "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"

140
contract_variable_quantity/i18n/hu.po

@ -19,78 +19,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Készítette" msgstr "Készítette"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Létrehozás dátuma" msgstr "Létrehozás dátuma"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -98,13 +122,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -115,90 +140,89 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "Azonosító ID" msgstr "Azonosító ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Utoljára frissítve, által" msgstr "Utoljára frissítve, által"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Utoljára frissítve ekkor" msgstr "Utoljára frissítve ekkor"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Név" msgstr "Név"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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"

137
contract_variable_quantity/i18n/id.po

@ -19,78 +19,102 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Dibuat oleh" msgstr "Dibuat oleh"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Dibuat pada" msgstr "Dibuat pada"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -98,13 +122,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -115,90 +140,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Diperbaharui oleh" msgstr "Diperbaharui oleh"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Diperbaharui pada" msgstr "Diperbaharui pada"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Nama" msgstr "Nama"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

140
contract_variable_quantity/i18n/it.po

@ -21,78 +21,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "Codice" msgstr "Codice"
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Creato da" msgstr "Creato da"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Creato il" msgstr "Creato il"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "Nome da visualizzare" msgstr "Nome da visualizzare"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -100,13 +124,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -117,90 +142,89 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "Ultima modifica il" msgstr "Ultima modifica il"
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Last Updated by" msgstr "Last Updated by"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Last Updated on" msgstr "Last Updated on"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Nome" msgstr "Nome"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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"

137
contract_variable_quantity/i18n/ja.po

@ -19,78 +19,102 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "作成者" msgstr "作成者"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "作成日" msgstr "作成日"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -98,13 +122,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -115,90 +140,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "最終更新者" msgstr "最終更新者"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "最終更新日" msgstr "最終更新日"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "名前" msgstr "名前"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/ko.po

@ -19,78 +19,102 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "작성자" msgstr "작성자"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "작성일" msgstr "작성일"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -98,13 +122,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -115,90 +140,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "최근 갱신한 사람" msgstr "최근 갱신한 사람"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "최근 갱신 날짜" msgstr "최근 갱신 날짜"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/lt.po

@ -20,78 +20,102 @@ msgstr ""
"%100<10 || n%100>=20) ? 1 : 2);\n" "%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Sukūrė" msgstr "Sukūrė"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Sukurta" msgstr "Sukurta"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Paskutini kartą atnaujino" msgstr "Paskutini kartą atnaujino"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Paskutinį kartą atnaujinta" msgstr "Paskutinį kartą atnaujinta"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Pavadinimas" msgstr "Pavadinimas"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/lt_LT.po

@ -21,78 +21,102 @@ msgstr ""
"%100<10 || n%100>=20) ? 1 : 2);\n" "%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Sukūrė" msgstr "Sukūrė"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Sukurta" msgstr "Sukurta"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -100,13 +124,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -117,90 +142,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Paskutinį kartą atnaujino" msgstr "Paskutinį kartą atnaujino"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Paskutinį kartą atnaujinta" msgstr "Paskutinį kartą atnaujinta"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/lv.po

@ -20,78 +20,102 @@ msgstr ""
"2);\n" "2);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Izveidoja" msgstr "Izveidoja"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Izveidots" msgstr "Izveidots"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Pēdējo reizi atjaunoja" msgstr "Pēdējo reizi atjaunoja"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Pēdējās izmaiņas" msgstr "Pēdējās izmaiņas"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Nosaukums" msgstr "Nosaukums"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
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" "Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Креирано од" msgstr "Креирано од"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Креирано на" msgstr "Креирано на"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -98,13 +122,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -115,90 +140,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Последно ажурирање од" msgstr "Последно ажурирање од"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Последно ажурирање на" msgstr "Последно ажурирање на"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Име" msgstr "Име"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/mn.po

@ -19,78 +19,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Үүсгэгч" msgstr "Үүсгэгч"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Үүсгэсэн огноо" msgstr "Үүсгэсэн огноо"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -98,13 +122,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -115,90 +140,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Сүүлийн засвар хийсэн" msgstr "Сүүлийн засвар хийсэн"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Сүүлийн засвар хийсэн огноо" msgstr "Сүүлийн засвар хийсэн огноо"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Нэр" msgstr "Нэр"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/nb.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Opprettet av" msgstr "Opprettet av"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Opprettet" msgstr "Opprettet"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Sist oppdatert av" msgstr "Sist oppdatert av"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Sist oppdatert" msgstr "Sist oppdatert"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Navn" msgstr "Navn"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/nb_NO.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "Kode" msgstr "Kode"
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Laget av" msgstr "Laget av"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Laget den" msgstr "Laget den"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "Vis navn" msgstr "Vis navn"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "Sist endret den" msgstr "Sist endret den"
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Sist oppdatert av" msgstr "Sist oppdatert av"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Sist oppdatert den" msgstr "Sist oppdatert den"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

141
contract_variable_quantity/i18n/nl.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "Code" msgstr "Code"
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Aangemaakt door" msgstr "Aangemaakt door"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Aangemaakt op" msgstr "Aangemaakt op"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "Weergave naam" msgstr "Weergave naam"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,92 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "Laatst bijgewerkt op" msgstr "Laatst bijgewerkt op"
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Laatste bijgewerkt door" msgstr "Laatste bijgewerkt door"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Laatst bijgewerkt op" msgstr "Laatst bijgewerkt op"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Naam" msgstr "Naam"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" 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 "" 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"

137
contract_variable_quantity/i18n/nl_BE.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Gemaakt door" msgstr "Gemaakt door"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Gemaakt op" msgstr "Gemaakt op"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Laatst bijgewerkt door" msgstr "Laatst bijgewerkt door"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Laatst bijgewerkt op" msgstr "Laatst bijgewerkt op"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Naam" msgstr "Naam"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/nl_NL.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "Code" msgstr "Code"
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Aangemaakt door" msgstr "Aangemaakt door"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Aangemaakt op" msgstr "Aangemaakt op"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "Voorbeeld van Pythoncode" msgstr "Voorbeeld van Pythoncode"
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "Vaste hoeveelheid" msgstr "Vaste hoeveelheid"
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "Formules (hoeveelheid)" msgstr "Formules (hoeveelheid)"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "Laatst aangepast op" msgstr "Laatst aangepast op"
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Laatst bijgewerkt door" msgstr "Laatst bijgewerkt door"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Laatst bijgewerkt op" msgstr "Laatst bijgewerkt op"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Naam" msgstr "Naam"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/pl.po

@ -20,78 +20,102 @@ msgstr ""
"|| n%100>=20) ? 1 : 2);\n" "|| n%100>=20) ? 1 : 2);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "Kod" msgstr "Kod"
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Utworzone przez" msgstr "Utworzone przez"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Data utworzenia" msgstr "Data utworzenia"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Ostatnio modyfikowane przez" msgstr "Ostatnio modyfikowane przez"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Data ostatniej modyfikacji" msgstr "Data ostatniej modyfikacji"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Nazwa" msgstr "Nazwa"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

164
contract_variable_quantity/i18n/pt.po

@ -20,11 +20,19 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_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 ""
#| "<code>\n"
#| " result = env['product.product']."
#| "search_count([('sale_ok', '=', True)])\n"
#| " </code>"
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
"<code>\n" "<code>\n"
@ -33,69 +41,102 @@ msgstr ""
" </code>" " </code>"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "<i>context</i>: Dicionário de contexto corrente." msgstr "<i>context</i>: Dicionário de contexto corrente."
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#, fuzzy
#| msgid "<i>contract</i>: Contract whose line belongs to."
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "<i>contract</i>: Contrato a cuja linha pertence." msgstr "<i>contract</i>: Contrato a cuja linha pertence."
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#, fuzzy
#| msgid "<i>env</i>: Environment variable for getting other models."
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "<i>env</i>: Variável de Environment para obtenção de outros modelos." msgstr "<i>env</i>: Variável de Environment para obtenção de outros modelos."
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#, fuzzy
#| msgid "<i>invoice</i>: Invoice (header) being created."
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "<i>invoice</i>: Fatura (cabeçalho) a ser criada." msgstr "<i>invoice</i>: Fatura (cabeçalho) a ser criada."
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_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 ""
#| "<i>line</i>: Contract recurring invoice line that triggers this formula."
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "<i>line</i>: Linha de fatura de contrato que despoleta esta fórmula." msgstr "<i>line</i>: Linha de fatura de contrato que despoleta esta fórmula."
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "<i>user</i>: Utilizador corrente." msgstr "<i>user</i>: Utilizador corrente."
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "Clique para criar uma nova fórmula para quantidades variáveis" msgstr "Clique para criar uma nova fórmula para quantidades variáveis"
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "Código" msgstr "Código"
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Criado por" msgstr "Criado por"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Criado em" msgstr "Criado em"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "Nome a Apresentar" msgstr "Nome a Apresentar"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -105,13 +146,14 @@ msgstr ""
"Detalhes: %s" "Detalhes: %s"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "Exemplo de Código Python" msgstr "Exemplo de Código Python"
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "Quantidade fixa" msgstr "Quantidade fixa"
@ -122,95 +164,103 @@ msgid "Formulas (quantity)"
msgstr "Fórmulas (quantidade)" msgstr "Fórmulas (quantidade)"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "Ajuda de expressões Python" msgstr "Ajuda de expressões Python"
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
"Se assinalado, as linhas de contrato com quantidade 0 não criarão linhas de " "Se assinalado, as linhas de contrato com quantidade 0 não criarão linhas de "
"faturas" "faturas"
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "Última Modificação Em" msgstr "Última Modificação Em"
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Atualizado pela última vez por" msgstr "Atualizado pela última vez por"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Atualizado pela última vez em" msgstr "Atualizado pela última vez em"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Nome" msgstr "Nome"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "Não foi retornado nenhum resultado válido." msgstr "Não foi retornado nenhum resultado válido."
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "Fórmula de Qtd." msgstr "Fórmula de Qtd."
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "Tipo de Qtd." msgstr "Tipo de Qtd."
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "Ignorar Linhas com Qtd. Zero" msgstr "Ignorar Linhas com Qtd. Zero"
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "Quantidade variável" msgstr "Quantidade variável"
#. module: contract_variable_quantity #. 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:" msgstr "Pode usar estas variáveis na computação da sua fórmula:"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_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 "" 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 "" msgstr ""
"Tem que inserir um bloco válido de código Python que guarde, em algum " "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 " "momento, um valor float/integer na variável 'result' com a quantidade a "
"faturar." "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"

140
contract_variable_quantity/i18n/pt_BR.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "Código" msgstr "Código"
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Criado por" msgstr "Criado por"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Criado em" msgstr "Criado em"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "Nome para Mostrar" msgstr "Nome para Mostrar"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,89 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "Identificação" msgstr "Identificação"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "Última Modificação em" msgstr "Última Modificação em"
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Última atualização por" msgstr "Última atualização por"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Última atualização em" msgstr "Última atualização em"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Nome" msgstr "Nome"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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"

140
contract_variable_quantity/i18n/pt_PT.po

@ -22,78 +22,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "Código" msgstr "Código"
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Criado por" msgstr "Criado por"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Criado em" msgstr "Criado em"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "Nome a Apresentar" msgstr "Nome a Apresentar"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -101,13 +125,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -118,90 +143,89 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "Última Modificação em" msgstr "Última Modificação em"
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Atualizado pela última vez por" msgstr "Atualizado pela última vez por"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Atualizado pela última vez em" msgstr "Atualizado pela última vez em"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Nome" msgstr "Nome"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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"

140
contract_variable_quantity/i18n/ro.po

@ -21,78 +21,102 @@ msgstr ""
"2:1));\n" "2:1));\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Creat de" msgstr "Creat de"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Creat la" msgstr "Creat la"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "Nume Afişat" msgstr "Nume Afişat"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -100,13 +124,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -117,90 +142,89 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "Ultima actualizare în" msgstr "Ultima actualizare în"
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Ultima actualizare făcută de" msgstr "Ultima actualizare făcută de"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Ultima actualizare la" msgstr "Ultima actualizare la"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Nume" msgstr "Nume"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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"

137
contract_variable_quantity/i18n/ru.po

@ -21,78 +21,102 @@ msgstr ""
"%100>=11 && n%100<=14)? 2 : 3);\n" "%100>=11 && n%100<=14)? 2 : 3);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "Код" msgstr "Код"
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Создано" msgstr "Создано"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Создан" msgstr "Создан"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -100,13 +124,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -117,90 +142,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Последний раз обновлено" msgstr "Последний раз обновлено"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Последний раз обновлено" msgstr "Последний раз обновлено"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Название" msgstr "Название"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
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" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Vytvoril" msgstr "Vytvoril"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Vytvorené" msgstr "Vytvorené"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -98,13 +122,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -115,90 +140,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Naposledy upravil" msgstr "Naposledy upravil"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Naposledy upravené" msgstr "Naposledy upravené"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

140
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" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,89 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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"

140
contract_variable_quantity/i18n/sl.po

@ -21,78 +21,102 @@ msgstr ""
"%100==4 ? 2 : 3);\n" "%100==4 ? 2 : 3);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "Koda" msgstr "Koda"
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Ustvaril" msgstr "Ustvaril"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Ustvarjeno" msgstr "Ustvarjeno"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "Prikazni naziv" msgstr "Prikazni naziv"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -100,13 +124,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -117,90 +142,89 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "Zadnjič spremenjeno" msgstr "Zadnjič spremenjeno"
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Zadnjič posodobil" msgstr "Zadnjič posodobil"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Zadnjič posodobljeno" msgstr "Zadnjič posodobljeno"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Naziv" msgstr "Naziv"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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"

137
contract_variable_quantity/i18n/sr.po

@ -20,78 +20,102 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Kreiran" msgstr "Kreiran"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/sr@latin.po

@ -21,78 +21,102 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Kreiran" msgstr "Kreiran"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -100,13 +124,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -117,90 +142,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/sv.po

@ -19,78 +19,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Skapad av" msgstr "Skapad av"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Skapad den" msgstr "Skapad den"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -98,13 +122,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -115,90 +140,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Senast uppdaterad av" msgstr "Senast uppdaterad av"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Senast uppdaterad" msgstr "Senast uppdaterad"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Namn" msgstr "Namn"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/th.po

@ -19,78 +19,102 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "สร้างโดย" msgstr "สร้างโดย"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "สร้างเมื่อ" msgstr "สร้างเมื่อ"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -98,13 +122,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -115,90 +140,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "รหัส" msgstr "รหัส"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "อัพเดทครั้งสุดท้ายโดย" msgstr "อัพเดทครั้งสุดท้ายโดย"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "อัพเดทครั้งสุดท้ายเมื่อ" msgstr "อัพเดทครั้งสุดท้ายเมื่อ"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "ชื่อ" msgstr "ชื่อ"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

140
contract_variable_quantity/i18n/tr.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "Kodu" msgstr "Kodu"
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Oluşturan" msgstr "Oluşturan"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Oluşturuldu" msgstr "Oluşturuldu"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "Ad Görünümü" msgstr "Ad Görünümü"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,89 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "Son Değiştirilme" msgstr "Son Değiştirilme"
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Son Güncelleyen" msgstr "Son Güncelleyen"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Son Güncelleme" msgstr "Son Güncelleme"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Adı" msgstr "Adı"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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"

141
contract_variable_quantity/i18n/tr_TR.po

@ -21,78 +21,102 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Oluşturan" msgstr "Oluşturan"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Oluşturulma" msgstr "Oluşturulma"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "Ad Görünümü" msgstr "Ad Görünümü"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -100,13 +124,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -117,90 +142,92 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "Son Güncelleme" msgstr "Son Güncelleme"
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Son Güncelleyen" msgstr "Son Güncelleyen"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Son Güncelleme" msgstr "Son Güncelleme"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" 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 "" 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"

137
contract_variable_quantity/i18n/uk.po

@ -20,78 +20,102 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Створив" msgstr "Створив"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Створено" msgstr "Створено"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Востаннє відредаговано" msgstr "Востаннє відредаговано"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Дата останньої зміни" msgstr "Дата останньої зміни"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/vi.po

@ -19,78 +19,102 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Tạo trên" msgstr "Tạo trên"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -98,13 +122,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -115,90 +140,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Tên" msgstr "Tên"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

137
contract_variable_quantity/i18n/vi_VN.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "Mã" msgstr "Mã"
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "Tạo bởi" msgstr "Tạo bởi"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "Tạo vào" msgstr "Tạo vào"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "Cập nhật lần cuối bởi" msgstr "Cập nhật lần cuối bởi"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "Cập nhật lần cuối vào" msgstr "Cập nhật lần cuối vào"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "Tên" msgstr "Tên"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""

164
contract_variable_quantity/i18n/zh.po

@ -19,11 +19,19 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_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 ""
#| "<code>\n"
#| " result = env['product.product']."
#| "search_count([('sale_ok', '=', True)])\n"
#| " </code>"
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
"<code>\n" "<code>\n"
@ -32,69 +40,102 @@ msgstr ""
" </code>" " </code>"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "<i>上下文</i>: 当前上下文字典。" msgstr "<i>上下文</i>: 当前上下文字典。"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#, fuzzy
#| msgid "<i>contract</i>: Contract whose line belongs to."
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "<i>合同</i>: 合同行属于" msgstr "<i>合同</i>: 合同行属于"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#, fuzzy
#| msgid "<i>env</i>: Environment variable for getting other models."
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "<i>环境变量 </i>:获取其他模块的环境变量。" msgstr "<i>环境变量 </i>:获取其他模块的环境变量。"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#, fuzzy
#| msgid "<i>invoice</i>: Invoice (header) being created."
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "<i>发票</i>: :正在创建发票(标题)。" msgstr "<i>发票</i>: :正在创建发票(标题)。"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_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 ""
#| "<i>line</i>: Contract recurring invoice line that triggers this formula."
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "<i>发票行</i>: 合同触发此公式的重复发票行。" msgstr "<i>发票行</i>: 合同触发此公式的重复发票行。"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "<i>用户</i>: 当前用户 。" msgstr "<i>用户</i>: 当前用户 。"
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "点击以创建可变数量的新公式。" msgstr "点击以创建可变数量的新公式。"
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "代码" msgstr "代码"
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "创建人" msgstr "创建人"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "创建于" msgstr "创建于"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "显示名" msgstr "显示名"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -104,13 +145,14 @@ msgstr ""
"细节:%s" "细节:%s"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "Python代码示例" msgstr "Python代码示例"
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "固定数量" msgstr "固定数量"
@ -121,92 +163,100 @@ msgid "Formulas (quantity)"
msgstr "公式(数量)" msgstr "公式(数量)"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "Python表达式帮助。" msgstr "Python表达式帮助。"
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "如果选中,数量为零的合同行不会创建发票行" msgstr "如果选中,数量为零的合同行不会创建发票行"
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "最后修改于" msgstr "最后修改于"
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "最好修改人" msgstr "最好修改人"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "最后更新于" msgstr "最后更新于"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "名称" msgstr "名称"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "没有有效的结果返回。" msgstr "没有有效的结果返回。"
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "公司数量" msgstr "公司数量"
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "类型数量" msgstr "类型数量"
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "忽略数量0的行" msgstr "忽略数量0的行"
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "可变数量" msgstr "可变数量"
#. module: contract_variable_quantity #. 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 "您可以使用这些变量来计算公式:" msgstr "您可以使用这些变量来计算公式:"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_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 "" 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 "" msgstr ""
"您必须插入有效的Python代码块,以便在变量'result'中存储需要发票的数量的浮点 / " "您必须插入有效的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 "分析会计合同明细行"

140
contract_variable_quantity/i18n/zh_CN.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "创建人" msgstr "创建人"
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "创建时间" msgstr "创建时间"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "显示名称" msgstr "显示名称"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,89 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "最后修改时间" msgstr "最后修改时间"
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "最后更新人" msgstr "最后更新人"
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "最后更新时间" msgstr "最后更新时间"
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "名称" msgstr "名称"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "核算科目"

137
contract_variable_quantity/i18n/zh_TW.po

@ -20,78 +20,102 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<code>\n" "<code>\n"
" result = env['product.product']."
"search_count([('sale_ok', '=', True)])\n"
" result =\n"
" env['product.product']."
"search_count([('sale_ok',\n"
" '=', True)])\n"
" </code>" " </code>"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>context</i>: Current context dictionary." msgid "<i>context</i>: Current context dictionary."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>contract</i>: Contract whose line belongs to."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>contract</i>: Contract whose line\n"
" belongs to."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>env</i>: Environment variable for getting other models."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>env</i>: Environment variable for\n"
" getting other models."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>invoice</i>: Invoice (header) being created."
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid ""
"<i>invoice</i>: Invoice (header) being\n"
" created."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "" msgid ""
"<i>line</i>: Contract recurring invoice line that triggers this formula."
"<i>line</i>: Contract recurring invoice\n"
" line that triggers this formula."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
#: model_terms:ir.ui.view,arch_db:contract_variable_quantity.view_contract_line_qty_formula_form
msgid "<i>user</i>: Current user." msgid "<i>user</i>: Current user."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
#. module: contract_variable_quantity #. 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." msgid "Click to create a new formula for variable quantities."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Created on"
msgstr "建立於" msgstr "建立於"
#. module: contract_variable_quantity #. 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" msgid "Display Name"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 #, python-format
msgid "" msgid ""
"Error evaluating code.\n" "Error evaluating code.\n"
@ -99,13 +123,14 @@ msgid ""
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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" msgid "Example of Python code"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Fixed quantity"
msgstr "" msgstr ""
@ -116,90 +141,86 @@ msgid "Formulas (quantity)"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. module: contract_variable_quantity
#: model:ir.ui.view,arch_db:contract_variable_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." msgid "Help with Python expressions."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "ID"
msgstr "ID" msgstr "ID"
#. module: contract_variable_quantity #. 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" msgid "If checked, contract lines with 0 qty don't create invoice line"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Modified on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated by"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Last Updated on"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Name"
msgstr "名稱" msgstr "名稱"
#. module: contract_variable_quantity #. 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 #, python-format
msgid "No valid result returned." msgid "No valid result returned."
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. formula"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Qty. type"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Skip Zero Qty Lines"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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" msgid "Variable quantity"
msgstr "" msgstr ""
#. module: contract_variable_quantity #. 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 "" 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 "" msgstr ""
#. module: contract_variable_quantity #. 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 "" msgstr ""
Loading…
Cancel
Save