diff --git a/oca_dependencies.txt b/oca_dependencies.txt new file mode 100644 index 00000000..1fff7bce --- /dev/null +++ b/oca_dependencies.txt @@ -0,0 +1 @@ +queue diff --git a/pos_picking_delayed/README.rst b/pos_picking_delayed/README.rst new file mode 100644 index 00000000..3c197534 --- /dev/null +++ b/pos_picking_delayed/README.rst @@ -0,0 +1,115 @@ +======================================== +Point of Sale - Picking Creation Delayed +======================================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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%2Fpos-lightgray.png?logo=github + :target: https://github.com/OCA/pos/tree/12.0/pos_picking_delayed + :alt: OCA/pos +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_picking_delayed + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/184/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module extends the functionality of odoo Point Of Sale to reduce creation +time of the PoS orders, via the front UI. + +For that purpose, it delays the creation of the picking associated, that will +be created later by queue job. + +This module is interesting specially in a context of Synchroneous Point Of +Sale that is introduced by certification modules like 'l10n_fr_pos_cert' because +in such cases, the bill will be printed only when the pos order is created ( +after the call of the function create_from_ui) and the creation of the picking +is the process that takes the most time. + +See https://github.com/odoo/odoo/pull/26314#issuecomment-422949266 +for more information. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +* Go to 'Point of Sale' / 'Configuration' / 'Point of Sale' +* Select your Point of Sale +* Set the value in the field 'Picking Creation Delayed'. (Checked by default) + +.. image:: https://raw.githubusercontent.com/pos_picking_delayed/static/description/pos_config_form.png + +* This module depends on ``queue_job`` module that requires specific + configuration to works properly. Make sure your config file is correctly set. + See https://github.com/OCA/queue/tree/12.0/queue_job + +Usage +===== + +* Use your Point of Sale as usual. When validating an order, the order will + be in a different color until the job is executed + +.. image:: https://raw.githubusercontent.com/pos_picking_delayed/static/description/pos_order_tree.png + +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 +~~~~~~~ + +* GRAP + +Contributors +~~~~~~~~~~~~ + +* Sylvain LE GAL + +Other credits +~~~~~~~~~~~~~ + +The development of this module has been financially supported by: + +* GRAP, Groupement Régional Alimentaire de Proximité (www.grap.coop) +* Mind & Go, (https://mind-and-go.com/) + +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. + +This module is part of the `OCA/pos `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/pos_picking_delayed/__init__.py b/pos_picking_delayed/__init__.py new file mode 100644 index 00000000..0650744f --- /dev/null +++ b/pos_picking_delayed/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/pos_picking_delayed/__manifest__.py b/pos_picking_delayed/__manifest__.py new file mode 100644 index 00000000..6cd178a8 --- /dev/null +++ b/pos_picking_delayed/__manifest__.py @@ -0,0 +1,25 @@ +# Copyright 2018 - Today Sylvain LE GAL (https://twitter.com/legalsylvain) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + 'name': 'Point of Sale - Picking Creation Delayed', + 'summary': 'Delay the creation of the picking when PoS order is created', + 'version': '12.0.1.0.0', + 'category': 'Point Of Sale', + 'author': 'GRAP, ' + 'Odoo Community Association (OCA)', + 'license': 'AGPL-3', + 'website': 'https://www.github.com/OCA/pos', + 'depends': [ + 'point_of_sale', + 'queue_job', + ], + 'data': [ + 'views/view_pos_config.xml', + 'views/view_pos_order.xml', + ], + 'images': [ + 'static/description/pos_order_tree.png', + ], + 'installable': True, +} diff --git a/pos_picking_delayed/i18n/fr.po b/pos_picking_delayed/i18n/fr.po new file mode 100644 index 00000000..9cefa1af --- /dev/null +++ b/pos_picking_delayed/i18n/fr.po @@ -0,0 +1,57 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pos_picking_delayed +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-10-17 11:06+0000\n" +"PO-Revision-Date: 2018-10-17 11:06+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: pos_picking_delayed +#: model:ir.model.fields,help:pos_picking_delayed.field_pos_config_picking_creation_delayed +msgid "" +"Check this box if you want to delay the creation of the picking created by " +"the PoS orders. If checked, the pickings will be created later, by a cron " +"task." +msgstr "" +"Cochez cette case si vous souhaitez retarder la création des transferts de " +"stock liés au commandes de point de vente. Si la case est cochée, ceux-ci " +"seront créés ultérieurement, par une tâche de fond." + +#. module: pos_picking_delayed +#: model:ir.model.fields,field_description:pos_picking_delayed.field_pos_order_has_picking_delayed +msgid "Has picking delayed" +msgstr "A un transfert de stock retardé" + +#. module: pos_picking_delayed +#: model:ir.model.fields,field_description:pos_picking_delayed.field_pos_config_picking_creation_delayed +msgid "Picking Creation Delayed" +msgstr "Retarder la création des transferts de stock" + +#. module: pos_picking_delayed +#: model:ir.model,name:pos_picking_delayed.model_pos_order +msgid "Point of Sale Orders" +msgstr "Commandes du point de vente" + +#. module: pos_picking_delayed +#: model:ir.model.fields,help:pos_picking_delayed.field_pos_order_has_picking_delayed +msgid "" +"This checkbox is checked if the generation of the picking has been delayed. " +"The picking will be created by cron." +msgstr "" +"Cette case est cochée si la génération du transfert de stock a été retardée. " +"Celui ci sera créé par une tâche de fond." + +#. module: pos_picking_delayed +#: model:ir.model,name:pos_picking_delayed.model_pos_config +msgid "pos.config" +msgstr "pos.config" diff --git a/pos_picking_delayed/i18n/pos_picking_delayed.pot b/pos_picking_delayed/i18n/pos_picking_delayed.pot new file mode 100644 index 00000000..304f5c4b --- /dev/null +++ b/pos_picking_delayed/i18n/pos_picking_delayed.pot @@ -0,0 +1,46 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * pos_picking_delayed +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \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: pos_picking_delayed +#: model:ir.model.fields,help:pos_picking_delayed.field_pos_config__picking_creation_delayed +msgid "Check this box if you want to delay the creation of the picking created by the PoS orders. If checked, the pickings will be created later, by a cron task." +msgstr "" + +#. module: pos_picking_delayed +#: model:ir.model.fields,field_description:pos_picking_delayed.field_pos_order__has_picking_delayed +msgid "Has Picking Delayed" +msgstr "" + +#. module: pos_picking_delayed +#: model:ir.model.fields,field_description:pos_picking_delayed.field_pos_config__picking_creation_delayed +#: model_terms:ir.ui.view,arch_db:pos_picking_delayed.view_pos_config_form +msgid "Picking Creation Delayed" +msgstr "" + +#. module: pos_picking_delayed +#: model:ir.model,name:pos_picking_delayed.model_pos_config +msgid "Point of Sale Configuration" +msgstr "" + +#. module: pos_picking_delayed +#: model:ir.model,name:pos_picking_delayed.model_pos_order +msgid "Point of Sale Orders" +msgstr "" + +#. module: pos_picking_delayed +#: model:ir.model.fields,help:pos_picking_delayed.field_pos_order__has_picking_delayed +msgid "This checkbox is checked if the generation of the picking has been delayed. The picking will be created by cron." +msgstr "" + diff --git a/pos_picking_delayed/models/__init__.py b/pos_picking_delayed/models/__init__.py new file mode 100644 index 00000000..7d540dbf --- /dev/null +++ b/pos_picking_delayed/models/__init__.py @@ -0,0 +1,3 @@ + +from . import pos_config +from . import pos_order diff --git a/pos_picking_delayed/models/pos_config.py b/pos_picking_delayed/models/pos_config.py new file mode 100644 index 00000000..4b7fb06c --- /dev/null +++ b/pos_picking_delayed/models/pos_config.py @@ -0,0 +1,15 @@ +# Copyright 2018 - Today Sylvain LE GAL (https://twitter.com/legalsylvain) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + + +from odoo import fields, models + + +class PosConfig(models.Model): + _inherit = 'pos.config' + + picking_creation_delayed = fields.Boolean( + string='Picking Creation Delayed', default=True, + help="Check this box if you want to delay the creation of the picking" + " created by the PoS orders. If checked, the pickings will" + " be created later, by a cron task.") diff --git a/pos_picking_delayed/models/pos_order.py b/pos_picking_delayed/models/pos_order.py new file mode 100644 index 00000000..83502446 --- /dev/null +++ b/pos_picking_delayed/models/pos_order.py @@ -0,0 +1,49 @@ +# Copyright 2018 - Today Sylvain LE GAL (https://twitter.com/legalsylvain) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import api, fields, models +from odoo.addons.queue_job.job import job + + +class PosOrder(models.Model): + _inherit = 'pos.order' + + has_picking_delayed = fields.Boolean( + default=False, help="This checkbox is checked if the generation of" + " the picking has been delayed. The picking will be created by cron.") + + # Overload Section + @api.model + def create_from_ui(self, orders): + PosSession = self.env['pos.session'] + for order_data in orders: + session_id = order_data.get('data').get('pos_session_id') + session = PosSession.browse(session_id) + order_data['data']['has_picking_delayed'] =\ + session.config_id.picking_creation_delayed + return super(PosOrder, self.with_context( + create_from_ui=True)).create_from_ui(orders) + + def create_picking(self): + if self.env.context.get('create_from_ui', False): + orders = self.filtered(lambda x: not x.has_picking_delayed) + delayed_orders = self.filtered(lambda x: x.has_picking_delayed) + delayed_orders.with_delay()._create_delayed_picking() + else: + orders = self + res = super(PosOrder, orders).create_picking() + orders.write({'has_picking_delayed': False}) + return res + + @api.model + def _order_fields(self, ui_order): + res = super(PosOrder, self)._order_fields(ui_order) + res['has_picking_delayed'] = ui_order['has_picking_delayed'] + return res + + # Custom Section + @api.multi + @job(default_channel='root.pos_picking_delayed') + def _create_delayed_picking(self): + super(PosOrder, self).create_picking() + self.write({'has_picking_delayed': False}) diff --git a/pos_picking_delayed/readme/CONFIGURE.rst b/pos_picking_delayed/readme/CONFIGURE.rst new file mode 100644 index 00000000..6b773fd3 --- /dev/null +++ b/pos_picking_delayed/readme/CONFIGURE.rst @@ -0,0 +1,9 @@ +* Go to 'Point of Sale' / 'Configuration' / 'Point of Sale' +* Select your Point of Sale +* Set the value in the field 'Picking Creation Delayed'. (Checked by default) + +.. image:: /pos_picking_delayed/static/description/pos_config_form.png + +* This module depends on ``queue_job`` module that requires specific + configuration to works properly. Make sure your config file is correctly set. + See https://github.com/OCA/queue/tree/12.0/queue_job diff --git a/pos_picking_delayed/readme/CONTRIBUTORS.rst b/pos_picking_delayed/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000..9f76a75b --- /dev/null +++ b/pos_picking_delayed/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Sylvain LE GAL diff --git a/pos_picking_delayed/readme/CREDITS.rst b/pos_picking_delayed/readme/CREDITS.rst new file mode 100644 index 00000000..0a9ea638 --- /dev/null +++ b/pos_picking_delayed/readme/CREDITS.rst @@ -0,0 +1,4 @@ +The development of this module has been financially supported by: + +* GRAP, Groupement Régional Alimentaire de Proximité (www.grap.coop) +* Mind & Go, (https://mind-and-go.com/) diff --git a/pos_picking_delayed/readme/DESCRIPTION.rst b/pos_picking_delayed/readme/DESCRIPTION.rst new file mode 100644 index 00000000..b793c4ff --- /dev/null +++ b/pos_picking_delayed/readme/DESCRIPTION.rst @@ -0,0 +1,14 @@ +This module extends the functionality of odoo Point Of Sale to reduce creation +time of the PoS orders, via the front UI. + +For that purpose, it delays the creation of the picking associated, that will +be created later by queue job. + +This module is interesting specially in a context of Synchroneous Point Of +Sale that is introduced by certification modules like 'l10n_fr_pos_cert' because +in such cases, the bill will be printed only when the pos order is created ( +after the call of the function create_from_ui) and the creation of the picking +is the process that takes the most time. + +See https://github.com/odoo/odoo/pull/26314#issuecomment-422949266 +for more information. diff --git a/pos_picking_delayed/readme/USAGE.rst b/pos_picking_delayed/readme/USAGE.rst new file mode 100644 index 00000000..00c9f863 --- /dev/null +++ b/pos_picking_delayed/readme/USAGE.rst @@ -0,0 +1,4 @@ +* Use your Point of Sale as usual. When validating an order, the order will + be in a different color until the job is executed + +.. image:: /pos_picking_delayed/static/description/pos_order_tree.png diff --git a/pos_picking_delayed/static/description/icon.png b/pos_picking_delayed/static/description/icon.png new file mode 100644 index 00000000..3a0328b5 Binary files /dev/null and b/pos_picking_delayed/static/description/icon.png differ diff --git a/pos_picking_delayed/static/description/index.html b/pos_picking_delayed/static/description/index.html new file mode 100644 index 00000000..bcd408df --- /dev/null +++ b/pos_picking_delayed/static/description/index.html @@ -0,0 +1,462 @@ + + + + + + +Point of Sale - Picking Creation Delayed + + + +
+

