first commit
This commit is contained in:
2
modules/sale_secondary_unit/__init__.py
Normal file
2
modules/sale_secondary_unit/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
BIN
modules/sale_secondary_unit/__pycache__/__init__.cpython-311.pyc
Normal file
BIN
modules/sale_secondary_unit/__pycache__/__init__.cpython-311.pyc
Normal file
Binary file not shown.
BIN
modules/sale_secondary_unit/__pycache__/account.cpython-311.pyc
Normal file
BIN
modules/sale_secondary_unit/__pycache__/account.cpython-311.pyc
Normal file
Binary file not shown.
BIN
modules/sale_secondary_unit/__pycache__/product.cpython-311.pyc
Normal file
BIN
modules/sale_secondary_unit/__pycache__/product.cpython-311.pyc
Normal file
Binary file not shown.
BIN
modules/sale_secondary_unit/__pycache__/sale.cpython-311.pyc
Normal file
BIN
modules/sale_secondary_unit/__pycache__/sale.cpython-311.pyc
Normal file
Binary file not shown.
BIN
modules/sale_secondary_unit/__pycache__/stock.cpython-311.pyc
Normal file
BIN
modules/sale_secondary_unit/__pycache__/stock.cpython-311.pyc
Normal file
Binary file not shown.
35
modules/sale_secondary_unit/account.py
Normal file
35
modules/sale_secondary_unit/account.py
Normal file
@@ -0,0 +1,35 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool, PoolMeta
|
||||
|
||||
|
||||
class InvoiceLine(metaclass=PoolMeta):
|
||||
__name__ = 'account.invoice.line'
|
||||
|
||||
def get_product_secondary_uom_category(self, name):
|
||||
pool = Pool()
|
||||
SaleLine = pool.get('sale.line')
|
||||
category = super().get_product_secondary_uom_category(name)
|
||||
if isinstance(self.origin, SaleLine):
|
||||
if self.origin.secondary_unit:
|
||||
category = self.origin.secondary_unit.category.id
|
||||
return category
|
||||
|
||||
@property
|
||||
def secondary_uom_factor(self):
|
||||
pool = Pool()
|
||||
SaleLine = pool.get('sale.line')
|
||||
factor = super().secondary_uom_factor
|
||||
if isinstance(self.origin, SaleLine):
|
||||
factor = self.origin.secondary_uom_factor
|
||||
return factor
|
||||
|
||||
@property
|
||||
def secondary_uom_rate(self):
|
||||
pool = Pool()
|
||||
SaleLine = pool.get('sale.line')
|
||||
factor = super().secondary_uom_rate
|
||||
if isinstance(self.origin, SaleLine):
|
||||
factor = self.origin.secondary_uom_rate
|
||||
return factor
|
||||
193
modules/sale_secondary_unit/locale/bg.po
Normal file
193
modules/sale_secondary_unit/locale/bg.po
Normal file
@@ -0,0 +1,193 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
206
modules/sale_secondary_unit/locale/ca.po
Normal file
206
modules/sale_secondary_unit/locale/ca.po
Normal file
@@ -0,0 +1,206 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr "UdM de venta secundaria"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr "Categoria UdM de venta secundaria"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr "Factor UdM de venta secundaria"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr "Rati UdM de venta secundaria"
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr "UdM de venta secundaria"
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr "Categoria UdM de venta secundaria"
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr "Factor UdM de venta secundaria"
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr "Rati UdM de venta secundaria"
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr "Categoria de la UdM secundaria del producte"
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr "Categoria de la UdM secundaria del producte"
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr "Categoria de la UdM secundaria del producte"
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr "Quantitat secundaria"
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr "Unitat secundaria"
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr "Preu unitari secundari"
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr "Factor UdM secundaria"
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr "Rati UdM secundaria"
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr "Categoria UdM per defecte"
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr "UdM de venta secundaria"
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr "Categoria UdM de venta secundaria"
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr "Factor UdM de venta secundaria"
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr "Rati UdM de venta secundaria"
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr "La unitat de mesura secundaria per les vendes."
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
"El coeficient per la fórmula:\n"
|
||||
"1 (unitat de venta) = coeficient (unitat secundaria)"
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
"El coeficient per la fórmula:\n"
|
||||
"coeficient (unitat de venta) = 1 (unitat secundaria)"
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr "La unitat de mesura secundaria per les vendes."
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
"El coeficient per la fórmula:\n"
|
||||
"1 (unitat de venta) = coeficient (unitat secundaria)"
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
"El coeficient per la fórmula:\n"
|
||||
"coeficient (unitat de venta) = 1 (unitat secundaria)"
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr "La categoria de la unitat de mesura secundaria del producte."
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr "La categoria de la unitat de mesura secundaria del producte."
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr "La categoria de la unitat de mesura secundaria del producte."
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr "El factor de la unitat de mesura secundaria."
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr "El rati de la unitat de mesura secundaria."
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr "La categoria de la unitat de mesura per defecte."
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr "La unitat de mesura secundaria per les vendes."
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
"El coeficient per la fórmula:\n"
|
||||
"1 (unitat de venta) = coeficient (unitat secundaria)"
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
"El coeficient per la fórmula:\n"
|
||||
"coeficient (unitat de venta) = 1 (unitat secundaria)"
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
"El factor i el rati de venda secundari de \"%(record)s\" són incompatibles."
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr "Factor:"
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr "Rati:"
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr "Quantitat:"
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr "Preu unitari:"
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr "Unitat:"
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr "Factor:"
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr "Rati:"
|
||||
193
modules/sale_secondary_unit/locale/cs.po
Normal file
193
modules/sale_secondary_unit/locale/cs.po
Normal file
@@ -0,0 +1,193 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
207
modules/sale_secondary_unit/locale/de.po
Normal file
207
modules/sale_secondary_unit/locale/de.po
Normal file
@@ -0,0 +1,207 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr "Verkauf Zweitmaßeinheit"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr "Verkauf Zweitmaßeinheitenkategorie"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr "Verkauf Zweitmaßeinheit Faktor"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr "Verkauf Zweitmaßeinheit Kehrwert Faktor"
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr "Verkauf Zweitmaßeinheit"
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr "Verkauf Zweitmaßeinheitenkategorie"
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr "Verkauf Zweitmaßeinheit Faktor"
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr "Verkauf Zweitmaßeinheit Kehrwert Faktor"
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr "Artikel Zweitmaßeinheitenkategorie"
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr "Artikel Zweitmaßeinheitenkategorie"
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr "Artikel Zweitmaßeinheitenkategorie"
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr "Zweitmenge"
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr "Zweitmaßeinheit"
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr "Zweiteinzelpreis"
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr "Zweitmaßeinheit Faktor"
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr "Zweitmaßeinheit Kehrwert Faktor"
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr "Standard Maßeinheitenkategorie"
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr "Verkauf Zweitmaßeinheit"
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr "Verkauf Zweitmaßeinheitenkategorie"
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr "Verkauf Zweitmaßeinheit Faktor"
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr "Verkauf Zweitmaßeinheit Kehrwert Faktor"
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr "Die Zweitmaßeinheit für Verkäufe."
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
"Der Koeffizient für die Formel:\n"
|
||||
"1 (Verkaufseinheit) = Koeffizient (Zweitmaßeinheit)"
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
"Der Koeffizient für die Formel:\n"
|
||||
"Koeffizient (Verkaufseinheit) = 1 (Zweitmaßeinheit)"
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr "Die Zeitmaßeinheit für Verkäufe."
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
"Der Koeffizient für die Formel:\n"
|
||||
"1 (Verkaufseinheit) = Koeffizient (Zweitmaßeinheit)"
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
"Der Koeffizient für die Formel:\n"
|
||||
"Koeffizient (Verkaufseinheit) = 1 (Zweitmaßeinheit)"
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr "Die Kategorie für die Zweitmaßeinheit des Artikels."
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr "Die Kategorie für die Zweitmaßeinheit des Artikels."
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr "Die Kategorie für die Zweitmaßeinheit des Artikels."
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr "Der Faktor für die Zweitmaßeinheit."
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr "Der Kehrwert Faktor für die Zweitmaßeinheit."
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr "Die Kategorie der Standardmaßeinheit."
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr "Die Zweitmaßeinheit für Verkäufe."
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
"Der Koeffizient für die Formel:\n"
|
||||
"1 (Verkaufseinheit) = Koeffizient (Zweitmaßeinheit)"
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
"Der Koeffizient für die Formel:\n"
|
||||
"Koeffizient (Verkaufseinheit) = 1 (Zweitmaßeinheit)"
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
"Inkompatible Werte für Faktor und Kehrwert der Zweiteinheit für "
|
||||
"\"%(record)s\"."
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr "Faktor:"
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr "Kehrwert Faktor:"
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr "Menge:"
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr "Einzelpreis:"
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr "Einheit:"
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr "Faktor:"
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr "Kehrwert Faktor:"
|
||||
207
modules/sale_secondary_unit/locale/es.po
Normal file
207
modules/sale_secondary_unit/locale/es.po
Normal file
@@ -0,0 +1,207 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr "UdM de venta secundaria"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr "Categoría UdM de venta secundaria"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr "Factor UdM de venta secundaria"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr "Ratio UdM de venta secundaria"
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr "UdM de venta secundaria"
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr "Categoría UdM de venta secundaria"
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr "Factor UdM de venta secundaria"
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr "Ratio UdM de venta secundaria"
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr "Categoría de la UdM secundaria del producto"
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr "Categoría de la UdM secundaria del producto"
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr "Categoría de la UdM secundaria del producto"
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr "Cantidad secundaria"
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr "Unidad secundaria"
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr "Precio unitario secundario"
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr "Factor UdM secundaria"
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr "Ratio UdM secundaria"
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr "Categoría UdM por defecto"
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr "UdM de venta secundaria"
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr "Categoría UdM de venta secundaria"
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr "Factor UdM de venta secundaria"
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr "Ratio UdM de venta secundaria"
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr "La unidad de medida secundaria para las ventas."
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
"El coeficiente para la formula:\n"
|
||||
"1 (unidad de venta) = coeficiente (unidad secundaria)"
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
"El coeficiente para la formula:\n"
|
||||
"coeficiente (unidad de venta) = 1 (unidad secundaria)"
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr "La unidad de medida secundaria para las ventas."
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
"El coeficiente para la fórmula:\n"
|
||||
"1 (unidad de venta) = coeficiente (unidad secundaria)"
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
"El coeficiente para la fórmula:\n"
|
||||
"coeficiente (unidad de venta) = 1 (unidad secundaria)"
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr "La categoria de la unidad de medida secundaria del producto."
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr "La categoria de la unidad de medida secundaria del producto."
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr "La categoria de la unidad de medida secundaria del producto."
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr "El factor de la unidad de medida secundaria."
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr "El ratio de la unidad de medida secundaria."
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr "La categoria de la unidad de medida por defecto."
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr "La unidad de medida secundaria para las ventas."
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
"El coeficiente para la fórmula:\n"
|
||||
"1 (unidad de venta) = coeficiente (unidad secundaria)"
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
"El coeficiente para la fórmula:\n"
|
||||
"coeficiente (unidad de venta) = 1 (unidad secundaria)"
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
"El factor i el ratio de venta secundarios de \"%(record)s\" són "
|
||||
"incompatibles."
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr "Factor:"
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr "Ratio:"
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr "Cantidad:"
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr "Precio unitario:"
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr "Unidad:"
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr "Factor:"
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr "Ratio:"
|
||||
193
modules/sale_secondary_unit/locale/es_419.po
Normal file
193
modules/sale_secondary_unit/locale/es_419.po
Normal file
@@ -0,0 +1,193 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
193
modules/sale_secondary_unit/locale/et.po
Normal file
193
modules/sale_secondary_unit/locale/et.po
Normal file
@@ -0,0 +1,193 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
193
modules/sale_secondary_unit/locale/fa.po
Normal file
193
modules/sale_secondary_unit/locale/fa.po
Normal file
@@ -0,0 +1,193 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
193
modules/sale_secondary_unit/locale/fi.po
Normal file
193
modules/sale_secondary_unit/locale/fi.po
Normal file
@@ -0,0 +1,193 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
206
modules/sale_secondary_unit/locale/fr.po
Normal file
206
modules/sale_secondary_unit/locale/fr.po
Normal file
@@ -0,0 +1,206 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr "UDM secondaire de vente"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr "Catégorie d'UDM secondaire de vente"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr "Facteur d'UDM secondaire de vente"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr "Taux d'UDM secondaire de vente"
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr "UDM secondaire de vente"
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr "Catégorie d'UDM secondaire de vente"
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr "Facteur d'UDM secondaire de vente"
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr "Taux d'UDM secondaire de vente"
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr "Catégorie d'UDM secondaire du produit"
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr "Catégorie d'UDM secondaire du produit"
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr "Catégorie d'UDM secondaire du produit"
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr "Quantité secondaire"
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr "Unité secondaire"
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr "Prix unitaire secondaire"
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr "Facteur d'UDM secondaire"
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr "Taux d'UDM secondaire"
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr "Catégorie d'UDM par défaut"
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr "UDM secondaire de vente"
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr "Catégorie d'UDM secondaire de vente"
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr "Facteur d'UDM secondaire de vente"
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr "Taux d'UDM secondaire de vente"
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr "L'Unité De Mesure secondaire pour les ventes."
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
"Le coefficient pour la formule :\n"
|
||||
"1 (unité de vente) = coefficient (unité secondaire)"
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
"Le coefficient pour la formule :\n"
|
||||
"coefficient (unité de vente) = 1 (unité secondaire)"
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr "L'Unité De Mesure secondaire pour les ventes."
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
"Le coefficient pour la formule :\n"
|
||||
"1 (unité de vente) = coefficient (unité secondaire)"
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
"Le coefficient pour la formule :\n"
|
||||
"coefficient (unité de vente) = 1 (unité secondaire)"
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr "La catégorie d'Unité De Mesure secondaire pour le produit."
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr "La catégorie d'Unité De Mesure secondaire pour le produit."
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr "La catégorie d'unité de mesure secondaire pour le produit."
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr "Le facteur pour l'Unité De Mesure secondaire."
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr "Le taux pour l’Unité De Mesure secondaire."
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr "La catégorie de l'Unité De Mesure par défaut."
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr "L'Unité De Mesure secondaire pour les ventes."
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
"Le coefficient pour la formule :\n"
|
||||
"1 (unité de vente) = coefficient (unité secondaire)"
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
"Le coefficient pour la formule :\n"
|
||||
"coefficient (unité de vente) = 1 (unité secondaire)"
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
"Facteur et taux secondaires de vente incompatibles pour « %(record)s »."
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr "Facteur :"
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr "Taux :"
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr "Quantité :"
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr "Prix unitaire :"
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr "Unité :"
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr "Facteur :"
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr "Taux :"
|
||||
193
modules/sale_secondary_unit/locale/hu.po
Normal file
193
modules/sale_secondary_unit/locale/hu.po
Normal file
@@ -0,0 +1,193 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
193
modules/sale_secondary_unit/locale/id.po
Normal file
193
modules/sale_secondary_unit/locale/id.po
Normal file
@@ -0,0 +1,193 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
193
modules/sale_secondary_unit/locale/it.po
Normal file
193
modules/sale_secondary_unit/locale/it.po
Normal file
@@ -0,0 +1,193 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
193
modules/sale_secondary_unit/locale/lo.po
Normal file
193
modules/sale_secondary_unit/locale/lo.po
Normal file
@@ -0,0 +1,193 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
193
modules/sale_secondary_unit/locale/lt.po
Normal file
193
modules/sale_secondary_unit/locale/lt.po
Normal file
@@ -0,0 +1,193 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
207
modules/sale_secondary_unit/locale/nl.po
Normal file
207
modules/sale_secondary_unit/locale/nl.po
Normal file
@@ -0,0 +1,207 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr "Verkoop Secundaire maateenheid"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr "Verkoop secundaire maateenheid categorie"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr "Verkoop secundaire maateenheid factor"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr "Verkoop Secundaire maateenheid verhouding"
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr "Verkoop secundaire maateenheid"
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr "Verkoop secundaire maateenheid categorie"
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr "Verkoop secundaire maateenheid factor"
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr "Verkoop Secundaire maateenheid verhouding"
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr "Product secundaire maateenheid categorie"
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr "Product secundaire maateenheid categorie"
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr "Product secundaire maateenheid categorie"
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr "Secundaire hoeveelheid"
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr "Secundaire eenheid"
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr "secundaire eenheidsprijs"
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr "Secundaire maateenheid factor"
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr "Secundaire maateenheid verhouding"
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr "Standaard maateenheid categorie"
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr "Verkoop secundaire maateenheid"
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr "Verkoop secundaire maateenheid categorie"
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr "Verkoop secundaire maateenheid factor"
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr "Verkoop secundaire maateenheid verhouding"
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr "De secundaire maateenheid voor verkoop."
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
"De coëfficiënt voor de formule:\n"
|
||||
"1 (verkoopeenheid) = coëfficiënt (secundaire eenheid)"
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
"De coëfficiënt voor de formule:\n"
|
||||
"coëfficiënt (verkoopeenheid) = 1 (secundaire eenheid)"
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr "De secundaire maateenheid voor verkoop."
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
"De coëfficiënt voor de formule:\n"
|
||||
"1 (verkoopeenheid) = coëfficiënt (secundaire eenheid)"
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
"De coëfficiënt voor de formule:\n"
|
||||
"coëfficiënt (verkoopeenheid) = 1 (secundaire eenheid)"
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr "De categorie van de secundaire maateenheid van het product."
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr "De categorie van de secundaire maateenheid van het product."
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr "De categorie van de secundaire maateenheid van het product."
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr "De factor voor de secundaire maateenheid."
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr "De verhouding voor de secundaire maateenheid."
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr "De categorie van de standaard maateenheid."
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr "De secundaire maateenheid voor verkoop."
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
"De coëfficiënt voor de formule:\n"
|
||||
"1 (verkoopeenheid) = coëfficiënt (secundaire eenheid)"
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
"De coëfficiënt voor de formule:\n"
|
||||
"coëfficiënt (verkoopeenheid) = 1 (secundaire eenheid)"
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
"Incompatibele secundaire factor en waardebeoordeling (rate values ) voor "
|
||||
"\"%(record)s\"."
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr "Factor:"
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr "Waarde:"
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr "Hoeveelheid:"
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr "Eenheid prijs:"
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr "Eenheid:"
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr "Factor:"
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr "Waarde:"
|
||||
193
modules/sale_secondary_unit/locale/pl.po
Normal file
193
modules/sale_secondary_unit/locale/pl.po
Normal file
@@ -0,0 +1,193 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
193
modules/sale_secondary_unit/locale/pt.po
Normal file
193
modules/sale_secondary_unit/locale/pt.po
Normal file
@@ -0,0 +1,193 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
193
modules/sale_secondary_unit/locale/ro.po
Normal file
193
modules/sale_secondary_unit/locale/ro.po
Normal file
@@ -0,0 +1,193 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
193
modules/sale_secondary_unit/locale/ru.po
Normal file
193
modules/sale_secondary_unit/locale/ru.po
Normal file
@@ -0,0 +1,193 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
193
modules/sale_secondary_unit/locale/sl.po
Normal file
193
modules/sale_secondary_unit/locale/sl.po
Normal file
@@ -0,0 +1,193 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
193
modules/sale_secondary_unit/locale/tr.po
Normal file
193
modules/sale_secondary_unit/locale/tr.po
Normal file
@@ -0,0 +1,193 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
193
modules/sale_secondary_unit/locale/uk.po
Normal file
193
modules/sale_secondary_unit/locale/uk.po
Normal file
@@ -0,0 +1,193 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
193
modules/sale_secondary_unit/locale/zh_CN.po
Normal file
193
modules/sale_secondary_unit/locale/zh_CN.po
Normal file
@@ -0,0 +1,193 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.product,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:product.template,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,product_secondary_uom_category:"
|
||||
msgid "Product Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_quantity:"
|
||||
msgid "Secondary Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit:"
|
||||
msgid "Secondary Unit"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_unit_price:"
|
||||
msgid "Secondary Unit Price"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_factor:"
|
||||
msgid "Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.line,secondary_uom_rate:"
|
||||
msgid "Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,default_uom_category:"
|
||||
msgid "Default UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "Sale Secondary UoM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_category:"
|
||||
msgid "Sale Secondary UoM Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid "Sale Secondary UoM Factor"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid "Sale Secondary UoM Rate"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.product,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:product.template,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.amendment.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.blanket_agreement.line,product_secondary_uom_category:"
|
||||
msgid "The category of the secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,product_secondary_uom_category:"
|
||||
msgid "The category of secondary Unit of Measure for the product."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_factor:"
|
||||
msgid "The factor for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.line,secondary_uom_rate:"
|
||||
msgid "The rate for the secondary Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,default_uom_category:"
|
||||
msgid "The category of default Unit of Measure."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom:"
|
||||
msgid "The secondary Unit of Measure for sales."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_factor:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "help:sale.product_customer,sale_secondary_uom_rate:"
|
||||
msgid ""
|
||||
"The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgctxt ""
|
||||
"model:ir.message,text:msg_sale_secondary_uom_incompatible_factor_rate"
|
||||
msgid "Incompatible sale secondary factor and rate values for \"%(record)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:product.template:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Quantity:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit Price:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.line:"
|
||||
msgid "Unit:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Factor:"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:sale.product_customer:"
|
||||
msgid "Rate:"
|
||||
msgstr ""
|
||||
10
modules/sale_secondary_unit/message.xml
Normal file
10
modules/sale_secondary_unit/message.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tryton>
|
||||
<data grouped="1">
|
||||
<record model="ir.message" id="msg_sale_secondary_uom_incompatible_factor_rate">
|
||||
<field name="text">Incompatible sale secondary factor and rate values for "%(record)s".</field>
|
||||
</record>
|
||||
</data>
|
||||
</tryton>
|
||||
166
modules/sale_secondary_unit/product.py
Normal file
166
modules/sale_secondary_unit/product.py
Normal file
@@ -0,0 +1,166 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.i18n import gettext
|
||||
from trytond.model import fields
|
||||
from trytond.modules.product import uom_conversion_digits
|
||||
from trytond.modules.product.exceptions import UOMValidationError
|
||||
from trytond.pool import PoolMeta
|
||||
from trytond.pyson import Bool, Eval
|
||||
|
||||
|
||||
class SaleSecondaryMixin:
|
||||
__slots__ = ()
|
||||
sale_secondary_uom = fields.Many2One(
|
||||
'product.uom', "Sale Secondary UoM",
|
||||
domain=[
|
||||
('category', '!=', Eval('default_uom_category', -1)),
|
||||
],
|
||||
help="The secondary Unit of Measure for sales.")
|
||||
sale_secondary_uom_factor = fields.Float(
|
||||
"Sale Secondary UoM Factor", digits=uom_conversion_digits,
|
||||
states={
|
||||
'required': Bool(Eval('sale_secondary_uom')),
|
||||
'invisible': ~Eval('sale_secondary_uom'),
|
||||
},
|
||||
help="The coefficient for the formula:\n"
|
||||
"1 (sale unit) = coefficient (secondary unit)")
|
||||
sale_secondary_uom_rate = fields.Float(
|
||||
"Sale Secondary UoM Rate", digits=uom_conversion_digits,
|
||||
states={
|
||||
'required': Bool(Eval('sale_secondary_uom')),
|
||||
'invisible': ~Eval('sale_secondary_uom'),
|
||||
},
|
||||
help="The coefficient for the formula:\n"
|
||||
"coefficient (sale unit) = 1 (secondary unit)")
|
||||
sale_secondary_uom_category = fields.Function(
|
||||
fields.Many2One('product.uom.category', "Sale Secondary UoM Category"),
|
||||
'on_change_with_sale_secondary_uom_category',
|
||||
searcher='search_sale_secondary_uom_category')
|
||||
|
||||
@fields.depends('sale_secondary_uom_factor')
|
||||
def on_change_sale_secondary_uom_factor(self):
|
||||
if not self.sale_secondary_uom_factor:
|
||||
self.sale_secondary_uom_rate = None
|
||||
else:
|
||||
self.sale_secondary_uom_rate = round(
|
||||
1. / self.sale_secondary_uom_factor, uom_conversion_digits[1])
|
||||
|
||||
@fields.depends('sale_secondary_uom_rate')
|
||||
def on_change_sale_secondary_uom_rate(self):
|
||||
if not self.sale_secondary_uom_rate:
|
||||
self.sale_secondary_uom_factor = None
|
||||
else:
|
||||
self.sale_secondary_uom_factor = round(
|
||||
1. / self.sale_secondary_uom_rate, uom_conversion_digits[1])
|
||||
|
||||
@fields.depends('sale_secondary_uom')
|
||||
def on_change_with_sale_secondary_uom_category(self, name=None):
|
||||
if self.sale_secondary_uom:
|
||||
return self.sale_secondary_uom.category
|
||||
|
||||
@classmethod
|
||||
def search_sale_secondary_uom_category(cls, name, clause):
|
||||
return [('sale_secondary_uom.category' + clause[0][len(name):],
|
||||
*clause[1:])]
|
||||
|
||||
@property
|
||||
def sale_secondary_uom_normal_rate(self):
|
||||
uom = self.sale_secondary_uom
|
||||
rate = self.sale_secondary_uom_rate
|
||||
if self.sale_uom and rate and uom:
|
||||
if self.sale_uom.accurate_field == 'factor':
|
||||
rate *= self.sale_uom.factor
|
||||
else:
|
||||
rate /= self.sale_uom.rate
|
||||
if uom.accurate_field == 'factor':
|
||||
rate /= uom.factor
|
||||
else:
|
||||
rate *= uom.rate
|
||||
return rate
|
||||
|
||||
@property
|
||||
def sale_secondary_uom_normal_factor(self):
|
||||
uom = self.sale_secondary_uom
|
||||
factor = self.sale_secondary_uom_factor
|
||||
if uom and factor and self.sale_uom:
|
||||
if uom.accurate_field == 'factor':
|
||||
factor *= uom.factor
|
||||
else:
|
||||
factor /= uom.rate
|
||||
if self.sale_uom.accurate_field == 'factor':
|
||||
factor /= self.sale_uom.factor
|
||||
else:
|
||||
factor *= self.sale_uom.rate
|
||||
return factor
|
||||
|
||||
@classmethod
|
||||
def validate_fields(cls, records, field_names):
|
||||
super().validate_fields(records, field_names)
|
||||
cls.check_sale_secondary_uom_factor_and_rate(records, field_names)
|
||||
|
||||
@classmethod
|
||||
def check_sale_secondary_uom_factor_and_rate(
|
||||
cls, records, field_names=None):
|
||||
if field_names and not (field_names & {
|
||||
'sale_secondary_uom_factor', 'sale_secondary_uom_rate'}):
|
||||
return
|
||||
for record in records:
|
||||
factor = record.sale_secondary_uom_factor
|
||||
rate = record.sale_secondary_uom_rate
|
||||
if factor and rate:
|
||||
new_rate = round(1. / factor, uom_conversion_digits[1])
|
||||
new_factor = round(1. / rate, uom_conversion_digits[1])
|
||||
if rate != new_rate and factor != new_factor:
|
||||
raise UOMValidationError(
|
||||
gettext('sale_secondary_unit'
|
||||
'.msg_sale_secondary_uom_incompatible_factor_rate',
|
||||
record=record.rec_name))
|
||||
|
||||
|
||||
class Template(SaleSecondaryMixin, metaclass=PoolMeta):
|
||||
__name__ = 'product.template'
|
||||
|
||||
@classmethod
|
||||
def __setup__(cls):
|
||||
super().__setup__()
|
||||
cls.sale_secondary_uom.states = {
|
||||
'invisible': ~Eval('salable', False),
|
||||
}
|
||||
|
||||
|
||||
class Product(metaclass=PoolMeta):
|
||||
__name__ = 'product.product'
|
||||
|
||||
@property
|
||||
def sale_secondary_uom_normal_rate(self):
|
||||
return self.template.sale_secondary_uom_normal_rate
|
||||
|
||||
@property
|
||||
def sale_secondary_uom_normal_factor(self):
|
||||
return self.template.sale_secondary_uom_normal_factor
|
||||
|
||||
|
||||
class ProductCustomer(SaleSecondaryMixin, metaclass=PoolMeta):
|
||||
__name__ = 'sale.product_customer'
|
||||
|
||||
default_uom_category = fields.Function(
|
||||
fields.Many2One(
|
||||
'product.uom.category', "Default UoM Category",
|
||||
help="The category of default Unit of Measure."),
|
||||
'on_change_with_default_uom_category')
|
||||
|
||||
@fields.depends('template', '_parent_template.sale_uom',
|
||||
'product', '_parent_product.sale_uom')
|
||||
def on_change_with_default_uom_category(self, name=None):
|
||||
if self.product and self.product.sale_uom:
|
||||
return self.product.sale_uom.category
|
||||
elif self.template and self.template.sale_uom:
|
||||
return self.template.sale_uom.category
|
||||
|
||||
@property
|
||||
def sale_uom(self):
|
||||
if self.product and self.product.sale_uom:
|
||||
return self.product.sale_uom
|
||||
elif self.template and self.template.sale_uom:
|
||||
return self.template.sale_uom
|
||||
20
modules/sale_secondary_unit/product.xml
Normal file
20
modules/sale_secondary_unit/product.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tryton>
|
||||
<data>
|
||||
<record model="ir.ui.view" id="template_view_form">
|
||||
<field name="model">product.template</field>
|
||||
<field name="inherit" ref="product.template_view_form"/>
|
||||
<field name="name">product_template_form</field>
|
||||
</record>
|
||||
</data>
|
||||
|
||||
<data depends="sale_product_customer">
|
||||
<record model="ir.ui.view" id="product_customer_view_form">
|
||||
<field name="model">sale.product_customer</field>
|
||||
<field name="inherit" ref="sale_product_customer.product_customer_view_form"/>
|
||||
<field name="name">product_customer_form</field>
|
||||
</record>
|
||||
</data>
|
||||
</tryton>
|
||||
354
modules/sale_secondary_unit/sale.py
Normal file
354
modules/sale_secondary_unit/sale.py
Normal file
@@ -0,0 +1,354 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from trytond.model import fields
|
||||
from trytond.modules.currency.fields import Monetary
|
||||
from trytond.modules.product import price_digits, round_price
|
||||
from trytond.pool import Pool, PoolMeta
|
||||
from trytond.pyson import Eval, If
|
||||
|
||||
|
||||
class Line(metaclass=PoolMeta):
|
||||
__name__ = 'sale.line'
|
||||
|
||||
secondary_quantity = fields.Function(fields.Float(
|
||||
"Secondary Quantity", digits='secondary_unit',
|
||||
states={
|
||||
'invisible': ((Eval('type') != 'line')
|
||||
| ~Eval('secondary_unit')),
|
||||
'readonly': Eval('sale_state') != 'draft',
|
||||
},
|
||||
depends=['secondary_uom_factor', 'secondary_uom_rate']),
|
||||
'on_change_with_secondary_quantity', setter='set_secondary')
|
||||
secondary_unit = fields.Many2One(
|
||||
'product.uom', "Secondary Unit", ondelete='RESTRICT',
|
||||
domain=[
|
||||
If(Eval('sale_state') == 'draft',
|
||||
('category', '=', Eval('product_secondary_uom_category')),
|
||||
()),
|
||||
],
|
||||
states={
|
||||
'invisible': ((Eval('type') != 'line')
|
||||
| ~Eval('product_secondary_uom_category')),
|
||||
'readonly': Eval('sale_state') != 'draft',
|
||||
})
|
||||
secondary_unit_price = fields.Function(Monetary(
|
||||
"Secondary Unit Price", currency='currency', digits=price_digits,
|
||||
states={
|
||||
'invisible': ((Eval('type') != 'line')
|
||||
| ~Eval('secondary_unit')),
|
||||
'readonly': Eval('sale_state') != 'draft',
|
||||
}),
|
||||
'on_change_with_secondary_unit_price', setter='set_secondary')
|
||||
|
||||
secondary_uom_factor = fields.Float(
|
||||
"Secondary UoM Factor",
|
||||
states={
|
||||
'readonly': True,
|
||||
'required': (Eval('type') == 'line') & Eval('secondary_unit'),
|
||||
},
|
||||
help="The factor for the secondary Unit of Measure.")
|
||||
secondary_uom_rate = fields.Float(
|
||||
"Secondary UoM Rate",
|
||||
states={
|
||||
'readonly': True,
|
||||
'required': (Eval('type') == 'line') & Eval('secondary_unit'),
|
||||
},
|
||||
help="The rate for the secondary Unit of Measure.")
|
||||
|
||||
product_secondary_uom_category = fields.Function(
|
||||
fields.Many2One(
|
||||
'product.uom.category', "Product Secondary UoM Category",
|
||||
help="The category of secondary Unit of Measure for the product."),
|
||||
'on_change_with_product_secondary_uom_category')
|
||||
|
||||
@fields.depends('product')
|
||||
def _secondary_record(self):
|
||||
if self.product and self.product.sale_secondary_uom:
|
||||
return self.product
|
||||
|
||||
@fields.depends('quantity', 'unit', 'secondary_unit',
|
||||
'secondary_uom_factor', 'secondary_uom_rate')
|
||||
def on_change_with_secondary_quantity(self, name=None):
|
||||
pool = Pool()
|
||||
Uom = pool.get('product.uom')
|
||||
if (self.quantity and self.unit and self.secondary_unit
|
||||
and (self.secondary_uom_factor or self.secondary_uom_rate)):
|
||||
return Uom.compute_qty(
|
||||
self.unit, self.quantity,
|
||||
self.secondary_unit, round=True,
|
||||
factor=self.secondary_uom_factor, rate=self.secondary_uom_rate)
|
||||
else:
|
||||
return None
|
||||
|
||||
@fields.depends('secondary_quantity', 'secondary_unit', 'unit',
|
||||
'secondary_uom_factor', 'secondary_uom_rate',
|
||||
methods=['on_change_quantity', 'on_change_with_amount'])
|
||||
def on_change_secondary_quantity(self):
|
||||
pool = Pool()
|
||||
Uom = pool.get('product.uom')
|
||||
if (self.secondary_quantity and self.secondary_unit and self.unit
|
||||
and (self.secondary_uom_factor or self.secondary_uom_rate)):
|
||||
self.quantity = Uom.compute_qty(
|
||||
self.secondary_unit, self.secondary_quantity,
|
||||
self.unit, round=True,
|
||||
factor=self.secondary_uom_rate, rate=self.secondary_uom_factor)
|
||||
self.on_change_quantity()
|
||||
self.amount = self.on_change_with_amount()
|
||||
|
||||
@fields.depends('unit_price', 'unit', 'secondary_unit',
|
||||
'secondary_uom_factor', 'secondary_uom_rate')
|
||||
def on_change_with_secondary_unit_price(self, name=None):
|
||||
pool = Pool()
|
||||
Uom = pool.get('product.uom')
|
||||
if (self.unit_price is not None and self.unit and self.secondary_unit
|
||||
and (self.secondary_uom_factor or self.secondary_uom_rate)):
|
||||
unit_price = Uom.compute_price(
|
||||
self.unit, self.unit_price, self.secondary_unit,
|
||||
factor=self.secondary_uom_factor, rate=self.secondary_uom_rate)
|
||||
return round_price(unit_price)
|
||||
else:
|
||||
return None
|
||||
|
||||
@fields.depends('secondary_unit_price', 'secondary_unit', 'unit',
|
||||
'secondary_uom_factor', 'secondary_uom_rate',
|
||||
methods=['on_change_with_amount'])
|
||||
def on_change_secondary_unit_price(self, name=None):
|
||||
pool = Pool()
|
||||
Uom = pool.get('product.uom')
|
||||
if (self.secondary_unit_price is not None
|
||||
and self.secondary_unit and self.unit
|
||||
and (self.secondary_uom_factor or self.secondary_uom_rate)):
|
||||
self.unit_price = Uom.compute_price(
|
||||
self.secondary_unit, self.secondary_unit_price, self.unit,
|
||||
factor=self.secondary_uom_rate, rate=self.secondary_uom_factor)
|
||||
self.unit_price = round_price(self.unit_price)
|
||||
self.amount = self.on_change_with_amount()
|
||||
|
||||
@fields.depends(methods=[
|
||||
'on_change_secondary_quantity', 'on_change_secondary_unit_price'])
|
||||
def on_change_secondary_unit(self):
|
||||
self.on_change_secondary_quantity()
|
||||
self.on_change_secondary_unit_price()
|
||||
|
||||
@fields.depends(methods=['_secondary_record'])
|
||||
def on_change_with_product_secondary_uom_category(self, name=None):
|
||||
secondary_record = self._secondary_record()
|
||||
if secondary_record:
|
||||
return secondary_record.sale_secondary_uom.category
|
||||
|
||||
@classmethod
|
||||
def set_secondary(cls, lines, name, value):
|
||||
pass
|
||||
|
||||
@fields.depends(
|
||||
'secondary_unit', 'product',
|
||||
methods=['on_change_with_secondary_quantity', '_secondary_record'])
|
||||
def on_change_product(self):
|
||||
super().on_change_product()
|
||||
secondary_record = self._secondary_record()
|
||||
if secondary_record:
|
||||
secondary_uom = secondary_record.sale_secondary_uom
|
||||
if self.secondary_unit and secondary_uom:
|
||||
if self.secondary_unit.category != secondary_uom.category:
|
||||
self.secondary_unit = None
|
||||
if not self.secondary_unit and secondary_record != self.product:
|
||||
self.secondary_unit = secondary_uom
|
||||
|
||||
if secondary_record:
|
||||
self.secondary_uom_factor = (
|
||||
secondary_record.sale_secondary_uom_normal_factor)
|
||||
self.secondary_uom_rate = (
|
||||
secondary_record.sale_secondary_uom_normal_rate)
|
||||
else:
|
||||
self.secondary_unit = None
|
||||
self.secondary_uom_factor = None
|
||||
self.secondary_uom_rate = None
|
||||
self.secondary_quantity = self.on_change_with_secondary_quantity()
|
||||
|
||||
def get_invoice_line(self):
|
||||
pool = Pool()
|
||||
InvoiceLine = pool.get('account.invoice.line')
|
||||
lines = super().get_invoice_line()
|
||||
if hasattr(InvoiceLine, 'secondary_unit'):
|
||||
for line in lines:
|
||||
if line.type != 'line':
|
||||
continue
|
||||
if line.unit == self.unit:
|
||||
line.secondary_unit = self.secondary_unit
|
||||
return lines
|
||||
|
||||
def get_move(self, shipment_type):
|
||||
move = super().get_move(shipment_type)
|
||||
if move and hasattr(move.__class__, 'secondary_unit'):
|
||||
if move.unit == self.unit:
|
||||
move.secondary_unit = self.secondary_unit
|
||||
return move
|
||||
|
||||
|
||||
class Line_ProductCustomer(metaclass=PoolMeta):
|
||||
__name__ = 'sale.line'
|
||||
|
||||
@fields.depends('product_customer')
|
||||
def _secondary_record(self):
|
||||
if self.product_customer and self.product_customer.sale_secondary_uom:
|
||||
return self.product_customer
|
||||
return super()._secondary_record()
|
||||
|
||||
|
||||
class OpportunityLine(metaclass=PoolMeta):
|
||||
__name__ = 'sale.opportunity.line'
|
||||
|
||||
def _set_sale_line_quantity(self, sale_line):
|
||||
super()._set_sale_line_quantity(sale_line)
|
||||
if self.unit.category != self.product.sale_uom.category:
|
||||
sale_line.unit = self.product.sale_uom
|
||||
sale_line.secondary_quantity = self.quantity
|
||||
sale_line.secondary_unit = self.unit
|
||||
sale_line.on_change_secondary_quantity()
|
||||
|
||||
|
||||
class BlanketAgreementLine(metaclass=PoolMeta):
|
||||
__name__ = 'sale.blanket_agreement.line'
|
||||
|
||||
product_secondary_uom_category = fields.Function(
|
||||
fields.Many2One(
|
||||
'product.uom.category', "Product Secondary UoM Category",
|
||||
help="The category of the secondary Unit of Measure "
|
||||
"for the product."),
|
||||
'on_change_with_product_secondary_uom_category')
|
||||
|
||||
@classmethod
|
||||
def _unit_categories(cls):
|
||||
return super()._unit_categories() + ['product_secondary_uom_category']
|
||||
|
||||
def is_same_uom_category(self, sale_line):
|
||||
return super().is_same_uom_category(sale_line) or (
|
||||
sale_line.secondary_unit and (
|
||||
self.unit.category == sale_line.secondary_unit.category))
|
||||
|
||||
def remainig_quantity_for_sale(self, line, round=True):
|
||||
pool = Pool()
|
||||
Uom = pool.get('product.uom')
|
||||
remaining_quantity = super().remainig_quantity_for_sale(
|
||||
line, round=round)
|
||||
if (self.remaining_quantity is not None
|
||||
and line.secondary_unit
|
||||
and self.unit.category == line.secondary_unit.category):
|
||||
remaining_quantity = Uom.compute_qty(
|
||||
self.unit, self.remaining_quantity, line.unit,
|
||||
factor=line.secondary_uom_rate,
|
||||
rate=line.secondary_uom_factor,
|
||||
round=round)
|
||||
return remaining_quantity
|
||||
|
||||
@fields.depends('product')
|
||||
def on_change_with_product_secondary_uom_category(self, name=None):
|
||||
if self.product and self.product.sale_secondary_uom:
|
||||
return self.product.sale_secondary_uom.category
|
||||
|
||||
def _set_sale_line_quantity(self, sale_line):
|
||||
super()._set_sale_line_quantity(sale_line)
|
||||
secondary_uom = self.product.sale_secondary_uom
|
||||
if (secondary_uom
|
||||
and self.unit.category == secondary_uom.category):
|
||||
sale_line.unit = self.product.sale_uom
|
||||
sale_line.secondary_quantity = self.remaining_quantity or 0
|
||||
sale_line.secondary_unit = self.unit
|
||||
sale_line.secondary_unit_price = self.unit_price
|
||||
sale_line.on_change_secondary_quantity()
|
||||
|
||||
|
||||
class LineBlanketAgreement(metaclass=PoolMeta):
|
||||
__name__ = 'sale.line'
|
||||
|
||||
@fields.depends(
|
||||
'blanket_agreement_line', '_parent_blanket_agreement_line.unit',
|
||||
'_parent_blanket_agreement_line.unit_price', 'unit', 'secondary_unit',
|
||||
'secondary_uom_rate', 'secondary_uom_factor')
|
||||
def compute_unit_price(self):
|
||||
pool = Pool()
|
||||
Uom = pool.get('product.uom')
|
||||
unit_price = super().compute_unit_price()
|
||||
line = self.blanket_agreement_line
|
||||
if (line
|
||||
and self.unit
|
||||
and self.secondary_unit
|
||||
and line.unit
|
||||
and self.secondary_unit.category == line.unit.category):
|
||||
secondary_unit_price = Uom.compute_price(
|
||||
line.unit, line.unit_price, self.secondary_unit)
|
||||
unit_price = Uom.compute_price(
|
||||
self.secondary_unit, secondary_unit_price, self.unit,
|
||||
factor=self.secondary_uom_rate, rate=self.secondary_uom_factor)
|
||||
unit_price = round_price(unit_price)
|
||||
return unit_price
|
||||
|
||||
@fields.depends(
|
||||
'blanket_agreement_line',
|
||||
'_parent_blanket_agreement_line.unit',
|
||||
'_parent_blanket_agreement_line.remaining_quantity',
|
||||
'sale', 'unit', 'secondary_quantity', 'secondary_unit',
|
||||
'secondary_unit_price', methods=['on_change_secondary_quantity'])
|
||||
def on_change_blanket_agreement_line(self):
|
||||
pool = Pool()
|
||||
Uom = pool.get('product.uom')
|
||||
super().on_change_blanket_agreement_line()
|
||||
if self.blanket_agreement_line:
|
||||
line = self.blanket_agreement_line
|
||||
if (self.secondary_unit and line.unit
|
||||
and self.secondary_unit.category == line.unit.category):
|
||||
if line.remaining_quantity is not None:
|
||||
remaining_quantity = Uom.compute_qty(
|
||||
line.unit, line.remaining_quantity,
|
||||
self.secondary_unit)
|
||||
if (self.secondary_quantity is None
|
||||
or self.secondary_quantity > remaining_quantity):
|
||||
self.secondary_quantity = remaining_quantity
|
||||
self.on_change_secondary_quantity()
|
||||
|
||||
def quantity_for_blanket_agreement(self, line, round=True):
|
||||
pool = Pool()
|
||||
Uom = pool.get('product.uom')
|
||||
quantity = super().quantity_for_blanket_agreement(line, round=round)
|
||||
if (self.secondary_unit
|
||||
and self.secondary_unit.category == line.unit.category):
|
||||
sale_line_quantity = (
|
||||
self.actual_quantity if self.actual_quantity is not None
|
||||
else self.quantity)
|
||||
quantity = Uom.compute_qty(
|
||||
self.unit, sale_line_quantity, line.unit,
|
||||
factor=self.secondary_uom_factor,
|
||||
rate=self.secondary_uom_rate,
|
||||
round=round)
|
||||
return quantity
|
||||
|
||||
|
||||
class AmendmentLine(metaclass=PoolMeta):
|
||||
__name__ = 'sale.amendment.line'
|
||||
|
||||
product_secondary_uom_category = fields.Function(
|
||||
fields.Many2One(
|
||||
'product.uom.category', "Product Secondary UoM Category",
|
||||
help="The category of the secondary Unit of Measure "
|
||||
"for the product."),
|
||||
'on_change_with_product_secondary_uom_category')
|
||||
|
||||
@classmethod
|
||||
def _unit_categories(cls):
|
||||
return super()._unit_categories() + ['product_secondary_uom_category']
|
||||
|
||||
@fields.depends('product')
|
||||
def on_change_with_product_secondary_uom_category(self, name=None):
|
||||
if self.product and self.product.sale_secondary_uom:
|
||||
return self.product.sale_secondary_uom.category
|
||||
|
||||
def _apply_line(self, sale, sale_line):
|
||||
super()._apply_line(sale, sale_line)
|
||||
if (self.unit and self.product
|
||||
and self.unit.category != self.product.sale_uom.category):
|
||||
sale_line.unit = self.line.unit
|
||||
sale_line.secondary_quantity = self.quantity
|
||||
sale_line.secondary_unit = self.unit
|
||||
sale_line.on_change_secondary_quantity()
|
||||
sale_line.secondary_unit_price = self.unit_price
|
||||
sale_line.on_change_secondary_unit_price()
|
||||
24
modules/sale_secondary_unit/sale.xml
Normal file
24
modules/sale_secondary_unit/sale.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tryton>
|
||||
<data>
|
||||
<record model="ir.ui.view" id="sale_line_view_form">
|
||||
<field name="model">sale.line</field>
|
||||
<field name="inherit" ref="sale.sale_line_view_form"/>
|
||||
<field name="name">sale_line_form</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="sale_line_view_tree">
|
||||
<field name="model">sale.line</field>
|
||||
<field name="inherit" ref="sale.sale_line_view_tree"/>
|
||||
<field name="name">sale_line_tree</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="sale_line_view_tree_sequence">
|
||||
<field name="model">sale.line</field>
|
||||
<field name="inherit" ref="sale.sale_line_view_tree_sequence"/>
|
||||
<field name="name">sale_line_tree</field>
|
||||
</record>
|
||||
</data>
|
||||
</tryton>
|
||||
35
modules/sale_secondary_unit/stock.py
Normal file
35
modules/sale_secondary_unit/stock.py
Normal file
@@ -0,0 +1,35 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool, PoolMeta
|
||||
|
||||
|
||||
class Move(metaclass=PoolMeta):
|
||||
__name__ = 'stock.move'
|
||||
|
||||
def get_product_secondary_uom_category(self, name):
|
||||
pool = Pool()
|
||||
SaleLine = pool.get('sale.line')
|
||||
category = super().get_product_secondary_uom_category(name)
|
||||
if isinstance(self.origin, SaleLine):
|
||||
if self.origin.secondary_unit:
|
||||
category = self.origin.secondary_unit.category.id
|
||||
return category
|
||||
|
||||
@property
|
||||
def secondary_uom_factor(self):
|
||||
pool = Pool()
|
||||
SaleLine = pool.get('sale.line')
|
||||
factor = super().secondary_uom_factor
|
||||
if isinstance(self.origin, SaleLine):
|
||||
factor = self.origin.secondary_uom_factor
|
||||
return factor
|
||||
|
||||
@property
|
||||
def secondary_uom_rate(self):
|
||||
pool = Pool()
|
||||
SaleLine = pool.get('sale.line')
|
||||
factor = super().secondary_uom_rate
|
||||
if isinstance(self.origin, SaleLine):
|
||||
factor = self.origin.secondary_uom_rate
|
||||
return factor
|
||||
12
modules/sale_secondary_unit/stock.xml
Normal file
12
modules/sale_secondary_unit/stock.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tryton>
|
||||
<data depends="stock_secondary_unit">
|
||||
<record model="ir.ui.view" id="move_view_list_shipment">
|
||||
<field name="model">stock.move</field>
|
||||
<field name="inherit" ref="sale.move_view_list_shipment"/>
|
||||
<field name="name">stock_move_list</field>
|
||||
</record>
|
||||
</data>
|
||||
</tryton>
|
||||
2
modules/sale_secondary_unit/tests/__init__.py
Normal file
2
modules/sale_secondary_unit/tests/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,119 @@
|
||||
==============================================
|
||||
Sale Blanket Agreement Secondary Unit Scenario
|
||||
==============================================
|
||||
|
||||
Imports::
|
||||
|
||||
>>> import datetime as dt
|
||||
>>> from decimal import Decimal
|
||||
|
||||
>>> from proteus import Model
|
||||
>>> from trytond.modules.account.tests.tools import create_chart, get_accounts
|
||||
>>> from trytond.modules.company.tests.tools import create_company
|
||||
>>> from trytond.tests.tools import activate_modules, assertEqual
|
||||
|
||||
>>> today = dt.date.today()
|
||||
>>> later = today + dt.timedelta(days=30)
|
||||
|
||||
Activate modules::
|
||||
|
||||
>>> config = activate_modules(
|
||||
... ['sale_secondary_unit', 'sale_blanket_agreement'],
|
||||
... create_company, create_chart)
|
||||
|
||||
>>> Party = Model.get('party.party')
|
||||
>>> ProductCategory = Model.get('product.category')
|
||||
>>> ProductUom = Model.get('product.uom')
|
||||
>>> ProductTemplate = Model.get('product.template')
|
||||
>>> SaleBlanketAgreement = Model.get('sale.blanket_agreement')
|
||||
|
||||
Get accounts::
|
||||
|
||||
>>> accounts = get_accounts()
|
||||
|
||||
Create customer::
|
||||
|
||||
>>> customer = Party(name="Customer")
|
||||
>>> customer.save()
|
||||
|
||||
Create account category::
|
||||
|
||||
>>> account_category = ProductCategory(name="Account Category")
|
||||
>>> account_category.accounting = True
|
||||
>>> account_category.account_expense = accounts['expense']
|
||||
>>> account_category.account_revenue = accounts['revenue']
|
||||
>>> account_category.save()
|
||||
|
||||
Create product::
|
||||
|
||||
>>> unit, = ProductUom.find([('name', '=', 'Unit')])
|
||||
>>> gr, = ProductUom.find([('name', '=', 'Gram')])
|
||||
>>> template = ProductTemplate()
|
||||
>>> template.name = "Product"
|
||||
>>> template.default_uom = unit
|
||||
>>> template.type = 'goods'
|
||||
>>> template.list_price = Decimal('10.000')
|
||||
>>> template.salable = True
|
||||
>>> template.account_category = account_category
|
||||
>>> template.sale_secondary_uom = gr
|
||||
>>> template.sale_secondary_uom_factor = 100
|
||||
>>> template.save()
|
||||
>>> product, = template.products
|
||||
>>> product.cost_price = Decimal('8.000')
|
||||
>>> product.save()
|
||||
|
||||
Create sale blanket agreement::
|
||||
|
||||
>>> blanket_agreement = SaleBlanketAgreement()
|
||||
>>> blanket_agreement.customer = customer
|
||||
>>> blanket_agreement.from_date = today
|
||||
>>> blanket_agreement.to_date = later
|
||||
>>> blanket_agreement_line = blanket_agreement.lines.new()
|
||||
>>> blanket_agreement_line.product = product
|
||||
>>> blanket_agreement_line.quantity = 800.0
|
||||
>>> blanket_agreement_line.unit = gr
|
||||
>>> blanket_agreement_line.unit_price = Decimal('9.000')
|
||||
>>> blanket_agreement.click('run')
|
||||
>>> blanket_agreement.state
|
||||
'running'
|
||||
|
||||
Create sale from blanket agreement::
|
||||
|
||||
>>> create_sale = blanket_agreement.click('create_sale')
|
||||
>>> assertEqual(create_sale.form.lines[0].unit, gr)
|
||||
>>> create_sale.execute('create_sale')
|
||||
|
||||
>>> sale, = create_sale.actions[0]
|
||||
>>> line, = sale.lines
|
||||
>>> assertEqual(line.product, product)
|
||||
|
||||
>>> assertEqual(line.secondary_unit, gr)
|
||||
>>> line.secondary_quantity
|
||||
800.0
|
||||
>>> line.secondary_unit_price
|
||||
Decimal('9.0000')
|
||||
|
||||
>>> assertEqual(line.unit, unit)
|
||||
>>> line.quantity
|
||||
8.0
|
||||
>>> line.unit_price
|
||||
Decimal('900.0000')
|
||||
|
||||
>>> line.secondary_quantity = 300.0
|
||||
>>> sale.save()
|
||||
|
||||
>>> blanket_agreement.reload()
|
||||
>>> blanket_agreement_line, = blanket_agreement.lines
|
||||
>>> blanket_agreement_line.remaining_quantity
|
||||
800.0
|
||||
|
||||
Confirm sale::
|
||||
|
||||
>>> sale.click('quote')
|
||||
>>> sale.click('confirm')
|
||||
>>> sale.state
|
||||
'processing'
|
||||
|
||||
>>> blanket_agreement_line.reload()
|
||||
>>> blanket_agreement_line.remaining_quantity
|
||||
500.0
|
||||
@@ -0,0 +1,161 @@
|
||||
============================
|
||||
Sale Secondary Unit Scenario
|
||||
============================
|
||||
|
||||
Imports::
|
||||
|
||||
>>> from decimal import Decimal
|
||||
|
||||
>>> from proteus import Model
|
||||
>>> from trytond.modules.account.tests.tools import create_chart, get_accounts
|
||||
>>> from trytond.modules.company.tests.tools import create_company
|
||||
>>> from trytond.tests.tools import activate_modules, assertEqual
|
||||
|
||||
Activate modules::
|
||||
|
||||
>>> config = activate_modules([
|
||||
... 'sale_amendment',
|
||||
... 'sale_product_customer',
|
||||
... 'sale_secondary_unit',
|
||||
... 'account_invoice_secondary_unit',
|
||||
... 'stock_secondary_unit'],
|
||||
... create_company, create_chart)
|
||||
|
||||
Create chart of accounts::
|
||||
|
||||
>>> accounts = get_accounts()
|
||||
|
||||
Create customer::
|
||||
|
||||
>>> Party = Model.get('party.party')
|
||||
>>> customer = Party(name="Customer")
|
||||
>>> customer.save()
|
||||
|
||||
Create account categories::
|
||||
|
||||
>>> ProductCategory = Model.get('product.category')
|
||||
>>> account_category = ProductCategory(name="Account Category")
|
||||
>>> account_category.accounting = True
|
||||
>>> account_category.account_expense = accounts['expense']
|
||||
>>> account_category.account_revenue = accounts['revenue']
|
||||
>>> account_category.save()
|
||||
|
||||
Create product::
|
||||
|
||||
>>> ProductUom = Model.get('product.uom')
|
||||
>>> unit, = ProductUom.find([('name', '=', "Unit")])
|
||||
>>> gr, = ProductUom.find([('name', '=', "Gram")])
|
||||
>>> kg, = ProductUom.find([('name', '=', "Kilogram")])
|
||||
>>> ProductTemplate = Model.get('product.template')
|
||||
|
||||
>>> template = ProductTemplate()
|
||||
>>> template.name = 'product'
|
||||
>>> template.default_uom = unit
|
||||
>>> template.type = 'goods'
|
||||
>>> template.salable = True
|
||||
>>> template.sale_secondary_uom = gr
|
||||
>>> template.sale_secondary_uom_factor = 100
|
||||
>>> template.sale_secondary_uom_rate
|
||||
0.01
|
||||
>>> template.list_price = Decimal('10')
|
||||
>>> template.account_category = account_category
|
||||
>>> template.save()
|
||||
>>> product, = template.products
|
||||
>>> product_customer = product.product_customers.new()
|
||||
>>> product_customer.party = customer
|
||||
>>> product_customer.sale_secondary_uom = gr
|
||||
>>> product_customer.sale_secondary_uom_factor = 200
|
||||
>>> product_customer.sale_secondary_uom_rate
|
||||
0.005
|
||||
>>> product.save()
|
||||
|
||||
Sale product::
|
||||
|
||||
>>> Sale = Model.get('sale.sale')
|
||||
>>> sale = Sale()
|
||||
>>> sale.party = customer
|
||||
>>> line = sale.lines.new()
|
||||
>>> line.type = 'comment'
|
||||
>>> line.description = 'Comment'
|
||||
>>> line = sale.lines.new()
|
||||
>>> line.product = product
|
||||
>>> line.quantity = 10
|
||||
|
||||
Check secondary unit::
|
||||
|
||||
>>> assertEqual(line.secondary_unit, gr)
|
||||
>>> line.secondary_quantity
|
||||
2000.0
|
||||
>>> line.secondary_quantity = None
|
||||
>>> line.secondary_unit = kg
|
||||
>>> line.secondary_quantity
|
||||
2.0
|
||||
>>> line.secondary_unit_price
|
||||
Decimal('50.0000')
|
||||
>>> line.secondary_unit_price = Decimal('40')
|
||||
>>> line.unit_price
|
||||
Decimal('8.0000')
|
||||
>>> line.secondary_quantity = 1000
|
||||
>>> line.quantity
|
||||
5000.0
|
||||
>>> line.secondary_unit = gr
|
||||
>>> line.quantity
|
||||
5.0
|
||||
|
||||
Confirm sale::
|
||||
|
||||
>>> line.secondary_unit = kg
|
||||
>>> line.quantity = 10
|
||||
>>> sale.click('quote')
|
||||
>>> sale.click('confirm')
|
||||
>>> sale.invoice_state
|
||||
'pending'
|
||||
>>> sale.shipment_state
|
||||
'waiting'
|
||||
|
||||
Check secondary unit on invoice::
|
||||
|
||||
>>> invoice, = sale.invoices
|
||||
>>> line, = invoice.lines
|
||||
>>> assertEqual(line.secondary_unit, kg)
|
||||
>>> line.secondary_quantity
|
||||
2.0
|
||||
>>> line.secondary_unit_price
|
||||
Decimal('50.0000')
|
||||
|
||||
Check secondary unit on move::
|
||||
|
||||
>>> move, = sale.moves
|
||||
>>> assertEqual(move.secondary_unit, kg)
|
||||
>>> move.secondary_quantity
|
||||
2.0
|
||||
>>> move.secondary_unit_price
|
||||
Decimal('50.0000')
|
||||
|
||||
>>> shipment, = sale.shipments
|
||||
>>> move, = shipment.inventory_moves
|
||||
>>> assertEqual(move.secondary_unit, kg)
|
||||
>>> move.secondary_quantity
|
||||
2.0
|
||||
|
||||
Add an amendment::
|
||||
|
||||
>>> amendment = sale.amendments.new()
|
||||
>>> line = amendment.lines.new()
|
||||
>>> line.action = 'line'
|
||||
>>> line.line = sale.lines[-1]
|
||||
>>> line.quantity = 1
|
||||
>>> line.unit = kg
|
||||
>>> line.unit_price = Decimal('45.0000')
|
||||
>>> amendment.click('validate_amendment')
|
||||
|
||||
>>> sale.reload()
|
||||
>>> line = sale.lines[-1]
|
||||
>>> line.quantity
|
||||
5.0
|
||||
>>> line.secondary_quantity
|
||||
1.0
|
||||
>>> line.unit_price
|
||||
Decimal('9.0000')
|
||||
>>> line.secondary_unit_price
|
||||
Decimal('45.0000')
|
||||
15
modules/sale_secondary_unit/tests/test_module.py
Normal file
15
modules/sale_secondary_unit/tests/test_module.py
Normal file
@@ -0,0 +1,15 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.tests.test_tryton import ModuleTestCase
|
||||
|
||||
|
||||
class SaleSecondaryUnitTestCase(ModuleTestCase):
|
||||
'Test Sale Secondary Unit module'
|
||||
module = 'sale_secondary_unit'
|
||||
extras = [
|
||||
'account_invoice_secondary_unit', 'stock_secondary_unit',
|
||||
'sale_product_customer', 'sale_blanket_agreement']
|
||||
|
||||
|
||||
del ModuleTestCase
|
||||
8
modules/sale_secondary_unit/tests/test_scenario.py
Normal file
8
modules/sale_secondary_unit/tests/test_scenario.py
Normal file
@@ -0,0 +1,8 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.tests.test_tryton import load_doc_tests
|
||||
|
||||
|
||||
def load_tests(*args, **kwargs):
|
||||
return load_doc_tests(__name__, __file__, *args, **kwargs)
|
||||
46
modules/sale_secondary_unit/tryton.cfg
Normal file
46
modules/sale_secondary_unit/tryton.cfg
Normal file
@@ -0,0 +1,46 @@
|
||||
[tryton]
|
||||
version=7.8.0
|
||||
depends:
|
||||
account_invoice
|
||||
ir
|
||||
product
|
||||
sale
|
||||
stock
|
||||
extras_depend:
|
||||
account_invoice_secondary_unit
|
||||
sale_amendment
|
||||
sale_blanket_agreement
|
||||
sale_opportunity
|
||||
sale_product_customer
|
||||
stock_secondary_unit
|
||||
xml:
|
||||
product.xml
|
||||
sale.xml
|
||||
stock.xml
|
||||
message.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
product.Template
|
||||
product.Product
|
||||
account.InvoiceLine
|
||||
stock.Move
|
||||
sale.Line
|
||||
|
||||
[register sale_amendment]
|
||||
model:
|
||||
sale.AmendmentLine
|
||||
|
||||
[register sale_blanket_agreement]
|
||||
model:
|
||||
sale.BlanketAgreementLine
|
||||
sale.LineBlanketAgreement
|
||||
|
||||
[register sale_opportunity]
|
||||
model:
|
||||
sale.OpportunityLine
|
||||
|
||||
[register sale_product_customer]
|
||||
model:
|
||||
product.ProductCustomer
|
||||
sale.Line_ProductCustomer
|
||||
15
modules/sale_secondary_unit/view/product_customer_form.xml
Normal file
15
modules/sale_secondary_unit/view/product_customer_form.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='code']" position="after">
|
||||
<label name="sale_secondary_uom"/>
|
||||
<field name="sale_secondary_uom"/>
|
||||
<group id="sale_secondary_uom" col="-1" colspan="2">
|
||||
<label name="sale_secondary_uom_factor" string="Factor:"/>
|
||||
<field name="sale_secondary_uom_factor"/>
|
||||
<label name="sale_secondary_uom_rate" string="Rate:"/>
|
||||
<field name="sale_secondary_uom_rate"/>
|
||||
</group>
|
||||
</xpath>
|
||||
</data>
|
||||
16
modules/sale_secondary_unit/view/product_template_form.xml
Normal file
16
modules/sale_secondary_unit/view/product_template_form.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//page[@id='customers']//field[@name='sale_uom']" position="after">
|
||||
<newline/>
|
||||
<label name="sale_secondary_uom"/>
|
||||
<field name="sale_secondary_uom"/>
|
||||
<group id="sale_secondary_uom" col="-1" colspan="2">
|
||||
<label name="sale_secondary_uom_factor" string="Factor:"/>
|
||||
<field name="sale_secondary_uom_factor"/>
|
||||
<label name="sale_secondary_uom_rate" string="Rate:"/>
|
||||
<field name="sale_secondary_uom_rate"/>
|
||||
</group>
|
||||
</xpath>
|
||||
</data>
|
||||
15
modules/sale_secondary_unit/view/sale_line_form.xml
Normal file
15
modules/sale_secondary_unit/view/sale_line_form.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='amount']" position="after">
|
||||
<separator name="secondary_unit" colspan="4"/>
|
||||
<label name="secondary_quantity" string="Quantity:"/>
|
||||
<field name="secondary_quantity"/>
|
||||
<label name="secondary_unit" string="Unit:"/>
|
||||
<field name="secondary_unit"/>
|
||||
<label name="secondary_unit_price" string="Unit Price:"/>
|
||||
<field name="secondary_unit_price"/>
|
||||
<newline/>
|
||||
</xpath>
|
||||
</data>
|
||||
9
modules/sale_secondary_unit/view/sale_line_tree.xml
Normal file
9
modules/sale_secondary_unit/view/sale_line_tree.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='unit_price']" position="after">
|
||||
<field name="secondary_quantity" symbol="secondary_unit" optional="1"/>
|
||||
<field name="secondary_unit_price" optional="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
8
modules/sale_secondary_unit/view/stock_move_list.xml
Normal file
8
modules/sale_secondary_unit/view/stock_move_list.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='quantity']" position="after">
|
||||
<field name="secondary_quantity" symbol="secondary_unit"/>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user