From 66a71323c5556d0f4944aa511dee7fb40fac02c6 Mon Sep 17 00:00:00 2001
From: Maxime Chambreuil
Date: Thu, 5 Sep 2019 12:23:14 -0500
Subject: [PATCH] [FIX] agreement_legal_sale: Github Issue #371
[UPD] Update agreement_legal_sale.pot
[UPD] README.rst
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: contract-12.0/contract-12.0-agreement_legal_sale
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal_sale/
---
agreement_legal_sale/README.rst | 2 +-
.../i18n/agreement_legal_sale.pot | 19 ----------
agreement_legal_sale/i18n/de.po | 35 +++++++-----------
agreement_legal_sale/i18n/fr.po | 36 ++++++++-----------
agreement_legal_sale/i18n/zh_CN.po | 32 +++++++----------
agreement_legal_sale/readme/USAGE.rst | 2 +-
.../static/description/index.html | 2 +-
7 files changed, 42 insertions(+), 86 deletions(-)
diff --git a/agreement_legal_sale/README.rst b/agreement_legal_sale/README.rst
index 3dba3eb24..fadda0cd3 100644
--- a/agreement_legal_sale/README.rst
+++ b/agreement_legal_sale/README.rst
@@ -59,7 +59,7 @@ To use this module:
* the agreement template is copied into an agreement with a copy of the
sections, clauses, recitals and appendices
* all the sales order lines are added as agreement lines
- * the products on the SO with BOM are added as service profile on the agreement
+ * the service products (with is_serviceprofile = True) on the SO are added as service profile on the agreement
* the customer information is set from the sales order
* the eventual analytic account linked to the sales order is set on the agreement
* the agreement is linked to the sales order and vice versa
diff --git a/agreement_legal_sale/i18n/agreement_legal_sale.pot b/agreement_legal_sale/i18n/agreement_legal_sale.pot
index 35297dfc6..17ee4edc7 100644
--- a/agreement_legal_sale/i18n/agreement_legal_sale.pot
+++ b/agreement_legal_sale/i18n/agreement_legal_sale.pot
@@ -15,7 +15,6 @@ msgstr ""
#. module: agreement_legal_sale
#: model:ir.model,name:agreement_legal_sale.model_agreement
-#: model_terms:ir.ui.view,arch_db:agreement_legal_sale.product_template_form_view
msgid "Agreement"
msgstr ""
@@ -34,24 +33,6 @@ msgstr ""
msgid "Analytic Account"
msgstr ""
-#. module: agreement_legal_sale
-#: model:ir.model.fields,field_description:agreement_legal_sale.field_product_product__is_serviceprofile
-#: model:ir.model.fields,field_description:agreement_legal_sale.field_product_template__is_serviceprofile
-msgid "Create a Service Profile"
-msgstr ""
-
-#. module: agreement_legal_sale
-#: model:ir.model.fields,help:agreement_legal_sale.field_product_product__is_serviceprofile
-#: model:ir.model.fields,help:agreement_legal_sale.field_product_template__is_serviceprofile
-msgid "If True, this product will create a service profile on the\n"
-" agreement when the sales order is confirmed."
-msgstr ""
-
-#. module: agreement_legal_sale
-#: model:ir.model,name:agreement_legal_sale.model_product_template
-msgid "Product Template"
-msgstr ""
-
#. module: agreement_legal_sale
#: model:ir.model,name:agreement_legal_sale.model_sale_order
msgid "Sale Order"
diff --git a/agreement_legal_sale/i18n/de.po b/agreement_legal_sale/i18n/de.po
index 9029209af..1e9417c88 100644
--- a/agreement_legal_sale/i18n/de.po
+++ b/agreement_legal_sale/i18n/de.po
@@ -18,7 +18,6 @@ msgstr ""
#. module: agreement_legal_sale
#: model:ir.model,name:agreement_legal_sale.model_agreement
-#: model_terms:ir.ui.view,arch_db:agreement_legal_sale.product_template_form_view
msgid "Agreement"
msgstr "Vereinbarung"
@@ -37,27 +36,6 @@ msgstr "Vereinbarungsvorlage"
msgid "Analytic Account"
msgstr "Kostenstelle"
-#. module: agreement_legal_sale
-#: model:ir.model.fields,field_description:agreement_legal_sale.field_product_product__is_serviceprofile
-#: model:ir.model.fields,field_description:agreement_legal_sale.field_product_template__is_serviceprofile
-msgid "Create a Service Profile"
-msgstr "Dienstleistungsprofil erstellen"
-
-#. module: agreement_legal_sale
-#: model:ir.model.fields,help:agreement_legal_sale.field_product_product__is_serviceprofile
-#: model:ir.model.fields,help:agreement_legal_sale.field_product_template__is_serviceprofile
-msgid ""
-"If True, this product will create a service profile on the\n"
-" agreement when the sales order is confirmed."
-msgstr ""
-"Wenn der Haken gesetzt ist, wird dieses Produkt ein Dienstleistungsprofil in "
-"der Vereinbarung erzeugen, sobald der Verkaufsauftrag bestätigt wird."
-
-#. module: agreement_legal_sale
-#: model:ir.model,name:agreement_legal_sale.model_product_template
-msgid "Product Template"
-msgstr "Produktvorlage"
-
#. module: agreement_legal_sale
#: model:ir.model,name:agreement_legal_sale.model_sale_order
msgid "Sale Order"
@@ -78,6 +56,19 @@ msgstr "Verkaufsauftrag"
msgid "Sales Order Line"
msgstr "Auftragszeile"
+#~ msgid "Create a Service Profile"
+#~ msgstr "Dienstleistungsprofil erstellen"
+
+#~ msgid ""
+#~ "If True, this product will create a service profile on the\n"
+#~ " agreement when the sales order is confirmed."
+#~ msgstr ""
+#~ "Wenn der Haken gesetzt ist, wird dieses Produkt ein Dienstleistungsprofil "
+#~ "in der Vereinbarung erzeugen, sobald der Verkaufsauftrag bestätigt wird."
+
+#~ msgid "Product Template"
+#~ msgstr "Produktvorlage"
+
#~ msgid "Quotation"
#~ msgstr "Angebot"
diff --git a/agreement_legal_sale/i18n/fr.po b/agreement_legal_sale/i18n/fr.po
index 315c9269e..aee504b09 100644
--- a/agreement_legal_sale/i18n/fr.po
+++ b/agreement_legal_sale/i18n/fr.po
@@ -1,6 +1,6 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
-# * agreement_legal_sale
+# * agreement_legal_sale
#
msgid ""
msgstr ""
@@ -18,7 +18,6 @@ msgstr ""
#. module: agreement_legal_sale
#: model:ir.model,name:agreement_legal_sale.model_agreement
-#: model_terms:ir.ui.view,arch_db:agreement_legal_sale.product_template_form_view
msgid "Agreement"
msgstr "Accord"
@@ -37,26 +36,6 @@ msgstr "Modèle d'accord"
msgid "Analytic Account"
msgstr "Compte Analytique"
-#. module: agreement_legal_sale
-#: model:ir.model.fields,field_description:agreement_legal_sale.field_product_product__is_serviceprofile
-#: model:ir.model.fields,field_description:agreement_legal_sale.field_product_template__is_serviceprofile
-msgid "Create a Service Profile"
-msgstr "Créer un profil de service"
-
-#. module: agreement_legal_sale
-#: model:ir.model.fields,help:agreement_legal_sale.field_product_product__is_serviceprofile
-#: model:ir.model.fields,help:agreement_legal_sale.field_product_template__is_serviceprofile
-msgid "If True, this product will create a service profile on the\n"
-" agreement when the sales order is confirmed."
-msgstr ""
-"Si Vrai, ce produit créera un profil de service dans\n"
-" l'accord a la confirmation de la commande client."
-
-#. module: agreement_legal_sale
-#: model:ir.model,name:agreement_legal_sale.model_product_template
-msgid "Product Template"
-msgstr "Modèle Produit"
-
#. module: agreement_legal_sale
#: model:ir.model,name:agreement_legal_sale.model_sale_order
msgid "Sale Order"
@@ -76,3 +55,16 @@ msgstr "Commandes"
#: model:ir.model.fields,field_description:agreement_legal_sale.field_agreement_line__sale_line_id
msgid "Sales Order Line"
msgstr "Ligne de commande"
+
+#~ msgid "Create a Service Profile"
+#~ msgstr "Créer un profil de service"
+
+#~ msgid ""
+#~ "If True, this product will create a service profile on the\n"
+#~ " agreement when the sales order is confirmed."
+#~ msgstr ""
+#~ "Si Vrai, ce produit créera un profil de service dans\n"
+#~ " l'accord a la confirmation de la commande client."
+
+#~ msgid "Product Template"
+#~ msgstr "Modèle Produit"
diff --git a/agreement_legal_sale/i18n/zh_CN.po b/agreement_legal_sale/i18n/zh_CN.po
index 759cc621a..f5a0b1dd4 100644
--- a/agreement_legal_sale/i18n/zh_CN.po
+++ b/agreement_legal_sale/i18n/zh_CN.po
@@ -1,6 +1,6 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
-# * agreement_legal_sale
+# * agreement_legal_sale
#
msgid ""
msgstr ""
@@ -18,7 +18,6 @@ msgstr ""
#. module: agreement_legal_sale
#: model:ir.model,name:agreement_legal_sale.model_agreement
-#: model_terms:ir.ui.view,arch_db:agreement_legal_sale.product_template_form_view
msgid "Agreement"
msgstr "协议"
@@ -37,24 +36,6 @@ msgstr "协议模板"
msgid "Analytic Account"
msgstr "分析账户"
-#. module: agreement_legal_sale
-#: model:ir.model.fields,field_description:agreement_legal_sale.field_product_product__is_serviceprofile
-#: model:ir.model.fields,field_description:agreement_legal_sale.field_product_template__is_serviceprofile
-msgid "Create a Service Profile"
-msgstr "创建服务配置文件"
-
-#. module: agreement_legal_sale
-#: model:ir.model.fields,help:agreement_legal_sale.field_product_product__is_serviceprofile
-#: model:ir.model.fields,help:agreement_legal_sale.field_product_template__is_serviceprofile
-msgid "If True, this product will create a service profile on the\n"
-" agreement when the sales order is confirmed."
-msgstr "如果为真,则当确认销售订单时,此产品将在协议上创建服务配置文件。"
-
-#. module: agreement_legal_sale
-#: model:ir.model,name:agreement_legal_sale.model_product_template
-msgid "Product Template"
-msgstr "产品模版"
-
#. module: agreement_legal_sale
#: model:ir.model,name:agreement_legal_sale.model_sale_order
msgid "Sale Order"
@@ -74,3 +55,14 @@ msgstr "销售订单"
#: model:ir.model.fields,field_description:agreement_legal_sale.field_agreement_line__sale_line_id
msgid "Sales Order Line"
msgstr "销售订单行"
+
+#~ msgid "Create a Service Profile"
+#~ msgstr "创建服务配置文件"
+
+#~ msgid ""
+#~ "If True, this product will create a service profile on the\n"
+#~ " agreement when the sales order is confirmed."
+#~ msgstr "如果为真,则当确认销售订单时,此产品将在协议上创建服务配置文件。"
+
+#~ msgid "Product Template"
+#~ msgstr "产品模版"
diff --git a/agreement_legal_sale/readme/USAGE.rst b/agreement_legal_sale/readme/USAGE.rst
index 259af0b9f..990ad674c 100644
--- a/agreement_legal_sale/readme/USAGE.rst
+++ b/agreement_legal_sale/readme/USAGE.rst
@@ -8,7 +8,7 @@ To use this module:
* the agreement template is copied into an agreement with a copy of the
sections, clauses, recitals and appendices
* all the sales order lines are added as agreement lines
- * the products on the SO with BOM are added as service profile on the agreement
+ * the service products (with is_serviceprofile = True) on the SO are added as service profile on the agreement
* the customer information is set from the sales order
* the eventual analytic account linked to the sales order is set on the agreement
* the agreement is linked to the sales order and vice versa
diff --git a/agreement_legal_sale/static/description/index.html b/agreement_legal_sale/static/description/index.html
index 76b36b27b..1aa0ee8a5 100644
--- a/agreement_legal_sale/static/description/index.html
+++ b/agreement_legal_sale/static/description/index.html
@@ -409,7 +409,7 @@ with all the legal information based on the selected agreement template.
the agreement template is copied into an agreement with a copy of the
sections, clauses, recitals and appendices
all the sales order lines are added as agreement lines
-the products on the SO with BOM are added as service profile on the agreement
+the service products (with is_serviceprofile = True) on the SO are added as service profile on the agreement
the customer information is set from the sales order
the eventual analytic account linked to the sales order is set on the agreement
the agreement is linked to the sales order and vice versa