first commit

This commit is contained in:
root
2026-03-14 09:42:12 +00:00
commit 0adbd20c2c
10991 changed files with 1646955 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
__all__ = ['Null']
def __getattr__(name):
if name == 'Null':
from .price_list import Null
return Null
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")

View 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.model.exceptions import ValidationError
class FormulaError(ValidationError):
pass

View File

@@ -0,0 +1,162 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr "Фирма"
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr "Редове"
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr "Име"
#, fuzzy
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr "Ценова листа"
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr ""
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr ""
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr ""
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr "Формула"
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr "Ценова листа"
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr "Продукт"
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr "Количество"
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr ""
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr ""
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr ""
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr ""
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr ""
#, fuzzy
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
"Израз на python който ще се изпълни с:\n"
"- unit_price: оригиналната единична цена"
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr ""
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr ""
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr ""
#, fuzzy
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr "Редове от ценова листа"
#, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr ""
#, fuzzy
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr "Редове"
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr ""
#, fuzzy
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "Ценова листа"
#, fuzzy
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr "Ред от ценова листа"
#, fuzzy
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr "Ред от ценова листа"
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr ""
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr ""
#, fuzzy
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr "Продукт"

View File

@@ -0,0 +1,160 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr "Empresa"
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr "Línies"
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr "Nom"
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr "Preu"
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr "Impostos inclosos"
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr "Unitat"
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr "Categoria"
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr "Fórmula"
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr "Tarifa"
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr "Producte"
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr "Quantitat"
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
"Fes que la tarifa pertanyi a l'empresa.\n"
"Defineix la moneda de la tarifa."
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
"Afegiu formules de preu per diferents criteris.\n"
"S'utilitza la primera linia que coincideix."
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr "El identificador principal de la tarifa."
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr "El valor utilitzat per 'preu_unitari'."
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr "Marca si el resultat de la formula inclou impostos."
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr "La unitat amb la que s'expresa la quantitat."
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr "Aplica només als productes d'aquesta categoria."
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
"Expressió Python que s'avaluarà amb:\n"
"- unit_price: El preu unitari original\n"
"- cost_price: El preu de cost del producte\n"
"- list_price: El preu de venda del producte"
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr "La tarifa a la qual pertany la línia."
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr "Aplica només a aquest producte."
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr "Aplica només quan la quantitat es més gran."
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr "Tarifes"
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr "Línies de tarifa"
#, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr ""
"La fórmula \"%(formula)s\" a la línia de tarifa \"%(line)s\" no és correcta "
"generant l'excepció \"%(exception)s\"."
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr "Obre línies"
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr "Usuari a les empreses"
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr "Tarifes"
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "Tarifa de producte"
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr "Línia de tarifa de producte"
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr "Context de la línia de tarifa"
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr "Preu de cost"
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr "Preu de venda"
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr "Defecte del producte"

View File

@@ -0,0 +1,157 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr ""
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr ""
#, fuzzy
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr "Namu"
#, fuzzy
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr "Price Lists"
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr ""
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr ""
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr ""
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr ""
#, fuzzy
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr "Price Lists"
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr ""
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr ""
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr ""
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr ""
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr ""
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr ""
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr ""
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr ""
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr ""
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr ""
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr "Price Lists"
#, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr ""
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr ""
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr ""
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr "Price Lists"
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr ""
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr ""
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr ""

View File

@@ -0,0 +1,160 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr "Unternehmen"
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr "Konditionssätze"
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr "Name"
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr "Preis"
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr "Steuer Inklusive"
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr "Einheit"
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr "Kategorie"
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr "Formel"
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr "Preiskonditionsschema"
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr "Artikel"
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr "Menge"
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
"Das Preiskonditionsschema dem Unternehmen zuordnen.\n"
"Dies definiert die Währung des Preiskonditionsschemas."
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
"Erlaubt die Erfassung von Preisformeln für unterschiedliche Kriterien.\n"
"Die erste Zeile mit übereinstimmenden Kriterien wird verwendet."
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr "Das Hauptidentifizierungsmerkmal des Preiskonditionsschemas."
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr "Der Betrag der für 'unit_price' benutzt wird."
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr "Aktivieren wenn das Ergebnis der Formel die Steuern beinhaltet."
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr "Die Maßeinheit in der die Menge angegeben ist."
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr "Nur auf Artikel dieser Kategorie anwenden."
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
"Ein Python-Ausdruck, der ausgewertet wird mit:\n"
"- unit_price: Originaler Einzelpreis des Artikels\n"
"- cost_price: Der Einstandspreis des Artikels\n"
"- list_price: Der Listenpreis des Artikels"
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr "Das Preiskonditionsschema dem der Konditionssatz zugeordnet ist."
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr "Nur auf diesen Artikel anwenden."
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr "Nur anwenden, wenn die Menge größer ist."
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr "Preiskonditionsschemata"
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr "Konditionssätze"
#, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr ""
"Ungültige Formel \"%(formula)s\" in Konditionssatz \"%(line)s\" mit "
"Fehlermeldung \"%(exception)s\"."
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr "Konditionssätze öffnen"
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr "Benutzer in Unternehmen"
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr "Preiskonditionsschemata"
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "Artikel Preiskonditionsschema"
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr "Artikel Konditionssatz"
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr "Artikel Konditionssatz Kontext"
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr "Einstandspreis"
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr "Listenpreis"
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr "Artikel Standard"

View File

