diff --git a/oca_dependencies.txt b/oca_dependencies.txt index 731715c8d..46e37b47e 100644 --- a/oca_dependencies.txt +++ b/oca_dependencies.txt @@ -1,6 +1,7 @@ account-analytic connector product-attribute +sale-workflow server-env server-ux web diff --git a/sale_automatic_workflow_reserve_sale_stock/README.rst b/sale_automatic_workflow_reserve_sale_stock/README.rst new file mode 100644 index 000000000..0467e8c70 --- /dev/null +++ b/sale_automatic_workflow_reserve_sale_stock/README.rst @@ -0,0 +1,104 @@ +=========================================== +Sale Automatic Workflow: Reserve Sale stock +=========================================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github + :target: https://github.com/OCA/sale-workflow/tree/13.0/sale_automatic_workflow_stock_reserve + :alt: OCA/sale-workflow +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/sale-workflow-13-0/sale-workflow-13-0-sale_automatic_workflow_stock_reserve + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/167/13.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module extends Automatic Workflows to allow make Automatic Reserves at Sale Orders. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +#. Go to *Sales > Configuration > Automatic Workflow*. +#. Create or select one. +#. Make sure that **Validate Order** is not selected and **Stock Reservation** is selected. +#. Save changes. + +Usage +===== + +#. Create a new Quotation. +#. Fill the lines with some **Storable products**. +#. Go to *Automation Information*. +#. Set the **Automatic Workflow** created previously. +#. Save the Quotation. +#. Wait since the cron is executed. + +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 smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* FactorLibre +* Tecnativa + +Contributors +~~~~~~~~~~~~ + +* Hugo Santos + +* `Tecnativa `_: + + * Carlos Roca + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +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. + +.. |maintainer-CarlosRoca13| image:: https://github.com/CarlosRoca13.png?size=40px + :target: https://github.com/CarlosRoca13 + :alt: CarlosRoca13 + +Current `maintainer `__: + +|maintainer-CarlosRoca13| + +This module is part of the `OCA/sale-workflow `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/sale_automatic_workflow_reserve_sale_stock/__init__.py b/sale_automatic_workflow_reserve_sale_stock/__init__.py new file mode 100644 index 000000000..0650744f6 --- /dev/null +++ b/sale_automatic_workflow_reserve_sale_stock/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/sale_automatic_workflow_reserve_sale_stock/__manifest__.py b/sale_automatic_workflow_reserve_sale_stock/__manifest__.py new file mode 100644 index 000000000..f5b31b515 --- /dev/null +++ b/sale_automatic_workflow_reserve_sale_stock/__manifest__.py @@ -0,0 +1,15 @@ +# Copyright 2016 FactorLibre - Hugo Santos +# Copyright 2021 Tecnativa - Carlos Roca +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +{ + "name": "Sale Automatic Workflow: Reserve Sale stock", + "version": "13.0.1.0.0", + "category": "Sales Management", + "license": "AGPL-3", + "author": "FactorLibre, Tecnativa, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/sale-workflow", + "depends": ["sale_automatic_workflow", "stock_reserve_sale"], + "data": ["views/sale_workflow_process_view.xml"], + "maintainers": ["CarlosRoca13"], + "installable": True, +} diff --git a/sale_automatic_workflow_reserve_sale_stock/i18n/es.po b/sale_automatic_workflow_reserve_sale_stock/i18n/es.po new file mode 100644 index 000000000..4dbd0a029 --- /dev/null +++ b/sale_automatic_workflow_reserve_sale_stock/i18n/es.po @@ -0,0 +1,71 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_automatic_workflow_stock_reserve +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-08-06 10:28+0000\n" +"PO-Revision-Date: 2021-08-06 12:36+0200\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.4.3\n" +"Last-Translator: \n" +"Language: es\n" + +#. module: sale_automatic_workflow_stock_reserve +#: model:ir.model.fields,help:sale_automatic_workflow_stock_reserve.field_sale_workflow_process__stock_reservation +msgid "Allows to make stock reservations before the confirm the sale quotation" +msgstr "Permite hacer reservas de stock antes de confirmar el presupuesto" + +#. module: sale_automatic_workflow_stock_reserve +#: model:ir.model.fields,help:sale_automatic_workflow_stock_reserve.field_sale_workflow_process__stock_reservation_validity +msgid "" +"Make a stock reservation for this number of days. When this number of days " +"pass the stock reservation is released" +msgstr "" +"Realiza una reserva de stock para esta cantidad de días. Cuando este número " +"de días se supera la reserva va a ser liberada" + +#. module: sale_automatic_workflow_stock_reserve +#: model_terms:ir.ui.view,arch_db:sale_automatic_workflow_stock_reserve.sale_workflow_process_view_form +msgid "Reserve Options" +msgstr "Opciones de reserva" + +#. module: sale_automatic_workflow_stock_reserve +#: model:ir.model,name:sale_automatic_workflow_stock_reserve.model_sale_workflow_process +msgid "Sale Workflow Process" +msgstr "Proceso del flujo de venta" + +#. module: sale_automatic_workflow_stock_reserve +#: model:ir.model,name:sale_automatic_workflow_stock_reserve.model_automatic_workflow_job +msgid "" +"Scheduler that will play automatically the validation of invoices, " +"pickings..." +msgstr "" +"Planificar que va a ser ejecutada automáticamente la validaciín de facturas, " +"movimientos de stock..." + +#. module: sale_automatic_workflow_stock_reserve +#: model:ir.model.fields,field_description:sale_automatic_workflow_stock_reserve.field_sale_workflow_process__stock_reservation +msgid "Stock Reservation" +msgstr "Reserva de stock" + +#. module: sale_automatic_workflow_stock_reserve +#: model:ir.model.fields,field_description:sale_automatic_workflow_stock_reserve.field_sale_workflow_process__stock_reservation_validity +msgid "Stock Reservation Validity (Days)" +msgstr "Validez de la reserva de stock (días)" + +#. module: sale_automatic_workflow_stock_reserve +#: model:ir.model.fields,field_description:sale_automatic_workflow_stock_reserve.field_sale_workflow_process__stock_reservation_location_dest_id +msgid "Stock reservation Location" +msgstr "Localización de la reserva" + +#. module: sale_automatic_workflow_stock_reserve +#: model:ir.model.fields,field_description:sale_automatic_workflow_stock_reserve.field_sale_workflow_process__stock_reservation_location_id +msgid "Stock reservation Source Location" +msgstr "Localización inicial de la reserva" diff --git a/sale_automatic_workflow_reserve_sale_stock/i18n/sale_automatic_workflow_stock_reserve.pot b/sale_automatic_workflow_reserve_sale_stock/i18n/sale_automatic_workflow_stock_reserve.pot new file mode 100644 index 000000000..09813c5c7 --- /dev/null +++ b/sale_automatic_workflow_reserve_sale_stock/i18n/sale_automatic_workflow_stock_reserve.pot @@ -0,0 +1,66 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_automatic_workflow_stock_reserve +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-08-06 10:28+0000\n" +"PO-Revision-Date: 2021-08-06 10:28+0000\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: sale_automatic_workflow_stock_reserve +#: model:ir.model.fields,help:sale_automatic_workflow_stock_reserve.field_sale_workflow_process__stock_reservation +msgid "" +"Allows to make stock reservations before the confirm the sale quotation" +msgstr "" + +#. module: sale_automatic_workflow_stock_reserve +#: model:ir.model.fields,help:sale_automatic_workflow_stock_reserve.field_sale_workflow_process__stock_reservation_validity +msgid "" +"Make a stock reservation for this number of days. When this number of days " +"pass the stock reservation is released" +msgstr "" + +#. module: sale_automatic_workflow_stock_reserve +#: model_terms:ir.ui.view,arch_db:sale_automatic_workflow_stock_reserve.sale_workflow_process_view_form +msgid "Reserve Options" +msgstr "" + +#. module: sale_automatic_workflow_stock_reserve +#: model:ir.model,name:sale_automatic_workflow_stock_reserve.model_sale_workflow_process +msgid "Sale Workflow Process" +msgstr "" + +#. module: sale_automatic_workflow_stock_reserve +#: model:ir.model,name:sale_automatic_workflow_stock_reserve.model_automatic_workflow_job +msgid "" +"Scheduler that will play automatically the validation of invoices, " +"pickings..." +msgstr "" + +#. module: sale_automatic_workflow_stock_reserve +#: model:ir.model.fields,field_description:sale_automatic_workflow_stock_reserve.field_sale_workflow_process__stock_reservation +msgid "Stock Reservation" +msgstr "" + +#. module: sale_automatic_workflow_stock_reserve +#: model:ir.model.fields,field_description:sale_automatic_workflow_stock_reserve.field_sale_workflow_process__stock_reservation_validity +msgid "Stock Reservation Validity (Days)" +msgstr "" + +#. module: sale_automatic_workflow_stock_reserve +#: model:ir.model.fields,field_description:sale_automatic_workflow_stock_reserve.field_sale_workflow_process__stock_reservation_location_dest_id +msgid "Stock reservation Location" +msgstr "" + +#. module: sale_automatic_workflow_stock_reserve +#: model:ir.model.fields,field_description:sale_automatic_workflow_stock_reserve.field_sale_workflow_process__stock_reservation_location_id +msgid "Stock reservation Source Location" +msgstr "" diff --git a/sale_automatic_workflow_reserve_sale_stock/models/__init__.py b/sale_automatic_workflow_reserve_sale_stock/models/__init__.py new file mode 100644 index 000000000..fdcba65b2 --- /dev/null +++ b/sale_automatic_workflow_reserve_sale_stock/models/__init__.py @@ -0,0 +1,2 @@ +from . import automatic_workflow_job +from . import sale_workflow_process diff --git a/sale_automatic_workflow_reserve_sale_stock/models/automatic_workflow_job.py b/sale_automatic_workflow_reserve_sale_stock/models/automatic_workflow_job.py new file mode 100644 index 000000000..4a45e9939 --- /dev/null +++ b/sale_automatic_workflow_reserve_sale_stock/models/automatic_workflow_job.py @@ -0,0 +1,77 @@ +# Copyright 2016 FactorLibre - Hugo Santos +# Copyright 2021 Tecnativa - Carlos Roca +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +import logging +from datetime import datetime, timedelta + +from odoo import api, models + +from odoo.addons.sale_automatic_workflow.models.automatic_workflow_job import savepoint + +_logger = logging.getLogger(__name__) + + +class AutomaticWorkflowJob(models.Model): + _inherit = "automatic.workflow.job" + + @api.model + def _get_domain_for_stock_reservation(self): + return [ + ("state", "=", "draft"), + ("is_stock_reservable", "=", True), + ("has_stock_reservation", "=", False), + ("workflow_process_id.validate_order", "=", False), + ("workflow_process_id.stock_reservation", "=", True), + ("workflow_process_id.stock_reservation_validity", ">=", 0), + ] + + @api.model + def _make_stock_reservation(self): + sales = self.env["sale.order"].search(self._get_domain_for_stock_reservation()) + _logger.debug("Sales orders for which stock will be reserved: %s" % sales) + today = datetime.now() + for sale in sales: + workflow_process = sale.workflow_process_id + # Check that the date_order is set at least at n days + # declared at workflow_process. Doing this, we are sure + # that the reservation.validity_date will be at least + # at today. If this wasn't like that, the cron of stock_reserve + # will release this reservation. + plus_days = timedelta(days=workflow_process.stock_reservation_validity) + min_date_order = today - plus_days + if sale.date_order <= min_date_order: + continue + ctx = dict(self.env.context) + ctx.update( + { + "active_model": "sale.order", + "active_id": sale.id, + "active_ids": sale.ids, + } + ) + with savepoint(self.env.cr): + reservation_vals = {} + if workflow_process.stock_reservation_validity: + reserve_until = today + plus_days + reservation_vals["date_validity"] = reserve_until + if workflow_process.stock_reservation_location_id: + reservation_vals[ + "location_id" + ] = workflow_process.stock_reservation_location_id.id + if workflow_process.stock_reservation_location_dest_id: + reservation_vals[ + "location_dest_id" + ] = workflow_process.stock_reservation_location_dest_id.id + sale_stock_reserve = ( + self.env["sale.stock.reserve"] + .with_context(ctx) + .create(reservation_vals) + ) + line_ids = [line.id for line in sale.order_line] + sale_stock_reserve.stock_reserve(line_ids) + + @api.model + def run(self): + res = super().run() + self._make_stock_reservation() + return res diff --git a/sale_automatic_workflow_reserve_sale_stock/models/sale_workflow_process.py b/sale_automatic_workflow_reserve_sale_stock/models/sale_workflow_process.py new file mode 100644 index 000000000..d68fc6a60 --- /dev/null +++ b/sale_automatic_workflow_reserve_sale_stock/models/sale_workflow_process.py @@ -0,0 +1,24 @@ +# Copyright 2016 FactorLibre - Hugo Santos +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from odoo import fields, models + + +class SaleWorkflowProcess(models.Model): + _inherit = "sale.workflow.process" + + stock_reservation = fields.Boolean( + string="Stock Reservation", + help="Allows to make stock reservations before the confirm the sale quotation", + ) + stock_reservation_validity = fields.Integer( + string="Stock Reservation Validity (Days)", + help="Make a stock reservation for this number of days. " + "When this number of days pass the stock reservation is released", + default=5, + ) + stock_reservation_location_id = fields.Many2one( + comodel_name="stock.location", string="Stock reservation Source Location" + ) + stock_reservation_location_dest_id = fields.Many2one( + comodel_name="stock.location", string="Stock reservation Location" + ) diff --git a/sale_automatic_workflow_reserve_sale_stock/readme/CONFIGURE.rst b/sale_automatic_workflow_reserve_sale_stock/readme/CONFIGURE.rst new file mode 100644 index 000000000..2fee1d698 --- /dev/null +++ b/sale_automatic_workflow_reserve_sale_stock/readme/CONFIGURE.rst @@ -0,0 +1,4 @@ +#. Go to *Sales > Configuration > Automatic Workflow*. +#. Create or select one. +#. Make sure that **Validate Order** is not selected and **Stock Reservation** is selected. +#. Save changes. diff --git a/sale_automatic_workflow_reserve_sale_stock/readme/CONTRIBUTORS.rst b/sale_automatic_workflow_reserve_sale_stock/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..46003ad8d --- /dev/null +++ b/sale_automatic_workflow_reserve_sale_stock/readme/CONTRIBUTORS.rst @@ -0,0 +1,5 @@ +* Hugo Santos + +* `Tecnativa `_: + + * Carlos Roca diff --git a/sale_automatic_workflow_reserve_sale_stock/readme/DESCRIPTION.rst b/sale_automatic_workflow_reserve_sale_stock/readme/DESCRIPTION.rst new file mode 100644 index 000000000..35a341cc3 --- /dev/null +++ b/sale_automatic_workflow_reserve_sale_stock/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module extends Automatic Workflows to allow make Automatic Reserves at Sale Orders. diff --git a/sale_automatic_workflow_reserve_sale_stock/readme/USAGE.rst b/sale_automatic_workflow_reserve_sale_stock/readme/USAGE.rst new file mode 100644 index 000000000..a1626b16b --- /dev/null +++ b/sale_automatic_workflow_reserve_sale_stock/readme/USAGE.rst @@ -0,0 +1,6 @@ +#. Create a new Quotation. +#. Fill the lines with some **Storable products**. +#. Go to *Automation Information*. +#. Set the **Automatic Workflow** created previously. +#. Save the Quotation. +#. Wait since the cron is executed. diff --git a/sale_automatic_workflow_reserve_sale_stock/static/description/index.html b/sale_automatic_workflow_reserve_sale_stock/static/description/index.html new file mode 100644 index 000000000..d06fb37c2 --- /dev/null +++ b/sale_automatic_workflow_reserve_sale_stock/static/description/index.html @@ -0,0 +1,452 @@ + + + + + + +Sale Automatic Workflow: Reserve Sale stock + + + +
+

