diff --git a/contract_sale_generation/__manifest__.py b/contract_sale_generation/__manifest__.py
index 072fa46147..285b301342 100644
--- a/contract_sale_generation/__manifest__.py
+++ b/contract_sale_generation/__manifest__.py
@@ -6,7 +6,7 @@
{
'name': 'Contracts Management - Recurring Sales',
- 'version': '10.0.1.0.0',
+ 'version': '10.0.2.0.0',
'category': 'Contract Management',
'license': 'AGPL-3',
'author': "PESOL, "
@@ -17,6 +17,7 @@
'views/account_analytic_account_view.xml',
'views/account_analytic_contract_view.xml',
'views/sale_view.xml',
+ 'data/contract_cron.xml',
],
'installable': True,
}
diff --git a/contract_sale_generation/data/contract_cron.xml b/contract_sale_generation/data/contract_cron.xml
new file mode 100644
index 0000000000..d4d6f8fdeb
--- /dev/null
+++ b/contract_sale_generation/data/contract_cron.xml
@@ -0,0 +1,14 @@
+
+
+
+
+ Generate Recurring sales from Contracts
+ 1
+ days
+ -1
+
+
+
+
+
+
diff --git a/contract_sale_generation/i18n/ca.po b/contract_sale_generation/i18n/ca.po
new file mode 100644
index 0000000000..80c320658e
--- /dev/null
+++ b/contract_sale_generation/i18n/ca.po
@@ -0,0 +1,82 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# OCA Transbot , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: OCA Transbot , 2017\n"
+"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: ca\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "Compte analític"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/de.po b/contract_sale_generation/i18n/de.po
new file mode 100644
index 0000000000..7766f76a6d
--- /dev/null
+++ b/contract_sale_generation/i18n/de.po
@@ -0,0 +1,82 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# OCA Transbot , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: OCA Transbot , 2017\n"
+"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: de\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "Kostenstelle"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr "Rechnung"
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr "Sie müssen zunächst einen Kunden für den Vertrag '%s' auswählen."
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/el_GR.po b/contract_sale_generation/i18n/el_GR.po
new file mode 100644
index 0000000000..9502bba79d
--- /dev/null
+++ b/contract_sale_generation/i18n/el_GR.po
@@ -0,0 +1,82 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# OCA Transbot , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: OCA Transbot , 2017\n"
+"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/el_GR/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: el_GR\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "Αναλυτικός Λογαριασμός"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/es.po b/contract_sale_generation/i18n/es.po
new file mode 100644
index 0000000000..b9d8aabb3c
--- /dev/null
+++ b/contract_sale_generation/i18n/es.po
@@ -0,0 +1,82 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# OCA Transbot , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: OCA Transbot , 2017\n"
+"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: es\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "Cuenta analítica"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr "Factura"
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr "¡Seleccione un cliente para este contrato %s!"
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/es_MX.po b/contract_sale_generation/i18n/es_MX.po
new file mode 100644
index 0000000000..a3e0a07009
--- /dev/null
+++ b/contract_sale_generation/i18n/es_MX.po
@@ -0,0 +1,82 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# OCA Transbot , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: OCA Transbot , 2017\n"
+"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/es_MX/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: es_MX\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "Cuenta analítica"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/fi.po b/contract_sale_generation/i18n/fi.po
new file mode 100644
index 0000000000..e49e60898c
--- /dev/null
+++ b/contract_sale_generation/i18n/fi.po
@@ -0,0 +1,82 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# OCA Transbot , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: OCA Transbot , 2017\n"
+"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: fi\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "Analyyttinen tili"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/fr.po b/contract_sale_generation/i18n/fr.po
new file mode 100644
index 0000000000..d1bdc8ce94
--- /dev/null
+++ b/contract_sale_generation/i18n/fr.po
@@ -0,0 +1,82 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# OCA Transbot , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: OCA Transbot , 2017\n"
+"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: fr\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "Compte analytique"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr "Facture"
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/gl.po b/contract_sale_generation/i18n/gl.po
new file mode 100644
index 0000000000..9660225579
--- /dev/null
+++ b/contract_sale_generation/i18n/gl.po
@@ -0,0 +1,82 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# OCA Transbot , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: OCA Transbot , 2017\n"
+"Language-Team: Galician (https://www.transifex.com/oca/teams/23907/gl/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: gl\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "Conta analítica"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/hi_IN.po b/contract_sale_generation/i18n/hi_IN.po
new file mode 100644
index 0000000000..35482d9cd8
--- /dev/null
+++ b/contract_sale_generation/i18n/hi_IN.po
@@ -0,0 +1,82 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# Ashish Deshmukh , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: Ashish Deshmukh , 2017\n"
+"Language-Team: Hindi (India) (https://www.transifex.com/oca/teams/23907/hi_IN/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: hi_IN\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "विश्लेषणात्मक खाता"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr "चालान"
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/hr.po b/contract_sale_generation/i18n/hr.po
new file mode 100644
index 0000000000..3e8eb6ea70
--- /dev/null
+++ b/contract_sale_generation/i18n/hr.po
@@ -0,0 +1,83 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# OCA Transbot , 2017
+# Bole , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: Bole , 2017\n"
+"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: hr\n"
+"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "Analitički konto"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr "Račun"
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/hr_HR.po b/contract_sale_generation/i18n/hr_HR.po
new file mode 100644
index 0000000000..546c49b6b6
--- /dev/null
+++ b/contract_sale_generation/i18n/hr_HR.po
@@ -0,0 +1,83 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# OCA Transbot , 2017
+# Bole , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: Bole , 2017\n"
+"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/hr_HR/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: hr_HR\n"
+"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "Konto analitike"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr "Račun"
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr "Prvo morate odabrati partnera za Ugovor %s!"
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr "account.analytic.contract"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/hu.po b/contract_sale_generation/i18n/hu.po
new file mode 100644
index 0000000000..200e61bf77
--- /dev/null
+++ b/contract_sale_generation/i18n/hu.po
@@ -0,0 +1,82 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# OCA Transbot , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: OCA Transbot , 2017\n"
+"Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/hu/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: hu\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "Analitikus gyűjtőkód könyvelés"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/it.po b/contract_sale_generation/i18n/it.po
new file mode 100644
index 0000000000..1dcba478a7
--- /dev/null
+++ b/contract_sale_generation/i18n/it.po
@@ -0,0 +1,83 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# OCA Transbot , 2017
+# Lorenzo Battistini , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: Lorenzo Battistini , 2017\n"
+"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: it\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "Conto Analitico"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr "Fattura"
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr "Bisogna prima selezionare un cliente per il contratto %s!"
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/nl.po b/contract_sale_generation/i18n/nl.po
new file mode 100644
index 0000000000..07038d88c3
--- /dev/null
+++ b/contract_sale_generation/i18n/nl.po
@@ -0,0 +1,83 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# OCA Transbot , 2017
+# Erwin van der Ploeg , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: Erwin van der Ploeg , 2017\n"
+"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: nl\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "Kostenplaats"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr "Factuur"
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr " Er moet eerst een klant worden ingesteld op contract %s!"
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/nl_NL.po b/contract_sale_generation/i18n/nl_NL.po
new file mode 100644
index 0000000000..9089b5aa49
--- /dev/null
+++ b/contract_sale_generation/i18n/nl_NL.po
@@ -0,0 +1,82 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# Peter Hageman , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: Peter Hageman , 2017\n"
+"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/nl_NL/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: nl_NL\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr "Factuur"
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/pt.po b/contract_sale_generation/i18n/pt.po
new file mode 100644
index 0000000000..c03479e1da
--- /dev/null
+++ b/contract_sale_generation/i18n/pt.po
@@ -0,0 +1,83 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# OCA Transbot , 2017
+# Pedro Castro Silva , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: Pedro Castro Silva , 2017\n"
+"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: pt\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "Conta Analítica"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr "Fatura"
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr "Deve primeiro selecionar um Cliente para o Contrato %s!"
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr "account.analytic.contract"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/pt_BR.po b/contract_sale_generation/i18n/pt_BR.po
new file mode 100644
index 0000000000..c5680cf8c1
--- /dev/null
+++ b/contract_sale_generation/i18n/pt_BR.po
@@ -0,0 +1,83 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# OCA Transbot , 2017
+# Albert Vonpupp , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: Albert Vonpupp , 2017\n"
+"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: pt_BR\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "Conta Analítica"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr "Fatura"
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr "Primeiro você deve selecionar um Cliente para o contrato %s!"
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/pt_PT.po b/contract_sale_generation/i18n/pt_PT.po
new file mode 100644
index 0000000000..e0c51fab9c
--- /dev/null
+++ b/contract_sale_generation/i18n/pt_PT.po
@@ -0,0 +1,82 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# OCA Transbot , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: OCA Transbot , 2017\n"
+"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/teams/23907/pt_PT/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: pt_PT\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "Conta Analítica"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/ro.po b/contract_sale_generation/i18n/ro.po
new file mode 100644
index 0000000000..405b9b2493
--- /dev/null
+++ b/contract_sale_generation/i18n/ro.po
@@ -0,0 +1,82 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# OCA Transbot , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: OCA Transbot , 2017\n"
+"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: ro\n"
+"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "Cont analitic"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/ru.po b/contract_sale_generation/i18n/ru.po
new file mode 100644
index 0000000000..8fbceae0e9
--- /dev/null
+++ b/contract_sale_generation/i18n/ru.po
@@ -0,0 +1,82 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# Мед Ведь , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: Мед Ведь , 2017\n"
+"Language-Team: Russian (https://www.transifex.com/oca/teams/23907/ru/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: ru\n"
+"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr "Счёт-фактура"
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/sk_SK.po b/contract_sale_generation/i18n/sk_SK.po
new file mode 100644
index 0000000000..81dd47d792
--- /dev/null
+++ b/contract_sale_generation/i18n/sk_SK.po
@@ -0,0 +1,82 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# OCA Transbot , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: OCA Transbot , 2017\n"
+"Language-Team: Slovak (Slovakia) (https://www.transifex.com/oca/teams/23907/sk_SK/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: sk_SK\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "Analytický účet"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/sl.po b/contract_sale_generation/i18n/sl.po
new file mode 100644
index 0000000000..0ef32c203e
--- /dev/null
+++ b/contract_sale_generation/i18n/sl.po
@@ -0,0 +1,82 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# OCA Transbot , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: OCA Transbot , 2017\n"
+"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: sl\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "Analitični konto"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/tr.po b/contract_sale_generation/i18n/tr.po
new file mode 100644
index 0000000000..8e5e27449f
--- /dev/null
+++ b/contract_sale_generation/i18n/tr.po
@@ -0,0 +1,82 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# Ediz Duman , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: Ediz Duman , 2017\n"
+"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: tr\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "Analitik Hesap"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr "Fatura"
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr "Önce Sözleşme %s için bir Müşteri seçmelisiniz!"
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/tr_TR.po b/contract_sale_generation/i18n/tr_TR.po
new file mode 100644
index 0000000000..01b27478b6
--- /dev/null
+++ b/contract_sale_generation/i18n/tr_TR.po
@@ -0,0 +1,82 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# Ediz Duman , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: Ediz Duman , 2017\n"
+"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/tr_TR/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: tr_TR\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "Analitik Hesap"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr "Fatura"
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr "Önce bir Müşteri Sözleşmesi seçmelisiniz %s!"
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/i18n/zh_CN.po b/contract_sale_generation/i18n/zh_CN.po
new file mode 100644
index 0000000000..89e47a6315
--- /dev/null
+++ b/contract_sale_generation/i18n/zh_CN.po
@@ -0,0 +1,82 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * contract_sale_generation
+#
+# Translators:
+# OCA Transbot , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-11-30 01:41+0000\n"
+"PO-Revision-Date: 2017-11-30 01:41+0000\n"
+"Last-Translator: OCA Transbot , 2017\n"
+"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/zh_CN/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: zh_CN\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_account
+msgid "Analytic Account"
+msgstr "核算科目"
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "Create sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Invoice"
+msgstr ""
+
+#. module: contract_sale_generation
+#: selection:account.analytic.account,type:0
+#: selection:account.analytic.contract,type:0
+msgid "Sale"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_sale_autoconfirm
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_sale_autoconfirm
+msgid "Sale autoconfirm"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.actions.act_window,name:contract_sale_generation.act_recurring_sales
+msgid "Sales"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_account_type
+#: model:ir.model.fields,field_description:contract_sale_generation.field_account_analytic_contract_type
+msgid "Type"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:53
+#, python-format
+msgid "You must first select a Customer for Contract %s!"
+msgstr ""
+
+#. module: contract_sale_generation
+#: code:addons/contract_sale_generation/models/account_analytic_account.py:102
+#, python-format
+msgid ""
+"You must review start and end dates!\n"
+"%s"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.model,name:contract_sale_generation.model_account_analytic_contract
+msgid "account.analytic.contract"
+msgstr ""
+
+#. module: contract_sale_generation
+#: model:ir.ui.view,arch_db:contract_sale_generation.account_analytic_account_recurring_sale_form
+msgid "⇒ Show recurring sales"
+msgstr ""
diff --git a/contract_sale_generation/models/account_analytic_account.py b/contract_sale_generation/models/account_analytic_account.py
index b29b4afd0c..1079d3b8e9 100644
--- a/contract_sale_generation/models/account_analytic_account.py
+++ b/contract_sale_generation/models/account_analytic_account.py
@@ -8,7 +8,7 @@
# Copyright 2017 Angel Moya
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-from odoo import api, models
+from odoo import api, models, fields
from odoo.exceptions import ValidationError
from odoo.tools.translate import _
@@ -70,6 +70,12 @@ def _create_invoice(self):
if self.type == 'invoice':
return super(AccountAnalyticAccount, self)._create_invoice()
else:
+ return self.env['account.invoice']
+
+ @api.multi
+ def _create_sale(self):
+ self.ensure_one()
+ if self.type == 'sale':
sale_vals = self._prepare_sale()
sale = self.env['sale.order'].create(sale_vals)
for line in self.recurring_invoice_line_ids:
@@ -78,3 +84,48 @@ def _create_invoice(self):
if self.sale_autoconfirm:
sale.action_confirm()
return sale
+ else:
+ return self.env['sale.order']
+
+ @api.multi
+ def recurring_create_sale(self):
+ """
+ Create sales from contracts
+ :return: sales created
+ """
+ sales = self.env['sale.order']
+ for contract in self:
+ ref_date = contract.recurring_next_date or fields.Date.today()
+ if (contract.date_start > ref_date or
+ contract.date_end and contract.date_end < ref_date):
+ raise ValidationError(
+ _("You must review start and end dates!\n%s") %
+ contract.name)
+ old_date = fields.Date.from_string(ref_date)
+ new_date = old_date + self.get_relative_delta(
+ contract.recurring_rule_type, contract.recurring_interval)
+ ctx = self.env.context.copy()
+ ctx.update({
+ 'old_date': old_date,
+ 'next_date': new_date,
+ # Force company for correct evaluate domain access rules
+ 'force_company': contract.company_id.id,
+ })
+ # Re-read contract with correct company
+ sales |= contract.with_context(ctx)._create_sale()
+ contract.write({
+ 'recurring_next_date': new_date.strftime('%Y-%m-%d')
+ })
+ return sales
+
+ @api.model
+ def cron_recurring_create_sale(self):
+ today = fields.Date.today()
+ contracts = self.search([
+ ('recurring_invoices', '=', True),
+ ('recurring_next_date', '<=', today),
+ '|',
+ ('date_end', '=', False),
+ ('date_end', '>=', today),
+ ])
+ return contracts.recurring_create_sale()
diff --git a/contract_sale_generation/tests/test_contract_sale.py b/contract_sale_generation/tests/test_contract_sale.py
index 02aacac5c1..88c7e6d30d 100644
--- a/contract_sale_generation/tests/test_contract_sale.py
+++ b/contract_sale_generation/tests/test_contract_sale.py
@@ -60,10 +60,10 @@ def test_contract(self):
self.contract.partner_id = False
with self.assertRaises(ValidationError):
- self.contract.recurring_create_invoice()
+ self.contract.recurring_create_sale()
self.contract.partner_id = self.partner.id
- self.contract.recurring_create_invoice()
+ self.contract.recurring_create_sale()
self.sale_monthly = self.env['sale.order'].search(
[('project_id', '=', self.contract.id),
('state', '=', 'draft')])
@@ -84,10 +84,10 @@ def test_contract_autoconfirm(self):
self.contract.partner_id = False
with self.assertRaises(ValidationError):
- self.contract.recurring_create_invoice()
+ self.contract.recurring_create_sale()
self.contract.partner_id = self.partner.id
- self.contract.recurring_create_invoice()
+ self.contract.recurring_create_sale()
self.sale_monthly = self.env['sale.order'].search(
[('project_id', '=', self.contract.id),
('state', '=', 'sale')])