Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0][IMP] sale_order_general_discount: apply discount product optin #1812

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion sale_order_general_discount/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,9 @@
"application": False,
"installable": True,
"depends": ["sale"],
"data": ["views/sale_order_view.xml", "views/res_partner_view.xml"],
"data": [
"views/product_view.xml",
"views/sale_order_view.xml",
"views/res_partner_view.xml",
],
}
51 changes: 51 additions & 0 deletions sale_order_general_discount/i18n/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.7.1\n"

#. module: sale_order_general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_product__general_discount_apply
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_template__general_discount_apply
msgid "Apply general discount"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model,name:sale_order_general_discount.model_res_partner
msgid "Contact"
Expand All @@ -34,6 +40,51 @@ msgstr "Rabatt (%)"
msgid "Discount (%)"
msgstr "Rabatt (%)"

#. module: sale_order_general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_product__display_name
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_template__display_name
#: model:ir.model.fields,field_description:sale_order_general_discount.field_res_partner__display_name
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order__display_name
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order_line__display_name
msgid "Display Name"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_product__id
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_template__id
#: model:ir.model.fields,field_description:sale_order_general_discount.field_res_partner__id
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order__id
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order_line__id
msgid "ID"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model.fields,help:sale_order_general_discount.field_product_product__general_discount_apply
#: model:ir.model.fields,help:sale_order_general_discount.field_product_template__general_discount_apply
msgid ""
"If this checkbox is ticked, it means changing general discount on sale order "
"will impact sale order lines with this related product."
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_product____last_update
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_template____last_update
#: model:ir.model.fields,field_description:sale_order_general_discount.field_res_partner____last_update
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order____last_update
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order_line____last_update
msgid "Last Modified on"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model,name:sale_order_general_discount.model_product_product
msgid "Product"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model,name:sale_order_general_discount.model_product_template
msgid "Product Template"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model,name:sale_order_general_discount.model_sale_order
#, fuzzy
Expand Down
54 changes: 51 additions & 3 deletions sale_order_general_discount/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.10\n"

#. module: sale_order_general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_product__general_discount_apply
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_template__general_discount_apply
msgid "Apply general discount"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model,name:sale_order_general_discount.model_res_partner
msgid "Contact"
Expand All @@ -34,6 +40,51 @@ msgstr "Descuento"
msgid "Discount (%)"
msgstr "Descuento (%)"

#. module: sale_order_general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_product__display_name
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_template__display_name
#: model:ir.model.fields,field_description:sale_order_general_discount.field_res_partner__display_name
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order__display_name
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order_line__display_name
msgid "Display Name"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_product__id
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_template__id
#: model:ir.model.fields,field_description:sale_order_general_discount.field_res_partner__id
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order__id
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order_line__id
msgid "ID"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model.fields,help:sale_order_general_discount.field_product_product__general_discount_apply
#: model:ir.model.fields,help:sale_order_general_discount.field_product_template__general_discount_apply
msgid ""
"If this checkbox is ticked, it means changing general discount on sale order "
"will impact sale order lines with this related product."
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_product____last_update
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_template____last_update
#: model:ir.model.fields,field_description:sale_order_general_discount.field_res_partner____last_update
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order____last_update
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order_line____last_update
msgid "Last Modified on"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model,name:sale_order_general_discount.model_product_product
msgid "Product"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model,name:sale_order_general_discount.model_product_template
msgid "Product Template"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model,name:sale_order_general_discount.model_sale_order
msgid "Sales Order"
Expand All @@ -43,6 +94,3 @@ msgstr "Pedido de venta"
#: model:ir.model,name:sale_order_general_discount.model_sale_order_line
msgid "Sales Order Line"
msgstr "Línea Pedido de Venta"

#~ msgid "Quotation"
#~ msgstr "Presupuesto"
95 changes: 95 additions & 0 deletions sale_order_general_discount/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_order_general_discount
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: sale_order_general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_product__general_discount_apply
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_template__general_discount_apply
msgid "Apply general discount"
msgstr "Appliquer la remise générale"

#. module: sale_order_general_discount
#: model:ir.model,name:sale_order_general_discount.model_res_partner
msgid "Contact"
msgstr "Contact"

#. module: sale_order_general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_res_partner__sale_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_res_users__sale_discount
msgid "Discount"
msgstr "Remise"

#. module: sale_order_general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order__general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order_line__discount
msgid "Discount (%)"
msgstr "Remise (%)"

#. module: sale_order_general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_product__display_name
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_template__display_name
#: model:ir.model.fields,field_description:sale_order_general_discount.field_res_partner__display_name
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order__display_name
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order_line__display_name
msgid "Display Name"
msgstr "Nom affiché"

