From 884e4b9a32b8afb9f9c85e4cf01612661a9f34d8 Mon Sep 17 00:00:00 2001 From: Vincent Van Rossem Date: Thu, 19 Sep 2024 10:08:45 +0200 Subject: [PATCH] [17.0][ADD] sale_stock_dropshipping_note: new module This glue module between `stock_dropshipping` and `sale_stock_picking_note` transfers the external (customer) and internal picking note from the sales order to the dropship associated. --- sale_stock_dropshipping_note/README.rst | 100 ++++ sale_stock_dropshipping_note/__init__.py | 0 sale_stock_dropshipping_note/__manifest__.py | 13 + sale_stock_dropshipping_note/pyproject.toml | 3 + .../readme/CONTRIBUTORS.md | 2 + .../readme/DESCRIPTION.md | 3 + sale_stock_dropshipping_note/readme/USAGE.md | 15 + .../static/description/index.html | 450 ++++++++++++++++++ 8 files changed, 586 insertions(+) create mode 100644 sale_stock_dropshipping_note/README.rst create mode 100644 sale_stock_dropshipping_note/__init__.py create mode 100644 sale_stock_dropshipping_note/__manifest__.py create mode 100644 sale_stock_dropshipping_note/pyproject.toml create mode 100644 sale_stock_dropshipping_note/readme/CONTRIBUTORS.md create mode 100644 sale_stock_dropshipping_note/readme/DESCRIPTION.md create mode 100644 sale_stock_dropshipping_note/readme/USAGE.md create mode 100644 sale_stock_dropshipping_note/static/description/index.html diff --git a/sale_stock_dropshipping_note/README.rst b/sale_stock_dropshipping_note/README.rst new file mode 100644 index 00000000000..2363c7e0282 --- /dev/null +++ b/sale_stock_dropshipping_note/README.rst @@ -0,0 +1,100 @@ +============================= +Sale Stock Drop Shipping Note +============================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:f7aedf63cb8df53aca633a8e928f15b60d3f75e5f68435781b7471ba8eb12a88 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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/17.0/sale_stock_dropshipping_note + :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-17-0/sale-workflow-17-0-sale_stock_dropshipping_note + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=17.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This glue module between ``stock_dropshipping`` and +``sale_stock_picking_note`` transfers the external (customer) and +internal picking note from the sales order to the dropship associated. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +1. Go to Sales > Orders > Customers. +2. Create new customer and set **Picking Internal Note** and **Picking + Customer Comments** in *Sales & Purchase* tab. +3. Go to Sales > Orders > Orders. +4. Create new sale order with storable products having the **Dropship** + route enable, and select customer created before. +5. Go to *Other information* tab. +6. Fields **Picking Internal Note** and **Picking Customer Comments** + will be filled with values from customer. +7. Can update the **Picking Internal Note** and **Picking Customer + Comments** you want to. +8. Confirm the Sale Order, go to the created Purchase Order and confirm + it. +9. Go to the created Dropship. +10. On the "Comments" tab, you will see both the internal note and + customer comments. + +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 to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Camptocamp + +Contributors +------------ + +- Camptocamp + + - Vincent Van Rossem + +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/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_stock_dropshipping_note/__init__.py b/sale_stock_dropshipping_note/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/sale_stock_dropshipping_note/__manifest__.py b/sale_stock_dropshipping_note/__manifest__.py new file mode 100644 index 00000000000..80dd011a759 --- /dev/null +++ b/sale_stock_dropshipping_note/__manifest__.py @@ -0,0 +1,13 @@ +# Copyright 2024 Camptocamp SA +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +{ + "name": "Sale Stock Drop Shipping Note", + "summary": "Add picking note in drop shipping orders", + "version": "17.0.1.0.0", + "category": "Sales", + "website": "https://github.com/OCA/sale-workflow", + "author": "Camptocamp, Odoo Community Association (OCA)", + "license": "AGPL-3", + "depends": ["sale_stock_picking_note", "stock_dropshipping"], + "auto_install": True, +} diff --git a/sale_stock_dropshipping_note/pyproject.toml b/sale_stock_dropshipping_note/pyproject.toml new file mode 100644 index 00000000000..4231d0cccb3 --- /dev/null +++ b/sale_stock_dropshipping_note/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/sale_stock_dropshipping_note/readme/CONTRIBUTORS.md b/sale_stock_dropshipping_note/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..e89b15d4711 --- /dev/null +++ b/sale_stock_dropshipping_note/readme/CONTRIBUTORS.md @@ -0,0 +1,2 @@ +- Camptocamp \<\> + - Vincent Van Rossem \<\> diff --git a/sale_stock_dropshipping_note/readme/DESCRIPTION.md b/sale_stock_dropshipping_note/readme/DESCRIPTION.md new file mode 100644 index 00000000000..ed48f54576d --- /dev/null +++ b/sale_stock_dropshipping_note/readme/DESCRIPTION.md @@ -0,0 +1,3 @@ +This glue module between `stock_dropshipping` and `sale_stock_picking_note` +transfers the external (customer) and internal picking note from the sales order +to the dropship associated. diff --git a/sale_stock_dropshipping_note/readme/USAGE.md b/sale_stock_dropshipping_note/readme/USAGE.md new file mode 100644 index 00000000000..53409e928ce --- /dev/null +++ b/sale_stock_dropshipping_note/readme/USAGE.md @@ -0,0 +1,15 @@ +1. Go to Sales \> Orders \> Customers. +2. Create new customer and set **Picking Internal Note** and **Picking + Customer Comments** in *Sales & Purchase* tab. +3. Go to Sales \> Orders \> Orders. +4. Create new sale order with storable products having the **Dropship** route enable, + and select customer created before. +5. Go to *Other information* tab. +6. Fields **Picking Internal Note** and **Picking Customer Comments** + will be filled with values from customer. +7. Can update the **Picking Internal Note** and **Picking Customer + Comments** you want to. +8. Confirm the Sale Order, go to the created Purchase Order and confirm it. +9. Go to the created Dropship. +10. On the "Comments" tab, you will see both the internal note and + customer comments. diff --git a/sale_stock_dropshipping_note/static/description/index.html b/sale_stock_dropshipping_note/static/description/index.html new file mode 100644 index 00000000000..9c5ff7319d6 --- /dev/null +++ b/sale_stock_dropshipping_note/static/description/index.html @@ -0,0 +1,450 @@ + + + + + +Sale Stock Drop Shipping Note + + + +
+

Sale Stock Drop Shipping Note

+ + +

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

+

This glue module between stock_dropshipping and +sale_stock_picking_note transfers the external (customer) and +internal picking note from the sales order to the dropship associated.

+

Table of contents

+ +
+

Usage

+
    +
  1. Go to Sales > Orders > Customers.
  2. +
  3. Create new customer and set Picking Internal Note and Picking +Customer Comments in Sales & Purchase tab.
  4. +
  5. Go to Sales > Orders > Orders.
  6. +
  7. Create new sale order with storable products having the Dropship +route enable, and select customer created before.
  8. +
  9. Go to Other information tab.
  10. +
  11. Fields Picking Internal Note and Picking Customer Comments +will be filled with values from customer.
  12. +
  13. Can update the Picking Internal Note and Picking Customer +Comments you want to.
  14. +
  15. Confirm the Sale Order, go to the created Purchase Order and confirm +it.
  16. +
  17. Go to the created Dropship.
  18. +
  19. On the “Comments” tab, you will see both the internal note and +customer comments.
  20. +
+
+
+

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

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Camptocamp
  • +
+
+
+

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.

+

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.

+
+
+
+ +