@@ -0,0 +1,160 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr "Empresa"
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr "Líneas"
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr "Nombre"
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr "Precio"
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr "Impuestos incluidos"
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr "Unidad"
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr "Categoría"
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr "Fórmula"
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr "Tarifa"
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr "Producto"
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr "Cantidad"
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
"Hacer que la tarifa pertenezca a la empresa.\n"
"Define la moneda de la tarifa."
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
"Añadir formulas de precio por distintos criterios.\n"
"Se utiliza la primera línea que coincide."
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr "El identificador principal de la tarifa."
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr "El valor utilizado para 'precio unitario'."
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr "Marcar si el resultado de la formula incluye impuestos."
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr "La unidad con la que se expresa la cantidad."
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr "Aplicar sólo a los productos de esta categoría."
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
"Expresión de Python que se evaluará como:\n"
"- unit_price: El precio unitario original\n"
"- cost_price: El precio de coste del producto\n"
"- list_price: El precio de venta del producto"
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr "La tarifa a la que pertenece la línea."
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr "Aplicar sólo a este producto."
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr "Aplicar sólo cuando la cantidad es mas grande."
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr "Tarifas"
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr "Líneas de tarifas"
#, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr ""
"La fórmula \"%(formula)s\" en la línea de tarifa \"%(line)s\" no es correcta"
" generando la excepción \"%(exception)s\"."
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr "Abrir lineas"
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr "Usuario en las empresas"
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr "Tarifas"
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "Tarifa de producto"
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr "Línea de tarifa de producto"
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr "Contexto de la línea de tarifa"
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr "Precio de coste"
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr "Precio de venta"
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr "Por defecto del producto"

View File

@@ -0,0 +1,162 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr ""
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr ""
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr ""
#, fuzzy
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr "Lista de precios"
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr "Impuesto incluido"
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr ""
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr ""
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr ""
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr "Lista de precios"
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr ""
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr ""
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr ""
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr ""
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr ""
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr ""
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr ""
#, fuzzy
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
"Expresión de Python que se evaluará con:\n"
"- unit_price: el precio unitario original"
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr ""
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr ""
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr ""
#, fuzzy
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr "Lista de precios"
#, fuzzy
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr "Línea de lista de precios"
#, fuzzy, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr ""
"La fórmula \"%(formula)s\" en la línea de lista de precios \"%(line)s\" con "
"excepción \"%(exception)s\" no es válida."
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr ""
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr ""
#, fuzzy
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr "Lista de precios"
#, fuzzy
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "Lista de precios"
#, fuzzy
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr "Línea de lista de precios"
#, fuzzy
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr "Línea de lista de precios"
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr ""
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr ""
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr ""

View File

@@ -0,0 +1,158 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr "Ettevõte"
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr "Read"
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr "Nimetus"
#, fuzzy
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr "Hinnakiri"
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr "Sisaldab maksu"
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr ""
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr "Kategooria"
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr "Valem"
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr "Hinnakiri"
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr "Toode"
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr "Kogus"
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr ""
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr ""
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr "Märgista kui tulemuse valem sisaldab makse"
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr ""
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr ""
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr ""
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr "Rakenda ainult sellele tootele."
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr "Rakenda ainult siis, kui kogus on suurem."
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr "Hinnakirjad"
#, fuzzy
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr "Hinnakirja rida"
#, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr ""
#, fuzzy
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr "Read"
#, fuzzy
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr "Kasutaja ettevõttes"
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr "Hinnakirjad"
#, fuzzy
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "Hinnakiri"
#, fuzzy
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr "Hinnakirja rida"
#, fuzzy
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr "Hinnakirja rida"
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr ""
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr ""
#, fuzzy
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr "Toode"

View File

@@ -0,0 +1,163 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr "شرکت"
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr "خطوط"
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr "نام"
#, fuzzy
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr "لیست قیمت"
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr "مشمول مالیات"
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr ""
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr "دسته‌بندی‌"
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr "فرمول"
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr "لیست قیمت"
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr "محصول"
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr "مقدار/تعداد"
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
"ساختن لیست قیمت متعلق به شرکت.\n"
"این ارز از لیست قیمت تعریف می کند."
#, fuzzy
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr "فرمول قیمت را برای معیارهای مختلف اضافه کنید."
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr "شناسه اصلی لیست قیمت."
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr ""
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr "اگر نتایج فرمول شامل مالیات ها باشد، کادر را تیک بزنید."
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr ""
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr "فقط به محصولات این دسته اعمال می شود."
#, fuzzy
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
"عبارت پایتون که با آن ارزیابی می شود:\n"
"- واحد_قیمت: واحد_قیمت اصلی"
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr "لیست قیمت که خط متعلق به آن میباشد."
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr "فقط به این محصول اعمال می شود."
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr "هنگامی که مقدار بزرگتر است فقط اعمال می شود."
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr "لیست های قیمت"
#, fuzzy
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr "خط لیست قیمت"
#, fuzzy, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr "فرمول: \"%s\" در سطر لیست قیمت: \"%s\" با استثنا: \"%s\" نامعتبر میباشد."
#, fuzzy
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr "خطوط"
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr ""
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr "لیست های قیمت"
#, fuzzy
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "لیست قیمت"
#, fuzzy
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr "خط لیست قیمت"
#, fuzzy
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr "خط لیست قیمت"
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr ""
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr ""
#, fuzzy
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr "محصول"

View File

@@ -0,0 +1,156 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr ""
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr ""
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr ""
#, fuzzy
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr "Price Lists"
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr ""
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr ""
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr ""
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr ""
#, fuzzy
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr "Price Lists"
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr ""
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr ""
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr ""
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr ""
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr ""
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr ""
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr ""
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr ""
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr ""
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr ""
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr "Price Lists"
#, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr ""
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr ""
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr ""
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr "Price Lists"
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr ""
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr ""
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr ""

View File

@@ -0,0 +1,160 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr "Société"
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr "Lignes"
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr "Nom"
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr "Prix"
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr "Taxe incluse"
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr "Unité"
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr "Catégorie"
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr "Formule"
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr "Liste de prix"
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr "Produit"
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr "Quantité"
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
"Faire appartenir la liste de prix à la société.\n"
"Ça définit la devise de la liste de prix."
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
"Ajouter des formules de prix pour différents critères.\n"
"La première ligne correspondante est utilisée."
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr "L'identifiant principal de la liste de prix."
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr "La valeur utilisée pour « unit_price »."
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr "Cochez si le résultat de la formule est taxes incluses."
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr "L'unité dans laquelle la quantité est exprimée."
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr "S'applique seulement aux produits de cette catégorie."
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
"Une expression Python qui sera évaluée avec:\n"
"— unit_price: le prix unitaire original\n"
"— cost_price: le prix de revient du produit\n"
"— list_price : le prix listé du produit"
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr "La liste de prix à qui la ligne appartient."
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr "S'applique seulement à ce produit."
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr "S'applique seulement quand la quantité est plus grande."
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr "Listes de prix"
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr "Lignes de la liste de prix"
#, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr ""
"Formule invalide « %(formula)s » sur la ligne de la liste de prix "
"« %(line)s » avec l'exception « %(exception)s »."
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr "Ouvrir les lignes"
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr "Utilisateur dans les sociétés"
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr "Listes de prix"
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "Liste de prix des produits"
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr "Ligne de liste de prix des produits"
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr "Contexte de la ligne de liste de prix des produits"
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr "Prix de revient"
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr "Prix listé"
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr "Produit par défaut"

