odoo-addon-shipment-advice 16.0.1.3.1.3__py3-none-any.whl → 16.0.1.4.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. odoo/addons/shipment_advice/README.rst +1 -1
  2. odoo/addons/shipment_advice/__manifest__.py +5 -1
  3. odoo/addons/shipment_advice/data/queue_job_channel.xml +9 -0
  4. odoo/addons/shipment_advice/data/queue_job_function.xml +26 -0
  5. odoo/addons/shipment_advice/i18n/es.po +274 -178
  6. odoo/addons/shipment_advice/i18n/shipment_advice.pot +68 -0
  7. odoo/addons/shipment_advice/models/res_company.py +6 -0
  8. odoo/addons/shipment_advice/models/res_config_settings.py +3 -0
  9. odoo/addons/shipment_advice/models/shipment_advice.py +119 -52
  10. odoo/addons/shipment_advice/static/description/index.html +1 -1
  11. odoo/addons/shipment_advice/tests/__init__.py +1 -0
  12. odoo/addons/shipment_advice/tests/test_shipment_advice.py +1 -1
  13. odoo/addons/shipment_advice/tests/test_shipment_advice_async.py +299 -0
  14. odoo/addons/shipment_advice/views/res_config_settings.xml +17 -0
  15. odoo/addons/shipment_advice/views/shipment_advice.xml +8 -1
  16. odoo/addons/shipment_advice/wizards/load_shipment.py +1 -1
  17. odoo/addons/shipment_advice/wizards/plan_shipment.py +1 -1
  18. odoo/addons/shipment_advice/wizards/unload_shipment.py +2 -2
  19. {odoo_addon_shipment_advice-16.0.1.3.1.3.dist-info → odoo_addon_shipment_advice-16.0.1.4.0.dist-info}/METADATA +3 -2
  20. {odoo_addon_shipment_advice-16.0.1.3.1.3.dist-info → odoo_addon_shipment_advice-16.0.1.4.0.dist-info}/RECORD +22 -19
  21. {odoo_addon_shipment_advice-16.0.1.3.1.3.dist-info → odoo_addon_shipment_advice-16.0.1.4.0.dist-info}/WHEEL +0 -0
  22. {odoo_addon_shipment_advice-16.0.1.3.1.3.dist-info → odoo_addon_shipment_advice-16.0.1.4.0.dist-info}/top_level.txt +0 -0
@@ -7,7 +7,7 @@ Shipment Advice
7
7
  !! This file is generated by oca-gen-addon-readme !!
8
8
  !! changes will be overwritten. !!
9
9
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:2ce9096e86385f60cb183efb0745bb01324df6f1dee67604801fd7b364a0a68e
10
+ !! source digest: sha256:d15a08534108c95673383be523fd4d221150eb3270f749dad244c6f2504036b0
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -4,19 +4,23 @@
4
4
  {
5
5
  "name": "Shipment Advice",
6
6
  "summary": "Manage your (un)loading process through shipment advices.",
7
- "version": "16.0.1.3.1",
7
+ "version": "16.0.1.4.0",
8
8
  "author": "Camptocamp, Odoo Community Association (OCA)",
9
9
  "website": "https://github.com/OCA/stock-logistics-transport",
10
10
  "category": "Warehouse Management",
11
11
  "depends": [
12
12
  "stock",
13
13
  "delivery",
14
+ # OCA/queue
15
+ "queue_job",
14
16
  # OCA/stock-logistics-transport
15
17
  "stock_dock",
16
18
  ],
17
19
  "data": [
18
20
  "security/ir.model.access.csv",
19
21
  "data/ir_sequence.xml",
22
+ "data/queue_job_channel.xml",
23
+ "data/queue_job_function.xml",
20
24
  "views/res_config_settings.xml",
21
25
  "views/shipment_advice.xml",
22
26
  "views/stock_picking.xml",
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <!-- Copyright 2023 ACSONE SA/NV
3
+ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
4
+ <odoo>
5
+ <record model="queue.job.channel" id="shipment_advice_queue_channel">
6
+ <field name="name">shipment_advice</field>
7
+ <field name="parent_id" ref="queue_job.channel_root" />
8
+ </record>
9
+ </odoo>
@@ -0,0 +1,26 @@
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <!-- Copyright 2022 ACSONE SA/NV
3
+ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
4
+ <odoo>
5
+ <record id="job_function_shipment_advice_validate_picking" model="queue.job.function">
6
+ <field name="model_id" ref="shipment_advice.model_shipment_advice" />
7
+ <field name="method">_validate_picking</field>
8
+ <field name="channel_id" ref="shipment_advice.shipment_advice_queue_channel" />
9
+ </record>
10
+ <record
11
+ id="job_function_shipment_advice_unplan_undone_moves"
12
+ model="queue.job.function"
13
+ >
14
+ <field name="model_id" ref="shipment_advice.model_shipment_advice" />
15
+ <field name="method">_unplan_undone_moves</field>
16
+ <field name="channel_id" ref="shipment_advice.shipment_advice_queue_channel" />
17
+ </record>
18
+ <record
19
+ id="job_function_shipment_advice_postprocess_action_done"
20
+ model="queue.job.function"
21
+ >
22
+ <field name="model_id" ref="shipment_advice.model_shipment_advice" />
23
+ <field name="method">_postprocess_action_done</field>
24
+ <field name="channel_id" ref="shipment_advice.shipment_advice_queue_channel" />
25
+ </record>
26
+ </odoo>