diff --git a/contract_recurring_analytic_distribution/README.rst b/contract_recurring_analytic_distribution/README.rst new file mode 100644 index 00000000..5ea404e3 --- /dev/null +++ b/contract_recurring_analytic_distribution/README.rst @@ -0,0 +1,60 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +============================================== +Analytic plans for contract recurring invoices +============================================== + +This module allows to include an analytic distribution on each recurring +invoice line, so if you set it, this will be taken to be transferred to the +invoice instead of the analytic account of the contract. + +Usage +===== + +On the contract view, select or create an analytic distribution for the +invoice recurring lines that you want. + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/110/9.0 + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been +reported. If you spotted it first, help us smash it by providing detailed and +welcomed feedback. + +Credits +======= + +Contributors +------------ + +* Pedro M. Baeza +* Vicent Cubells + +Icon +---- + +* https://openclipart.org/detail/125071/pie-graph +* Subicon made by `Freepik _ from + www.flaticon.com + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +To contribute to this module, please visit https://odoo-community.org. diff --git a/contract_recurring_analytic_distribution/__init__.py b/contract_recurring_analytic_distribution/__init__.py new file mode 100644 index 00000000..6af6a042 --- /dev/null +++ b/contract_recurring_analytic_distribution/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# Copyright 2015 Tecnativa - Pedro M. Baeza +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +from . import models diff --git a/contract_recurring_analytic_distribution/__openerp__.py b/contract_recurring_analytic_distribution/__openerp__.py new file mode 100644 index 00000000..df9e40f7 --- /dev/null +++ b/contract_recurring_analytic_distribution/__openerp__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +# Copyright 2015 Tecnativa - Pedro M. Baeza +# Copyright 2017 Tecnativa - Vicent Cubells +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +{ + 'name': 'Analytic plans on contracts recurring invoices', + 'version': '9.0.1.0.0', + 'category': 'Contract Management', + 'author': 'Tecnativa, ' + 'Odoo Community Association (OCA)', + 'website': 'http://www.tecnativa.com', + 'license': 'AGPL-3', + 'depends': [ + 'account_analytic_distribution', + 'contract', + ], + 'data': [ + 'views/account_analytic_invoice_line_view.xml', + ], + 'installable': True, +} diff --git a/contract_recurring_analytic_distribution/i18n/ca.po b/contract_recurring_analytic_distribution/i18n/ca.po new file mode 100644 index 00000000..2efebf77 --- /dev/null +++ b/contract_recurring_analytic_distribution/i18n/ca.po @@ -0,0 +1,28 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_recurring_analytic_distribution +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: contract (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-20 18:39+0000\n" +"PO-Revision-Date: 2015-11-29 23:23+0000\n" +"Last-Translator: <>\n" +"Language-Team: Catalan (http://www.transifex.com/oca/OCA-contract-8-0/language/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_recurring_analytic_distribution +#: model:ir.model,name:contract_recurring_analytic_distribution.model_account_analytic_account +msgid "Analytic Account" +msgstr "Compte analític" + +#. module: contract_recurring_analytic_distribution +#: field:account.analytic.invoice.line,analytics_id:0 +msgid "Analytic Distribution" +msgstr "" diff --git a/contract_recurring_analytic_distribution/i18n/de.po b/contract_recurring_analytic_distribution/i18n/de.po new file mode 100644 index 00000000..494851a2 --- /dev/null +++ b/contract_recurring_analytic_distribution/i18n/de.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_recurring_analytic_distribution +# +# Translators: +# Rudolf Schnapka , 2016 +msgid "" +msgstr "" +"Project-Id-Version: contract (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-12-08 08:38+0000\n" +"PO-Revision-Date: 2016-01-14 14:23+0000\n" +"Last-Translator: Rudolf Schnapka \n" +"Language-Team: German (http://www.transifex.com/oca/OCA-contract-8-0/language/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_recurring_analytic_distribution +#: model:ir.model,name:contract_recurring_analytic_distribution.model_account_analytic_account +msgid "Analytic Account" +msgstr "Kostenstelle" + +#. module: contract_recurring_analytic_distribution +#: field:account.analytic.invoice.line,analytics_id:0 +msgid "Analytic Distribution" +msgstr "Kostenumlage" diff --git a/contract_recurring_analytic_distribution/i18n/el_GR.po b/contract_recurring_analytic_distribution/i18n/el_GR.po new file mode 100644 index 00000000..5598e3fd --- /dev/null +++ b/contract_recurring_analytic_distribution/i18n/el_GR.po @@ -0,0 +1,28 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_recurring_analytic_distribution +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: contract (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-11-07 03:42+0000\n" +"PO-Revision-Date: 2015-11-29 23:23+0000\n" +"Last-Translator: <>\n" +"Language-Team: Greek (Greece) (http://www.transifex.com/oca/OCA-contract-8-0/language/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_recurring_analytic_distribution +#: model:ir.model,name:contract_recurring_analytic_distribution.model_account_analytic_account +msgid "Analytic Account" +msgstr "Αναλυτικός Λογαριασμός" + +#. module: contract_recurring_analytic_distribution +#: field:account.analytic.invoice.line,analytics_id:0 +msgid "Analytic Distribution" +msgstr "" diff --git a/contract_recurring_analytic_distribution/i18n/es.po b/contract_recurring_analytic_distribution/i18n/es.po new file mode 100644 index 00000000..5b39583b --- /dev/null +++ b/contract_recurring_analytic_distribution/i18n/es.po @@ -0,0 +1,28 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_recurring_analytic_distribution +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: contract (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-11-30 01:38+0000\n" +"PO-Revision-Date: 2015-11-29 23:23+0000\n" +"Last-Translator: OCA Transbot \n" +"Language-Team: Spanish (http://www.transifex.com/oca/OCA-contract-8-0/language/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_recurring_analytic_distribution +#: model:ir.model,name:contract_recurring_analytic_distribution.model_account_analytic_account +msgid "Analytic Account" +msgstr "Cuenta analítica" + +#. module: contract_recurring_analytic_distribution +#: field:account.analytic.invoice.line,analytics_id:0 +msgid "Analytic Distribution" +msgstr "Distribución analítica" diff --git a/contract_recurring_analytic_distribution/i18n/es_MX.po b/contract_recurring_analytic_distribution/i18n/es_MX.po new file mode 100644 index 00000000..22e52dea --- /dev/null +++ b/contract_recurring_analytic_distribution/i18n/es_MX.po @@ -0,0 +1,28 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_recurring_analytic_distribution +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: contract (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-03 01:11+0000\n" +"PO-Revision-Date: 2015-11-29 23:23+0000\n" +"Last-Translator: <>\n" +"Language-Team: Spanish (Mexico) (http://www.transifex.com/oca/OCA-contract-8-0/language/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_recurring_analytic_distribution +#: model:ir.model,name:contract_recurring_analytic_distribution.model_account_analytic_account +msgid "Analytic Account" +msgstr "Cuenta analítica" + +#. module: contract_recurring_analytic_distribution +#: field:account.analytic.invoice.line,analytics_id:0 +msgid "Analytic Distribution" +msgstr "" diff --git a/contract_recurring_analytic_distribution/i18n/fi.po b/contract_recurring_analytic_distribution/i18n/fi.po new file mode 100644 index 00000000..39f0dcb0 --- /dev/null +++ b/contract_recurring_analytic_distribution/i18n/fi.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_recurring_analytic_distribution +# +# Translators: +# Jarmo Kortetjärvi , 2016 +msgid "" +msgstr "" +"Project-Id-Version: contract (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-28 11:00+0000\n" +"PO-Revision-Date: 2016-07-08 10:45+0000\n" +"Last-Translator: Jarmo Kortetjärvi \n" +"Language-Team: Finnish (http://www.transifex.com/oca/OCA-contract-8-0/language/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_recurring_analytic_distribution +#: model:ir.model,name:contract_recurring_analytic_distribution.model_account_analytic_account +msgid "Analytic Account" +msgstr "Analyyttinen tili" + +#. module: contract_recurring_analytic_distribution +#: field:account.analytic.invoice.line,analytics_id:0 +msgid "Analytic Distribution" +msgstr "Analyyttinen jakelu" diff --git a/contract_recurring_analytic_distribution/i18n/fr.po b/contract_recurring_analytic_distribution/i18n/fr.po new file mode 100644 index 00000000..abd6b50c --- /dev/null +++ b/contract_recurring_analytic_distribution/i18n/fr.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_recurring_analytic_distribution +# +# Translators: +# Christophe CHAUVET , 2016 +msgid "" +msgstr "" +"Project-Id-Version: contract (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-04-30 10:34+0000\n" +"PO-Revision-Date: 2016-05-19 16:11+0000\n" +"Last-Translator: Christophe CHAUVET \n" +"Language-Team: French (http://www.transifex.com/oca/OCA-contract-8-0/language/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_recurring_analytic_distribution +#: model:ir.model,name:contract_recurring_analytic_distribution.model_account_analytic_account +msgid "Analytic Account" +msgstr "Compte analytique" + +#. module: contract_recurring_analytic_distribution +#: field:account.analytic.invoice.line,analytics_id:0 +msgid "Analytic Distribution" +msgstr "Distribution analytique" diff --git a/contract_recurring_analytic_distribution/i18n/pt_BR.po b/contract_recurring_analytic_distribution/i18n/pt_BR.po new file mode 100644 index 00000000..348d49c4 --- /dev/null +++ b/contract_recurring_analytic_distribution/i18n/pt_BR.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_recurring_analytic_distribution +# +# Translators: +# danimaribeiro , 2016 +msgid "" +msgstr "" +"Project-Id-Version: contract (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-03-08 01:39+0000\n" +"PO-Revision-Date: 2016-03-05 18:19+0000\n" +"Last-Translator: danimaribeiro \n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-contract-8-0/language/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_recurring_analytic_distribution +#: model:ir.model,name:contract_recurring_analytic_distribution.model_account_analytic_account +msgid "Analytic Account" +msgstr "Conta analítica" + +#. module: contract_recurring_analytic_distribution +#: field:account.analytic.invoice.line,analytics_id:0 +msgid "Analytic Distribution" +msgstr "Distribuição analítica" diff --git a/contract_recurring_analytic_distribution/i18n/sk_SK.po b/contract_recurring_analytic_distribution/i18n/sk_SK.po new file mode 100644 index 00000000..f3d63f5c --- /dev/null +++ b/contract_recurring_analytic_distribution/i18n/sk_SK.po @@ -0,0 +1,28 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_recurring_analytic_distribution +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: contract (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-05-21 10:53+0000\n" +"PO-Revision-Date: 2015-11-29 23:23+0000\n" +"Last-Translator: <>\n" +"Language-Team: Slovak (Slovakia) (http://www.transifex.com/oca/OCA-contract-8-0/language/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_recurring_analytic_distribution +#: model:ir.model,name:contract_recurring_analytic_distribution.model_account_analytic_account +msgid "Analytic Account" +msgstr "Analytický účet" + +#. module: contract_recurring_analytic_distribution +#: field:account.analytic.invoice.line,analytics_id:0 +msgid "Analytic Distribution" +msgstr "" diff --git a/contract_recurring_analytic_distribution/i18n/sl.po b/contract_recurring_analytic_distribution/i18n/sl.po new file mode 100644 index 00000000..15d523c2 --- /dev/null +++ b/contract_recurring_analytic_distribution/i18n/sl.po @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * contract_recurring_analytic_distribution +# +# Translators: +# Matjaž Mozetič , 2015 +msgid "" +msgstr "" +"Project-Id-Version: contract (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-11-30 04:18+0000\n" +"PO-Revision-Date: 2015-11-30 07:24+0000\n" +"Last-Translator: Matjaž Mozetič \n" +"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-contract-8-0/language/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_recurring_analytic_distribution +#: model:ir.model,name:contract_recurring_analytic_distribution.model_account_analytic_account +msgid "Analytic Account" +msgstr "Analitični konto" + +#. module: contract_recurring_analytic_distribution +#: field:account.analytic.invoice.line,analytics_id:0 +msgid "Analytic Distribution" +msgstr "Analitična distribucija" diff --git a/contract_recurring_analytic_distribution/models/__init__.py b/contract_recurring_analytic_distribution/models/__init__.py new file mode 100644 index 00000000..4c204bd9 --- /dev/null +++ b/contract_recurring_analytic_distribution/models/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# Copyright 2015 Tecnativa - Pedro M. Baeza +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +from . import account_analytic_invoice_line diff --git a/contract_recurring_analytic_distribution/models/account_analytic_invoice_line.py b/contract_recurring_analytic_distribution/models/account_analytic_invoice_line.py new file mode 100644 index 00000000..13ebe390 --- /dev/null +++ b/contract_recurring_analytic_distribution/models/account_analytic_invoice_line.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Copyright 2015 Tecnativa - Pedro M. Baeza +# Copyright 2017 Tecnativa - Vicent Cubells +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +from openerp import models, fields, api + + +class AccountAnalyticAccount(models.Model): + _inherit = "account.analytic.account" + + @api.model + def _prepare_invoice_line(self, line, invoice_id): + res = super(AccountAnalyticAccount, self)._prepare_invoice_line( + line, invoice_id) + if line.analytic_distribution_id: + res.update({ + 'account_analytic_id': False, + 'analytic_distribution_id': line.analytic_distribution_id.id, + }) + return res + + +class AccountAnalyticInvoiceLine(models.Model): + _inherit = "account.analytic.invoice.line" + + analytic_distribution_id = fields.Many2one( + comodel_name='account.analytic.distribution', + string='Analytic Distribution', oldname='analytics_id', + ) diff --git a/contract_recurring_analytic_distribution/static/description/icon.png b/contract_recurring_analytic_distribution/static/description/icon.png new file mode 100644 index 00000000..0fab733d Binary files /dev/null and b/contract_recurring_analytic_distribution/static/description/icon.png differ diff --git a/contract_recurring_analytic_distribution/static/description/icon.svg b/contract_recurring_analytic_distribution/static/description/icon.svg new file mode 100644 index 00000000..b52aec86 --- /dev/null +++ b/contract_recurring_analytic_distribution/static/description/icon.svg @@ -0,0 +1,463 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + Openclipart + + + Pile of Golden Coins + 2010-04-09T03:27:45 + A pile of hypothetical golden coins, drawn in Inkscape. + https://openclipart.org/detail/43969/pile-of-golden-coins-by-j_alves + + + J_Alves + + + + + coin + currency + gold + money + thaler + + + + + + + + + + + diff --git a/contract_recurring_analytic_distribution/tests/__init__.py b/contract_recurring_analytic_distribution/tests/__init__.py new file mode 100644 index 00000000..55df91fd --- /dev/null +++ b/contract_recurring_analytic_distribution/tests/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# (c) 2015 Serv. Tecnol. Avanzados - Pedro M. Baeza +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +from . import test_contract_recurring_distribution diff --git a/contract_recurring_analytic_distribution/tests/test_contract_recurring_distribution.py b/contract_recurring_analytic_distribution/tests/test_contract_recurring_distribution.py new file mode 100644 index 00000000..d76196fc --- /dev/null +++ b/contract_recurring_analytic_distribution/tests/test_contract_recurring_distribution.py @@ -0,0 +1,69 @@ +# -*- coding: utf-8 -*- +# Copyright 2015 Tecnativa - Pedro M. Baeza +# Copyright 2017 Tecnativa - Vicent Cubells +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +import openerp.tests.common as common + + +class TestContractRecurringDistribution(common.SavepointCase): + @classmethod + def setUpClass(cls): + super(TestContractRecurringDistribution, cls).setUpClass() + cls.partner = cls.env['res.partner'].create({'name': 'Test'}) + cls.product = cls.env['product.product'].create({ + 'name': 'Test product', + }) + cls.account1 = cls.env['account.analytic.account'].create({ + 'name': 'Test account #1', + }) + cls.account2 = cls.env['account.analytic.account'].create({ + 'name': 'Test account #2', + }) + cls.uom = cls.env.ref('product.product_uom_hour') + cls.contract = cls.env['account.analytic.account'].create({ + 'name': 'Test contract', + 'partner_id': cls.partner.id, + 'type': 'contract', + 'recurring_invoices': 1, + 'recurring_interval': 1, + 'recurring_invoice_line_ids': [ + (0, 0, {'quantity': 2.0, + 'price_unit': 100.0, + 'name': 'Test', + 'product_id': cls.product.id, + 'uom_id': cls.uom.id})], + }) + cls.distribution = cls.env['account.analytic.distribution'].create({ + 'name': 'Test distribution', + 'rule_ids': [ + (0, 0, { + 'sequence': 10, + 'percent': 75.00, + 'analytic_account_id': cls.account1.id, + }), + (0, 0, { + 'sequence': 20, + 'percent': 25.00, + 'analytic_account_id': cls.account2.id, + }), + ] + }) + + def test_invoice_without_distribution(self): + self.contract.recurring_create_invoice() + invoice = self.env['account.invoice'].search( + [('partner_id', '=', self.partner.id)]) + self.assertEqual( + invoice.invoice_line_ids[0].account_analytic_id, self.contract) + + def test_invoice_with_distribution(self): + self.contract.recurring_invoice_line_ids.analytic_distribution_id = ( + self.distribution.id) + self.contract.recurring_create_invoice() + invoice = self.env['account.invoice'].search( + [('partner_id', '=', self.partner.id)]) + self.assertFalse(invoice.invoice_line_ids[0].account_analytic_id) + self.assertEqual( + invoice.invoice_line_ids[0].analytic_distribution_id, + self.distribution) diff --git a/contract_recurring_analytic_distribution/views/account_analytic_invoice_line_view.xml b/contract_recurring_analytic_distribution/views/account_analytic_invoice_line_view.xml new file mode 100644 index 00000000..bcc75fd5 --- /dev/null +++ b/contract_recurring_analytic_distribution/views/account_analytic_invoice_line_view.xml @@ -0,0 +1,15 @@ + + + + + Contract form (with plans) + account.analytic.account + + + + + + + + + diff --git a/oca_dependencies.txt b/oca_dependencies.txt index 2435958d..3e754256 100644 --- a/oca_dependencies.txt +++ b/oca_dependencies.txt @@ -14,5 +14,6 @@ # To provide both the URL and a branch, use: # sale-workflow https://github.com/OCA/sale-workflow branchname +account-analytic account-invoicing bank-payment