View File

@@ -0,0 +1,165 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr "Cég"
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr "Sorok"
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr "Név"
#, fuzzy
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr "Árlista"
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr "Az ár adót tartalmaz"
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr "Mértékegység"
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr "Kategória"
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr "Képlet"
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr "Árlista"
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr "Termék"
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr "Mennyiség"
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
#, fuzzy
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
"Az árszámításhoz használt képleteket adhatja itt meg, különböző "
"feltételekkel."
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr "Az árlista megnevezése."
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr ""
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr "Jelölje be, ha az árba bele van számítva az adó."
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr "A mértékegység, amiben a mennyiség ki van fejezve."
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr "Csak ezen kategóriába tartozó termékekre érvényes."
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
"Egy Python programozási nyelven megadott kifejezés, amiben a következő változók szerepelhetnek:\n"
"- unit_price: az eredeti egységár\n"
"- cost_price: a termék költségára\n"
"- list_price: a termék listaára"
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr ""
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr "Csak erre a termékre érvényes."
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr "Csak ettől a mennyiségtől kezdve érvényes."
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr "Árlisták"
#, fuzzy
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr "Árlista sor"
#, fuzzy, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr ""
"Érvénytelen \"%(formula)s\" űrlap a \"%(line)s\" árlista sorban "
"\"%(exception)s\" hibajelentéssel."
#, fuzzy
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr "Sorok"
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr ""
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr "Árlisták"
#, fuzzy
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "Árlista"
#, fuzzy
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr "Árlista sor"
#, fuzzy
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr "Árlista sor"
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr ""
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr ""
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr "a termék alapértelmezett ME-e"

View File

@@ -0,0 +1,153 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr "Perusahaan"
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr "Baris"
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr "Nama"
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr ""
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr ""
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr ""
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr "Kategori"
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr ""
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr ""
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr "Produk"
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr ""
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr ""
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr ""
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr ""
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr ""
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr ""
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr ""
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr ""
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr ""
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr ""
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr ""
#, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr ""
#, fuzzy
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr "Baris"
#, fuzzy
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr "Pengguna di dalam perusahaan"
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr ""
#, fuzzy
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "Produk Default"
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr ""
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr ""
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr ""
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr ""
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr "Produk Default"

View File

@@ -0,0 +1,159 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr "Azienda"
#, fuzzy
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr "Righe"
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr "Nome"
#, fuzzy
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr "Price Lists"
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr ""
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr ""
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr ""
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr "Formula"
#, fuzzy
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr "Price Lists"
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr "Prodotto"
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr "Quantità"
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr ""
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr ""
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr ""
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr ""
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr ""
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr ""
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr ""
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr ""
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr "Price Lists"
#, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr ""
#, fuzzy
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr "Righe"
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr ""
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr "Price Lists"
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr ""
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr ""
#, fuzzy
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr "Prodotto"

View File

@@ -0,0 +1,165 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
#, fuzzy
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr "ຫ້ອງການ/ສຳນັກງານ"
#, fuzzy
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr "ຮ່ວງ"
#, fuzzy
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr "ຊື່"
#, fuzzy
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr "ລາຍການລາຄາ"
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr ""
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr ""
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr ""
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr ""
#, fuzzy
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr "ລາຍການລາຄາ"
#, fuzzy
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr "ຜະລິດຕະພັນ"
#, fuzzy
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr "ຈຳນວນ"
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr ""
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr ""
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr ""
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr ""
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr ""
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr ""
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr ""
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr ""
#, fuzzy
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr "ລາຍການລາຄາ"
#, fuzzy
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr "ລາຍການລາຄາ"
#, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr ""
#, fuzzy
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr "ຮ່ວງ"
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr ""
#, fuzzy
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr "ລາຍການລາຄາ"
#, fuzzy
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "ລາຍການລາຄາ"
#, fuzzy
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr "ລາຍການລາຄາ"
#, fuzzy
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr "ລາຍການລາຄາ"
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr ""
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr ""
#, fuzzy
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr "ຜະລິດຕະພັນ"

View File

@@ -0,0 +1,157 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr "Organizacija"
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr ""
#, fuzzy
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr "Namu"
#, fuzzy
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr "Price Lists"
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr ""
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr ""
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr ""
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr ""
#, fuzzy
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr "Price Lists"
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr ""
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr ""
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr ""
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr ""
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr ""
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr ""
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr ""
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr ""
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr ""
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr ""
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr "Price Lists"
#, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr ""
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr ""
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr ""
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr "Price Lists"
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr ""
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr ""
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr ""

View File