Point of Sale - Picking Creation Delayed

+ + +

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

+

This module extends the functionality of odoo Point Of Sale to reduce creation +time of the PoS orders, via the front UI.

+

For that purpose, it delays the creation of the picking associated, that will +be created later by queue job.

+

This module is interesting specially in a context of Synchroneous Point Of +Sale that is introduced by certification modules like ‘l10n_fr_pos_cert’ because +in such cases, the bill will be printed only when the pos order is created ( +after the call of the function create_from_ui) and the creation of the picking +is the process that takes the most time.

+

See https://github.com/odoo/odoo/pull/26314#issuecomment-422949266 +for more information.

+

Table of contents

+ +
+

Configuration

+
    +
  • Go to ‘Point of Sale’ / ‘Configuration’ / ‘Point of Sale’
  • +
  • Select your Point of Sale
  • +
  • Set the value in the field ‘Picking Creation Delayed’. (Checked by default)
  • +
+https://raw.githubusercontent.com/pos_picking_delayed/static/description/pos_config_form.png + +
+
+

Usage

+
    +
  • Use your Point of Sale as usual. When validating an order, the order will +be in a different color until the job is executed
  • +
+https://raw.githubusercontent.com/pos_picking_delayed/static/description/pos_order_tree.png +
+
+

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

