forked from OCA/contract
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] contract_sale_generation: Isolate sale generation (OCA#118)
Closes OCA#117
- Loading branch information
Showing
29 changed files
with
2,128 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding='UTF-8'?> | ||
<odoo> | ||
|
||
<record model="ir.cron" id="account_analytic_cron_for_sale"> | ||
<field name="name">Generate Recurring sales from Contracts</field> | ||
<field name="interval_number">1</field> | ||
<field name="interval_type">days</field> | ||
<field name="numbercall">-1</field> | ||
<field name="model" eval="'account.analytic.account'"/> | ||
<field name="function" eval="'cron_recurring_create_sale'"/> | ||
<field name="args" eval="'()'"/> | ||
</record> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * contract_sale_generation | ||
# | ||
# Translators: | ||
# OCA Transbot <[email protected]>, 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 <[email protected]>, 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 "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * contract_sale_generation | ||
# | ||
# Translators: | ||
# OCA Transbot <[email protected]>, 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 <[email protected]>, 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 "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * contract_sale_generation | ||
# | ||
# Translators: | ||
# OCA Transbot <[email protected]>, 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 <[email protected]>, 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 "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * contract_sale_generation | ||
# | ||
# Translators: | ||
# OCA Transbot <[email protected]>, 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 <[email protected]>, 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 "" |
Oops, something went wrong.