@@ -0,0 +1,160 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr "Bedrijf"
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr "Regels"
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr "Naam"
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr "Prijs"
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr "Inclusief belasting"
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr "Eenheid"
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr "Categorie"
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr "Formule"
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr "Prijslijst"
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr "Product"
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr "Hoeveelheid"
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
"Koppel de prijslijst aan het bedrijf.\n"
"Dit definieert de valuta van de prijslijst."
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
"Voeg prijs formules toe voor verschillende criteria.\n"
"De eerste regel die overeenkomt wordt gebruikt."
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr "De hoofdidentificatie van de prijslijst."
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr "De waarde die wordt gebruikt voor 'unit_price'."
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr "Vink aan als het resultaat van de formule inclusief belastingen is."
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr "De eenheid waarin de hoeveelheid wordt uitgedrukt."
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr "Alleen toepassen op producten van deze categorie."
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
"Python-expressie die wordt geëvalueerd met:\n"
"- unit_price: de oorspronkelijke eenheidsprijs\n"
"- cost_price: de kostprijs van het product\n"
"- list_price: de catalogusprijs van het product"
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr "De prijslijst waartoe de regel behoort."
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr "Alleen van toepassing op dit product."
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr "Alleen toepassen wanneer de hoeveelheid groter is."
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr "Prijslijsten"
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr "Prijslijst regels"
#, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr ""
"Ongeldige formule \"%(formula)s\" in prijslijst regel \"%(line)s\" met "
"uitzondering \"%(exception)s\"."
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr "Open regels"
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr "Gebruiker in het bedrijf"
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr "Prijslijsten"
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "Product prijslijst"
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr "Product prijslijst regel"
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr "Product prijslijst regel context"
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr "Kostprijs"
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr "Catalogusprijs"
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr "Product standaard"

View File

@@ -0,0 +1,159 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr "Firma"
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr "Wiersze"
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr "Nazwa"
#, fuzzy
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr "Cennik"
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr "Z podatkiem"
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr "Jednostka"
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr "Kategoria"
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr "Formuła"
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr "Cennik"
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr "Produkt"
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr "Ilość"
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr "Główny identyfikator cennika."
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr ""
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr ""
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr ""
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr ""
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr ""
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr ""
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr ""
#, fuzzy
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr "Wiersz cennika"
#, fuzzy, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr "Błąd \"%(exception)s\" w formule \"%(formula)s\" w wierszu \"%(line)s\" cennika."
#, fuzzy
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr "Wiersze"
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr ""
#, fuzzy
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "Cennik"
#, fuzzy
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr "Wiersz cennika"
#, fuzzy
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr "Wiersz cennika"
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr ""
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr ""
#, fuzzy
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr "Produkt"

View File

@@ -0,0 +1,160 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr "Empresa"
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr "Linhas"
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr "Nome"
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr "Preço"
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr "Tributos Incluídos"
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr "Unidade"
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr "Categoria"
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr "Fórmula"
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr "Lista de Preços"
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr "Produto"
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr "Quantidade"
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
"Faça com que o preço de tabela pertença à empresa.\n"
"Isto define a moeda do preço de tabela."
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
"Adiciona fórmulas de preço para diversos critérios.\n"
"É usada a primeira linha com correspondência."
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr "O identificador principal do preço de tabela."
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr "O valor usado para o preço unitário ('unit_price')."
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr "Marque se o resultado da fórmula incluir tributos."
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr "A unidade para expressar a quantidade."
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr "Aplicar apenas a produtos desta categoria."
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
"Expressão Python que será avaliada com:\n"
"- 'unit_price': o preço unitário original\n"
"- 'cost_price': o preço de custo do produto\n"
"- 'list_price': o preço de tabela do produto"
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr "O preço de tabela ao qual esta linha pertence."
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr "Aplicar apenas a este produto."
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr "Aplicar apenas quando a quantidade for maior."
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr "Lista de Preços"
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr "Linhas da Lista de Preços"
#, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr ""
"Fórmula inválida \"%(formula)s\" na linha \"%(line)s\" da lista de preços "
"com exceção \"%(exception)s\"."
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr "Abrir Linhas"
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr "Usuário em organizações"
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr "Lista de Preços"
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "Lista de Preços dos Produtos"
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr "Linha da Lista de Preços"
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr "Contexto da Linha da Lista de Preços"
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr "Preço de Custo"
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr "Lista de preço"
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr "Produto Padrão"

View File

@@ -0,0 +1,165 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr "Societate"
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr "Rânduri"
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr "Nume"
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr "Pret"
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr "Taxă inclusă"
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr "Unitate"
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr "Categorie"
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr "Formulă"
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr "Listă de prețuri"
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr "Produs"
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr "Cantitate"
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
"Faceți ca lista de prețuri să aparțină companiei.\n"
"Acesta definește moneda listei de prețuri."
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
"Adăugați formule preţuri pentru diferite criterii.\n"
"Primul rând potrivit va fi utilizat."
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr "Identificatorul principal al listei de prețuri."
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr "Valoarea utilizata pentru 'unit_price'."
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr "Verificare dacă formula rezultatului include taxe."
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr "Unitatea în care este exprimată cantitatea."
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr "Se aplică numai produselor din această categorie."
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
"Expresia Python care va fi evaluată cu:\n"
"- unit_price: preț unitar original\n"
"- cost_price: preț de cost al produsului\n"
"- list_price: prețul de lista al produsului"
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr "Lista de prețuri de care aparține rândul."
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr "Aplicare numai acestui produs."
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr "Se aplica numai atunci când cantitatea este mai mare."
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr "Liste de prețuri"
#, fuzzy
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr "Rând al listei de prețuri"
#, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr ""
"Formula invalidă \"%(formula)s\" din linia listei de prețuri \"%(line)s\" cu"
" excepția \"%(exception)s\"."
#, fuzzy
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr "Rânduri"
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr "Utilizator în companii"
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr "Liste de prețuri"
#, fuzzy
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "Listă de prețuri"
#, fuzzy
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr "Rând al listei de prețuri"
#, fuzzy
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr "Rând al listei de prețuri"
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr "Preţ Cost"
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr "Pret de Lista"
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr "Implicit pentru produs"

View File

@@ -0,0 +1,163 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
#, fuzzy
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr "Учет.орг."
#, fuzzy
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr "Строки"
#, fuzzy
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr "Наименование"
#, fuzzy
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr "Price Lists"
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr ""
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr ""
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr ""
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr ""
#, fuzzy
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr "Price Lists"
#, fuzzy
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr "Товарно материальные ценности (ТМЦ)"
#, fuzzy
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr "Кол-во"
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr ""
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr ""
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr ""
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr ""
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr ""
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr ""
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr ""
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr ""
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr "Price Lists"
#, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr ""
#, fuzzy
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr "Строки"
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr ""
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr "Price Lists"
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr ""
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr ""
#, fuzzy
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr "Товарно материальные ценности (ТМЦ)"