+
    +
  • GRAP
  • +
+
+ +
+

Other credits

+

The development of this module has been financially supported by:

+ +
+
+

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.

+

This module is part of the OCA/pos project on GitHub.

+

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

+
+
+
+ + diff --git a/pos_picking_delayed/static/description/pos_config_form.png b/pos_picking_delayed/static/description/pos_config_form.png new file mode 100644 index 00000000..d4756d3a Binary files /dev/null and b/pos_picking_delayed/static/description/pos_config_form.png differ diff --git a/pos_picking_delayed/static/description/pos_order_tree.png b/pos_picking_delayed/static/description/pos_order_tree.png new file mode 100644 index 00000000..1420d6b9 Binary files /dev/null and b/pos_picking_delayed/static/description/pos_order_tree.png differ diff --git a/pos_picking_delayed/tests/__init__.py b/pos_picking_delayed/tests/__init__.py new file mode 100644 index 00000000..13290d89 --- /dev/null +++ b/pos_picking_delayed/tests/__init__.py @@ -0,0 +1,2 @@ + +from . import test_module diff --git a/pos_picking_delayed/tests/test_module.py b/pos_picking_delayed/tests/test_module.py new file mode 100644 index 00000000..05bc7560 --- /dev/null +++ b/pos_picking_delayed/tests/test_module.py @@ -0,0 +1,95 @@ +# Copyright 2018 - Today Sylvain LE GAL (https://twitter.com/legalsylvain) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import fields +from odoo.tests.common import TransactionCase + + +class TestModule(TransactionCase): + + def setUp(self): + super(TestModule, self).setUp() + self.PosOrder = self.env['pos.order'] + self.QueueJob = self.env['queue.job'] + self.pos_product = self.env.ref('point_of_sale.whiteboard_pen') + self.pricelist = self.env.ref('product.list0') + + # Create a new pos config and open it + self.pos_config = self.env.ref('point_of_sale.pos_config_main').copy() + self.pos_config.open_session_cb() + + def test_01_picking_delayed_enabled(self): + # Enable feature + self.pos_config.picking_creation_delayed = True + + order = self._create_order() + + self.assertEqual( + order.picking_id.id, False, + "Creating order via UI should not generate a picking if" + " feature is enabled") + + # Test if a Queue Job has been generated + func_string = 'pos.order(%d,)._create_delayed_picking()' % (order.id) + queues = self.QueueJob.search([ + ('func_string', '=', func_string)]) + self.assertEqual(len(queues), 1, "Queue Job has not been created") + + def test_02_picking_delayed_disabled(self): + # Disable feature + self.pos_config.picking_creation_delayed = False + + order = self._create_order() + + picking_id = order.picking_id.id + self.assertNotEqual( + picking_id, False, + "Creating order via UI should generate a picking if" + " feature is disabled") + + # Test if a Queue Job has not been generated + func_string = 'pos.order(%d,)._create_delayed_picking()' % (order.id) + queues = self.QueueJob.search([ + ('func_string', '=', func_string)]) + self.assertEqual(len(queues), 0, "Queue Job has been created") + + def _create_order(self): + # Create order + order_data = { + 'id': u'0006-001-0010', + 'to_invoice': False, + 'data': { + 'pricelist_id': self.pricelist.id, + 'user_id': 1, + 'name': 'Order 0006-001-0010', + 'partner_id': False, + 'amount_paid': 0.9, + 'pos_session_id': self.pos_config.current_session_id.id, + 'lines': [[0, 0, { + 'product_id': self.pos_product.id, + 'price_unit': 0.9, + 'qty': 1, + 'price_subtotal': 0.9, + 'price_subtotal_incl': 0.9, + }]], + 'statement_ids': [[0, 0, { + 'journal_id': self.pos_config.journal_ids[0].id, + 'amount': 0.9, + 'name': fields.Datetime.now(), + 'account_id': + self.env.user.partner_id.property_account_receivable_id.id, + 'statement_id': + self.pos_config.current_session_id.statement_ids[0].id, + }]], + 'creation_date': u'2018-09-27 15:51:03', + 'amount_tax': 0, + 'fiscal_position_id': False, + 'uid': u'00001-001-0001', + 'amount_return': 0, + 'sequence_number': 1, + 'amount_total': 0.9, + }} + + result = self.PosOrder.create_from_ui([order_data]) + order = self.PosOrder.browse(result[0]) + return order diff --git a/pos_picking_delayed/views/view_pos_config.xml b/pos_picking_delayed/views/view_pos_config.xml new file mode 100644 index 00000000..4c6f3314 --- /dev/null +++ b/pos_picking_delayed/views/view_pos_config.xml @@ -0,0 +1,19 @@ + + + + + + + pos.config + + + + + + + + + + + diff --git a/pos_picking_delayed/views/view_pos_order.xml b/pos_picking_delayed/views/view_pos_order.xml new file mode 100644 index 00000000..13f83aa8 --- /dev/null +++ b/pos_picking_delayed/views/view_pos_order.xml @@ -0,0 +1,30 @@ + + + + + + + pos.order + + + + has_picking_delayed == True + + + + + + + + + pos.order + + + + + + + + + diff --git a/setup/_metapackage/VERSION.txt b/setup/_metapackage/VERSION.txt index db81d948..dea8fb52 100644 --- a/setup/_metapackage/VERSION.txt +++ b/setup/_metapackage/VERSION.txt @@ -1 +1 @@ -12.0.20190718.0 \ No newline at end of file +12.0.20190724.0 \ No newline at end of file diff --git a/setup/_metapackage/setup.py b/setup/_metapackage/setup.py index 1e817eeb..5159ed7b 100644 --- a/setup/_metapackage/setup.py +++ b/setup/_metapackage/setup.py @@ -10,6 +10,7 @@ setuptools.setup( install_requires=[ 'odoo12-addon-pos_access_right', 'odoo12-addon-pos_order_mgmt', + 'odoo12-addon-pos_picking_delayed', 'odoo12-addon-pos_ticket_logo', ], classifiers=[ diff --git a/setup/pos_picking_delayed/odoo/addons/pos_picking_delayed b/setup/pos_picking_delayed/odoo/addons/pos_picking_delayed new file mode 120000 index 00000000..6ddaccdf --- /dev/null +++ b/setup/pos_picking_delayed/odoo/addons/pos_picking_delayed @@ -0,0 +1 @@ +../../../../pos_picking_delayed \ No newline at end of file diff --git a/setup/pos_picking_delayed/setup.py b/setup/pos_picking_delayed/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/pos_picking_delayed/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)