Sale Automatic Workflow: Reserve Sale stock

+ + +

Beta License: AGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runbot

+

This module extends Automatic Workflows to allow make Automatic Reserves at Sale Orders.

+

Table of contents

+ +
+

Configuration

+
    +
  1. Go to Sales > Configuration > Automatic Workflow.
  2. +
  3. Create or select one.
  4. +
  5. Make sure that Validate Order is not selected and Stock Reservation is selected.
  6. +
  7. Save changes.
  8. +
+
+
+

Usage

+
    +
  1. Create a new Quotation.
  2. +
  3. Fill the lines with some Storable products.
  4. +
  5. Go to Automation Information.
  6. +
  7. Set the Automatic Workflow created previously.
  8. +
  9. Save the Quotation.
  10. +
  11. Wait since the cron is executed.
  12. +
+
+
+

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 smashing it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • FactorLibre
  • +
  • Tecnativa
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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.

+

Current maintainer:

+

CarlosRoca13

+

This module is part of the OCA/sale-workflow project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/sale_automatic_workflow_reserve_sale_stock/tests/__init__.py b/sale_automatic_workflow_reserve_sale_stock/tests/__init__.py new file mode 100644 index 000000000..162e41c3a --- /dev/null +++ b/sale_automatic_workflow_reserve_sale_stock/tests/__init__.py @@ -0,0 +1 @@ +from . import test_sale_automatic_workflow_stock_reserve diff --git a/sale_automatic_workflow_reserve_sale_stock/tests/test_sale_automatic_workflow_stock_reserve.py b/sale_automatic_workflow_reserve_sale_stock/tests/test_sale_automatic_workflow_stock_reserve.py new file mode 100644 index 000000000..72624528e --- /dev/null +++ b/sale_automatic_workflow_reserve_sale_stock/tests/test_sale_automatic_workflow_stock_reserve.py @@ -0,0 +1,38 @@ +# Copyright 2016 FactorLibre - Hugo Santos +# Copyright 2021 Tecnativa - Carlos Roca +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from odoo.addons.sale_automatic_workflow.tests.common import ( + TestAutomaticWorkflowMixin, + TestCommon, +) + + +class TestAutomaticWorkflowStockReservation(TestAutomaticWorkflowMixin, TestCommon): + def test_workflow_stock_reservation(self): + workflow = self.create_full_automatic( + override={ + "name": "Workflow Automatic Reservation", + "validate_order": False, + "create_invoice": False, + "stock_reservation": True, + "stock_reservation_validity": 5, + } + ) + sale = self.create_sale_order(workflow) + sale._onchange_workflow_process_id() + self.assertEqual(sale.state, "draft") + self.assertEqual(sale.is_stock_reservable, True) + self.assertEqual(sale.has_stock_reservation, False) + self.run_job() + self.assertEqual(sale.has_stock_reservation, True) + + def test_workflow_automatic_no_reservation(self): + workflow = self.create_full_automatic() + sale = self.create_sale_order(workflow) + sale._onchange_workflow_process_id() + self.assertEqual(sale.state, "draft") + self.assertEqual(sale.is_stock_reservable, True) + self.assertEqual(sale.has_stock_reservation, False) + self.run_job() + self.assertEqual(sale.state, "sale") + self.assertEqual(sale.has_stock_reservation, False) diff --git a/sale_automatic_workflow_reserve_sale_stock/views/sale_workflow_process_view.xml b/sale_automatic_workflow_reserve_sale_stock/views/sale_workflow_process_view.xml new file mode 100644 index 000000000..aec6bfbd4 --- /dev/null +++ b/sale_automatic_workflow_reserve_sale_stock/views/sale_workflow_process_view.xml @@ -0,0 +1,23 @@ + + + + + sale.workflow.process.stock.reserve + sale.workflow.process + + + + + + + + + + + + + + diff --git a/setup/sale_automatic_workflow_reserve_sale_stock/odoo/addons/sale_automatic_workflow_reserve_sale_stock b/setup/sale_automatic_workflow_reserve_sale_stock/odoo/addons/sale_automatic_workflow_reserve_sale_stock new file mode 120000 index 000000000..46dafff27 --- /dev/null +++ b/setup/sale_automatic_workflow_reserve_sale_stock/odoo/addons/sale_automatic_workflow_reserve_sale_stock @@ -0,0 +1 @@ +../../../../sale_automatic_workflow_reserve_sale_stock \ No newline at end of file diff --git a/setup/sale_automatic_workflow_reserve_sale_stock/setup.py b/setup/sale_automatic_workflow_reserve_sale_stock/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/sale_automatic_workflow_reserve_sale_stock/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)