View File

@@ -0,0 +1,166 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr "Družba"
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr "Postavke"
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr "Naziv"
#, fuzzy
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr "Cenik"
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr "Davek vključen"
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr "Enota"
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr "Kategorija"
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr "Formula"
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr "Cenik"
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr "Izdelek"
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr "Količina"
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
"Poveži cenik z družbo.\n"
"S tem se določi valuta cenika."
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
"Dodaj formule cen za različne kriterije.\n"
"Uporabljena bo prva vrstica, ki se ujema."
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr "Glavni identifikator cenika."
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr ""
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr "Označite, če formula vključuje davek."
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr "Enota v kateri je izražena količina."
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr "Upoštevaj samo pri izdelkih te kategorije."
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
"Python spremenljivke, ki jih lahko uporabite za izračun:\n"
"- unit_price: izvorna cena\n"
"- cost_price: nabavna cena\n"
"- list_price: priporočena prodajna cena"
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr "Cenik za postavko."
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr "Upoštevaj samo pri tem izdelku."
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr "Upoštevaj samo, ko je količina večja."
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr "Ceniki"
#, fuzzy
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr "Postavke cenika"
#, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr ""
"Neveljavna formula \"%(formula)s\" v postavki cenika \"%(line)s\" z napako "
"\"%(exception)s\"."
#, fuzzy
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr "Postavke"
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr "Uporabnik v družbah"
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr "Ceniki"
#, fuzzy
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "Cenik"
#, fuzzy
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr "Postavka cenika"
#, fuzzy
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr "Postavka cenika"
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr ""
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr ""
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr "Privzeto za produkt"

View File

@@ -0,0 +1,156 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr ""
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr ""
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr ""
#, fuzzy
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr "Price Lists"
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr ""
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr ""
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr ""
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr ""
#, fuzzy
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr "Price Lists"
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr ""
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr ""
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr ""
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr ""
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr ""
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr ""
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr ""
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr ""
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr ""
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr ""
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr "Price Lists"
#, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr ""
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr ""
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr ""
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr "Price Lists"
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr ""
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr ""
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr ""

View File

@@ -0,0 +1,150 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr ""
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr ""
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr ""
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr ""
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr ""
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr ""
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr ""
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr ""
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr ""
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr ""
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr ""
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr ""
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr ""
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr ""
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr ""
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr ""
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr ""
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr ""
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr ""
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr ""
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr ""
#, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr ""
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr ""
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr ""
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr ""
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr ""
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr ""
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr ""
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr ""
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr ""
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr ""

View File

@@ -0,0 +1,157 @@
#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.price_list,company:"
msgid "Company"
msgstr ""
msgctxt "field:product.price_list,lines:"
msgid "Lines"
msgstr ""
#, fuzzy
msgctxt "field:product.price_list,name:"
msgid "Name"
msgstr "纳木"
#, fuzzy
msgctxt "field:product.price_list,price:"
msgid "Price"
msgstr "Price Lists"
msgctxt "field:product.price_list,tax_included:"
msgid "Tax Included"
msgstr ""
msgctxt "field:product.price_list,unit:"
msgid "Unit"
msgstr ""
msgctxt "field:product.price_list.line,category:"
msgid "Category"
msgstr ""
msgctxt "field:product.price_list.line,formula:"
msgid "Formula"
msgstr ""
#, fuzzy
msgctxt "field:product.price_list.line,price_list:"
msgid "Price List"
msgstr "Price Lists"
msgctxt "field:product.price_list.line,product:"
msgid "Product"
msgstr ""
msgctxt "field:product.price_list.line,quantity:"
msgid "Quantity"
msgstr ""
msgctxt "help:product.price_list,company:"
msgid ""
"Make the price list belong to the company.\n"
"It defines the currency of the price list."
msgstr ""
msgctxt "help:product.price_list,lines:"
msgid ""
"Add price formulas for different criteria.\n"
"The first matching line is used."
msgstr ""
msgctxt "help:product.price_list,name:"
msgid "The main identifier of the price list."
msgstr ""
msgctxt "help:product.price_list,price:"
msgid "The value used for 'unit_price'."
msgstr ""
msgctxt "help:product.price_list,tax_included:"
msgid "Check if result's formula includes taxes."
msgstr ""
msgctxt "help:product.price_list,unit:"
msgid "The unit in which the quantity is expressed."
msgstr ""
msgctxt "help:product.price_list.line,category:"
msgid "Apply only to products of this category."
msgstr ""
msgctxt "help:product.price_list.line,formula:"
msgid ""
"Python expression that will be evaluated with:\n"
"- unit_price: the original unit_price\n"
"- cost_price: the cost price of the product\n"
"- list_price: the list price of the product"
msgstr ""
msgctxt "help:product.price_list.line,price_list:"
msgid "The price list to which the line belongs."
msgstr ""
msgctxt "help:product.price_list.line,product:"
msgid "Apply only to this product."
msgstr ""
msgctxt "help:product.price_list.line,quantity:"
msgid "Apply only when quantity is greater."
msgstr ""
msgctxt "model:ir.action,name:act_price_list_form"
msgid "Price Lists"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:ir.action,name:act_price_list_line_form"
msgid "Price List Lines"
msgstr "Price Lists"
#, python-format
msgctxt "model:ir.message,text:msg_invalid_formula"
msgid ""
"Invalid formula \"%(formula)s\" in price list line \"%(line)s\" with "
"exception \"%(exception)s\"."
msgstr ""
msgctxt "model:ir.model.button,string:price_list_open_lines_button"
msgid "Open Lines"
msgstr ""
msgctxt "model:ir.rule.group,name:rule_group_price_list_companies"
msgid "User in companies"
msgstr ""
msgctxt "model:ir.ui.menu,name:menu_price_list"
msgid "Price Lists"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list,string:"
msgid "Product Price List"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list.line,string:"
msgid "Product Price List Line"
msgstr "Price Lists"
#, fuzzy
msgctxt "model:product.price_list.line.context,string:"
msgid "Product Price List Line Context"
msgstr "Price Lists"
msgctxt "selection:product.price_list,price:"
msgid "Cost Price"
msgstr ""
msgctxt "selection:product.price_list,price:"
msgid "List price"
msgstr ""
msgctxt "selection:product.price_list,unit:"
msgid "Product Default"
msgstr ""