#. module: sale_order_general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_product__id
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_template__id
#: model:ir.model.fields,field_description:sale_order_general_discount.field_res_partner__id
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order__id
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order_line__id
msgid "ID"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model.fields,help:sale_order_general_discount.field_product_product__general_discount_apply
#: model:ir.model.fields,help:sale_order_general_discount.field_product_template__general_discount_apply
msgid ""
"If this checkbox is ticked, it means changing general discount on sale order"
" will impact sale order lines with this related product."
msgstr ""
"Si coché, lorsque vous modifié la remise générale sur le bon de commande"
" la modification sera prise en compte sur les lignes de bon de commandes"
" liées à cet article."

#. module: sale_order_general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_product____last_update
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_template____last_update
#: model:ir.model.fields,field_description:sale_order_general_discount.field_res_partner____last_update
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order____last_update
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order_line____last_update
msgid "Last Modified on"
msgstr "Dernière modification le"

#. module: sale_order_general_discount
#: model:ir.model,name:sale_order_general_discount.model_product_product
msgid "Product"
msgstr "Article"

#. module: sale_order_general_discount
#: model:ir.model,name:sale_order_general_discount.model_product_template
msgid "Product Template"
msgstr "Modèle d'article"

#. module: sale_order_general_discount
#: model:ir.model,name:sale_order_general_discount.model_sale_order
msgid "Sales Order"
msgstr "Bons de commande"

#. module: sale_order_general_discount
#: model:ir.model,name:sale_order_general_discount.model_sale_order_line
msgid "Sales Order Line"
msgstr "Ligne de bons de commande"
51 changes: 51 additions & 0 deletions sale_order_general_discount/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.10\n"

#. module: sale_order_general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_product__general_discount_apply
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_template__general_discount_apply
msgid "Apply general discount"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model,name:sale_order_general_discount.model_res_partner
msgid "Contact"
Expand All @@ -34,6 +40,51 @@ msgstr "Sconto (%)"
msgid "Discount (%)"
msgstr "Sconto (%)"

#. module: sale_order_general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_product__display_name
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_template__display_name
#: model:ir.model.fields,field_description:sale_order_general_discount.field_res_partner__display_name
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order__display_name
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order_line__display_name
msgid "Display Name"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_product__id
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_template__id
#: model:ir.model.fields,field_description:sale_order_general_discount.field_res_partner__id
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order__id
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order_line__id
msgid "ID"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model.fields,help:sale_order_general_discount.field_product_product__general_discount_apply
#: model:ir.model.fields,help:sale_order_general_discount.field_product_template__general_discount_apply
msgid ""
"If this checkbox is ticked, it means changing general discount on sale order "
"will impact sale order lines with this related product."
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_product____last_update
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_template____last_update
#: model:ir.model.fields,field_description:sale_order_general_discount.field_res_partner____last_update
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order____last_update
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order_line____last_update
msgid "Last Modified on"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model,name:sale_order_general_discount.model_product_product
msgid "Product"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model,name:sale_order_general_discount.model_product_template
msgid "Product Template"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model,name:sale_order_general_discount.model_sale_order
#, fuzzy
Expand Down
30 changes: 30 additions & 0 deletions sale_order_general_discount/i18n/sale_order_general_discount.pot
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: sale_order_general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_product__general_discount_apply
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_template__general_discount_apply
msgid "Apply general discount"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model,name:sale_order_general_discount.model_res_partner
msgid "Contact"
Expand All @@ -31,26 +37,50 @@ msgid "Discount (%)"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_product__display_name
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_template__display_name
#: model:ir.model.fields,field_description:sale_order_general_discount.field_res_partner__display_name
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order__display_name
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order_line__display_name
msgid "Display Name"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_product__id
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_template__id
#: model:ir.model.fields,field_description:sale_order_general_discount.field_res_partner__id
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order__id
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order_line__id
msgid "ID"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model.fields,help:sale_order_general_discount.field_product_product__general_discount_apply
#: model:ir.model.fields,help:sale_order_general_discount.field_product_template__general_discount_apply
msgid ""
"If this checkbox is ticked, it means changing general discount on sale order"
" will impact sale order lines with this related product."
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_product____last_update
#: model:ir.model.fields,field_description:sale_order_general_discount.field_product_template____last_update
#: model:ir.model.fields,field_description:sale_order_general_discount.field_res_partner____last_update
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order____last_update
#: model:ir.model.fields,field_description:sale_order_general_discount.field_sale_order_line____last_update
msgid "Last Modified on"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model,name:sale_order_general_discount.model_product_product
msgid "Product"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model,name:sale_order_general_discount.model_product_template
msgid "Product Template"
msgstr ""

#. module: sale_order_general_discount
#: model:ir.model,name:sale_order_general_discount.model_sale_order
msgid "Sales Order"
Expand Down
Loading