View 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_invalid_formula">
<field name="text">Invalid formula "%(formula)s" in price list line "%(line)s" with exception "%(exception)s".</field>
</record>
</data>
</tryton>

View File

@@ -0,0 +1,204 @@
# 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 decimal import Decimal
from simpleeval import simple_eval
from trytond.i18n import gettext
from trytond.model import (
DeactivableMixin, MatchMixin, ModelSQL, ModelView, fields,
sequence_ordered)
from trytond.modules.product import round_price
from trytond.pool import Pool
from trytond.tools.decimal_ import DecimalNull as Null
from trytond.tools.decimal_ import decistmt
from trytond.transaction import Transaction
from .exceptions import FormulaError
class PriceList(DeactivableMixin, ModelSQL, ModelView):
__name__ = 'product.price_list'
name = fields.Char('Name', required=True, translate=True,
help="The main identifier of the price list.")
company = fields.Many2One(
'company.company', "Company", required=True,
help="Make the price list belong to the company.\n"
"It defines the currency of the price list.")
tax_included = fields.Boolean('Tax Included',
help="Check if result's formula includes taxes.")
unit = fields.Selection([
('product_default', "Product Default"),
], "Unit", required=True,
help="The unit in which the quantity is expressed.")
price = fields.Selection([
(None, ""),
('list_price', "List price"),
('cost_price', "Cost Price"),
], "Price",
help="The value used for 'unit_price'.")
lines = fields.One2Many(
'product.price_list.line', 'price_list', "Lines",
help="Add price formulas for different criteria.\n"
"The first matching line is used.")
@classmethod
def __setup__(cls):
super().__setup__()
cls._buttons.update({
'open_lines': {},
})
@staticmethod
def default_company():
return Transaction().context.get('company')
@staticmethod
def default_tax_included():
return False
@classmethod
def default_unit(cls):
return 'product_default'
def get_context_formula(self, product, quantity, uom, pattern=None):
if product:
cost_price = product.get_multivalue('cost_price') or Decimal('0')
list_price = product.list_price_used
else:
cost_price = Decimal('0')
list_price = Null()
if self.price == 'list_price':
unit_price = list_price
elif self.price == 'cost_price':
unit_price = cost_price
else:
unit_price = Null()
return {
'names': {
'unit_price': unit_price if unit_price is not None else Null(),
'cost_price': cost_price if cost_price is not None else Null(),
'list_price': list_price if list_price is not None else Null(),
},
}
def get_uom(self, product):
return product.default_uom
@classmethod
@ModelView.button_action(
'product_price_list.act_price_list_line_form')
def open_lines(cls, price_lists):
return {}
def compute(self, product, quantity, uom, pattern=None):
Uom = Pool().get('product.uom')
def parents(categories):
for category in categories:
while category:
yield category
category = category.parent
if pattern is None:
pattern = {}
pattern = pattern.copy()
if product:
pattern['categories'] = [
c.id for c in parents(product.categories_all)]
pattern['product'] = product.id
pattern['quantity'] = Uom.compute_qty(uom, quantity,
self.get_uom(product), round=False) if product else quantity
context = self.get_context_formula(
product, quantity, uom, pattern=pattern)
for line in self.lines:
if line.match(pattern):
return line.get_unit_price(**context)
class PriceListLine(sequence_ordered(), ModelSQL, ModelView, MatchMixin):
__name__ = 'product.price_list.line'
price_list = fields.Many2One('product.price_list', 'Price List',
required=True, ondelete='CASCADE',
help="The price list to which the line belongs.")
category = fields.Many2One(
'product.category', "Category", ondelete='CASCADE',
help="Apply only to products of this category.")
product = fields.Many2One('product.product', 'Product', ondelete='CASCADE',
help="Apply only to this product.")
quantity = fields.Float(
'Quantity',
domain=['OR', ('quantity', '>=', 0), ('quantity', '=', None)],
help="Apply only when quantity is greater.")
formula = fields.Char('Formula', required=True,
help=('Python expression that will be evaluated with:\n'
'- unit_price: the original unit_price\n'
'- cost_price: the cost price of the product\n'
'- list_price: the list price of the product'))
@classmethod
def __setup__(cls):
super().__setup__()
cls.__access__.add('price_list')
@staticmethod
def default_formula():
return 'unit_price'
@classmethod
def validate_fields(cls, lines, field_names):
super().validate_fields(lines, field_names)
cls.check_formula(lines, field_names)
@classmethod
def check_formula(cls, lines, field_names=None):
'''
Check formula
'''
if field_names and not (field_names & {'price_list', 'formula'}):
return
for line in lines:
context = line.price_list.get_context_formula(
product=None, quantity=0, uom=None)
line.get_unit_price(**context)
def match(self, pattern):
if 'quantity' in pattern:
pattern = pattern.copy()
quantity = pattern.pop('quantity')
if self.quantity is not None and self.quantity > abs(quantity):
return False
if 'categories' in pattern:
pattern = pattern.copy()
categories = pattern.pop('categories')
if (self.category is not None
and self.category.id not in categories):
return False
return super().match(pattern)
def get_unit_price(self, **context):
'Return unit price (as Decimal)'
context.setdefault('functions', {})['Decimal'] = Decimal
try:
unit_price = simple_eval(decistmt(self.formula), **context)
if isinstance(unit_price, Null):
unit_price = None
if unit_price is not None:
if not isinstance(unit_price, Decimal):
raise ValueError("result is not a Decimal")
unit_price = round_price(unit_price)
return unit_price
except Exception as exception:
raise FormulaError(
gettext('product_price_list.msg_invalid_formula',
formula=self.formula,
line=self.rec_name,
exception=exception)) from exception
class PriceListLineContext(ModelView):
__name__ = 'product.price_list.line.context'

View File

@@ -0,0 +1,117 @@
<?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="price_list_view_form">
<field name="model">product.price_list</field>
<field name="type">form</field>
<field name="name">price_list_form</field>
</record>
<record model="ir.ui.view" id="price_list_view_tree">
<field name="model">product.price_list</field>
<field name="type">tree</field>
<field name="name">price_list_tree</field>
</record>
<record model="ir.action.act_window" id="act_price_list_form">
<field name="name">Price Lists</field>
<field name="res_model">product.price_list</field>
<!-- Migration from 6.0: Force empty domain for multicompany-->
<field name="domain" eval="[]" pyson="1"/>
</record>
<record model="ir.action.act_window.view" id="act_price_list_form_view1">
<field name="sequence" eval="10"/>
<field name="view" ref="price_list_view_tree"/>
<field name="act_window" ref="act_price_list_form"/>
</record>
<record model="ir.action.act_window.view" id="act_price_list_form_view2">
<field name="sequence" eval="20"/>
<field name="view" ref="price_list_view_form"/>
<field name="act_window" ref="act_price_list_form"/>
</record>
<menuitem
parent="product.menu_main_product"
action="act_price_list_form"
sequence="30"
id="menu_price_list"/>
<record model="ir.model.access" id="access_price_list">
<field name="model">product.price_list</field>
<field name="perm_read" eval="True"/>
<field name="perm_write" eval="False"/>
<field name="perm_create" eval="False"/>
<field name="perm_delete" eval="False"/>
</record>
<record model="ir.model.access" id="access_price_list_admin">
<field name="model">product.price_list</field>
<field name="group" ref="product.group_product_admin"/>
<field name="perm_read" eval="True"/>
<field name="perm_write" eval="True"/>
<field name="perm_create" eval="True"/>
<field name="perm_delete" eval="True"/>
</record>
<record model="ir.model.button" id="price_list_open_lines_button">
<field name="model">product.price_list</field>
<field name="name">open_lines</field>
<field name="string">Open Lines</field>
</record>
<record model="ir.rule.group" id="rule_group_price_list_companies">
<field name="name">User in companies</field>
<field name="model">product.price_list</field>
<field name="global_p" eval="True"/>
</record>
<record model="ir.rule" id="rule_price_list_companies">
<field name="domain"
eval="[('company', 'in', Eval('companies', []))]"
pyson="1"/>
<field name="rule_group" ref="rule_group_price_list_companies"/>
</record>
<record model="ir.ui.view" id="price_list_line_view_form">
<field name="model">product.price_list.line</field>
<field name="type">form</field>
<field name="name">price_list_line_form</field>
</record>
<record model="ir.ui.view" id="price_list_line_view_tree">
<field name="model">product.price_list.line</field>
<field name="type">tree</field>
<field name="name">price_list_line_tree</field>
</record>
<record model="ir.ui.view" id="price_list_line_view_tree_sequence">
<field name="model">product.price_list.line</field>
<field name="type">tree</field>
<field name="priority" eval="20"/>
<field name="name">price_list_line_tree_sequence</field>
</record>
<record model="ir.action.act_window" id="act_price_list_line_form">
<field name="name">Price List Lines</field>
<field name="res_model">product.price_list.line</field>
<field name="context_model">product.price_list.line.context</field>
<field name="domain" eval="[('price_list', '=', Eval('active_id'))]" pyson="1"/>
</record>
<record model="ir.action.act_window.view" id="act_price_list_line_form_view1">
<field name="sequence" eval="10"/>
<field name="view" ref="price_list_line_view_tree_sequence"/>
<field name="act_window" ref="act_price_list_line_form"/>
</record>
<record model="ir.action.act_window.view" id="act_price_list_line_form_view2">
<field name="sequence" eval="20"/>
<field name="view" ref="price_list_line_view_form"/>
<field name="act_window" ref="act_price_list_line_form"/>
</record>
<record model="ir.ui.view" id="price_list_line_context_view_form">
<field name="model">product.price_list.line.context</field>
<field name="type">form</field>
<field name="name">price_list_line_context_form</field>
</record>
</data>
</tryton>

View 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.

View File

@@ -0,0 +1,231 @@
# 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 decimal import Decimal
from trytond.modules.company.tests import (
CompanyTestMixin, create_company, set_company)
from trytond.modules.product_price_list.price_list import Null
from trytond.pool import Pool
from trytond.tests.test_tryton import ModuleTestCase, with_transaction
class ProductPriceListTestCase(CompanyTestMixin, ModuleTestCase):
'Test ProductPriceList module'
module = 'product_price_list'
def test_null(self):
"Test Null object"
none = None
self.assertEqual(Null() == Null(), True)
self.assertEqual(Null() == none, True)
self.assertEqual(Null() == 0, False)
self.assertEqual(Null() < 1, True)
self.assertEqual(Null() < 0, False)
self.assertEqual(Null() + 1, Null())
self.assertEqual(1 + Null(), Null())
@with_transaction()
def test_price_list(self):
'Test price_list'
pool = Pool()
Template = pool.get('product.template')
Product = pool.get('product.product')
Uom = pool.get('product.uom')
PriceList = pool.get('product.price_list')
company = create_company()
with set_company(company):
kilogram, = Uom.search([
('name', '=', 'Kilogram'),
])
gram, = Uom.search([
('name', '=', 'Gram'),
])
template = Template(
name='Test Lot Sequence',
list_price=Decimal(10),
default_uom=kilogram,
)
template.save()
product = Product(template=template)
product.save()
variant = Product(template=template)
variant.save()
price_list, = PriceList.create([{
'name': 'Default Price List',
'price': 'list_price',
'lines': [('create', [{
'quantity': 10.0,
'product': variant.id,
'formula': 'unit_price * 0.8',
}, {
'quantity': 10.0,
'formula': 'unit_price * 0.9',
}, {
'product': variant.id,
'formula': 'unit_price * 1.1',
}, {
'formula': 'unit_price',
}])],
}])
tests = [
(product, 1.0, kilogram, Decimal(10.0)),
(product, 1000.0, gram, Decimal(10.0)),
(variant, 1.0, kilogram, Decimal(11.0)),
(product, 10.0, kilogram, Decimal(9.0)),
(product, -10.0, kilogram, Decimal(9.0)),
(product, 10000.0, gram, Decimal(9.0)),
(variant, 10.0, kilogram, Decimal(8.0)),
(variant, 10000.0, gram, Decimal(8.0)),
]
for product, quantity, unit, result in tests:
self.assertEqual(
price_list.compute(product, quantity, unit), result)
@with_transaction()
def test_price_list_category(self):
"Test price list with category"
pool = Pool()
Category = pool.get('product.category')
Template = pool.get('product.template')
Product = pool.get('product.product')
Uom = pool.get('product.uom')
PriceList = pool.get('product.price_list')
category = Category(name="Category")
category.save()
child_category = Category(name="Child Category", parent=category)
child_category.save()
unit, = Uom.search([('name', '=', 'Unit')])
company = create_company()
with set_company(company):
template = Template(
name="Template",
list_price=Decimal(10),
default_uom=unit,
products=None,
categories=[category],
)
template.save()
product = Product(template=template)
product.save()
price_list, = PriceList.create([{
'name': "Price List",
'price': 'list_price',
'lines': [('create', [{
'category': category.id,
'formula': 'unit_price * 0.8',
}, {
'formula': 'unit_price',
}])],
}])
self.assertEqual(price_list.compute(product, 1, unit), Decimal(8))
template.categories = []
template.save()
self.assertEqual(
price_list.compute(product, 1, unit), Decimal(10))
template.categories = [child_category]
template.save()
self.assertEqual(price_list.compute(product, 1, unit), Decimal(8))
@with_transaction()
def test_price_list_cost_price(self):
"Test price list with cost_price formula"
pool = Pool()
Template = pool.get('product.template')
Product = pool.get('product.product')
Uom = pool.get('product.uom')
PriceList = pool.get('product.price_list')
unit, = Uom.search([('name', '=', 'Unit')])
company = create_company()
with set_company(company):
template = Template(
name="Template",
list_price=Decimal(10),
default_uom=unit,
products=None,
)
template.save()
product = Product(template=template)
product.save()
price_list, = PriceList.create([{
'name': "Price List",
'lines': [('create', [{
'formula': 'cost_price * 1.2',
}])],
}])
self.assertEqual(price_list.compute(product, 1, unit), Decimal(0))
product.cost_price = Decimal(5)
product.save()
self.assertEqual(price_list.compute(product, 1, unit), Decimal(6))
@with_transaction()
def test_price_list_list_price(self):
"Test price list with list_price formula"
pool = Pool()
Template = pool.get('product.template')
Product = pool.get('product.product')
Uom = pool.get('product.uom')
PriceList = pool.get('product.price_list')
unit, = Uom.search([('name', '=', 'Unit')])
company = create_company()
with set_company(company):
template = Template(
name="Template",
list_price=Decimal(10),
default_uom=unit,
products=None,
)
template.save()
product = Product(template=template)
product.save()
price_list, = PriceList.create([{
'name': "Price List",
'lines': [('create', [{
'formula': 'list_price * 0.8',
}])],
}])
self.assertEqual(price_list.compute(product, 1, unit), Decimal(8))
@with_transaction()
def test_price_list_with_none(self):
"Test price list without price"
pool = Pool()
PriceList = pool.get('product.price_list')
Uom = pool.get('product.uom')
unit, = Uom.search([('name', '=', 'Unit')])
company = create_company()
with set_company(company):
price_list, = PriceList.create([{
'name': "Price List",
'lines': [('create', [{
'formula': 'list_price * 0.8',
}])],
}])
self.assertEqual(price_list.compute(None, 1, unit), None)
del ModuleTestCase

View File

@@ -0,0 +1,15 @@
[tryton]
version=7.8.1
depends:
company
ir
product
xml:
price_list.xml
message.xml
[register]
model:
price_list.PriceList
price_list.PriceListLine
price_list.PriceListLineContext

View File

@@ -0,0 +1,32 @@
<?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. -->
<form>
<label name="name"/>
<field name="name"/>
<group col="-1" colspan="2" id="checkboxes">
<label name="tax_included"/>
<field name="tax_included"/>
<label name="active"/>
<field name="active"/>
<!-- Add other checkboxes here -->
</group>
<label name="company"/>
<field name="company"/>
<newline/>
<label name="unit"/>
<field name="unit"/>
<label name="price"/>
<field name="price"/>
<notebook colspan="4">
<page name="lines">
<field name="lines" colspan="4"
view_ids="product_price_list.price_list_line_view_tree_sequence"/>
<button name="open_lines" colspan="4"/>
</page>
</notebook>
</form>

View File

@@ -0,0 +1,6 @@
<?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. -->
<form>
</form>

View File

@@ -0,0 +1,19 @@
<?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. -->
<form>
<label name="price_list"/>
<field name="price_list" colspan="3"/>
<label name="sequence"/>
<field name="sequence"/>
<newline/>
<label name="category"/>
<field name="category"/>
<label name="product"/>
<field name="product"/>
<label name="quantity"/>
<field name="quantity"/>
<separator id="formula" colspan="4"/>
<label name="formula"/>
<field name="formula" colspan="3"/>
</form>

View File

@@ -0,0 +1,11 @@
<?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. -->
<tree>
<field name="price_list" expand="1"/>
<field name="sequence" optional="1"/>
<field name="category" expand="1"/>
<field name="product" expand="1"/>
<field name="quantity"/>
<field name="formula" expand="1" optional="0"/>
</tree>

View 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. -->
<tree sequence="sequence">
<field name="price_list" expand="1"/>
<field name="category" expand="1"/>
<field name="product" expand="1"/>
<field name="quantity"/>
<field name="formula" expand="1" optional="0"/>
</tree>

View 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. -->
<tree>
<field name="company" expand="1" optional="1"/>
<field name="name" expand="1"/>
<field name="tax_included" optional="1"/>
<field name="unit" optional="1"/>
</tree>