diff --git a/stock_picking_origin_reference/README.rst b/stock_picking_origin_reference/README.rst index 5a29e60f5fea..e375261c2679 100644 --- a/stock_picking_origin_reference/README.rst +++ b/stock_picking_origin_reference/README.rst @@ -17,13 +17,13 @@ Stock Picking Origin Reference :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github - :target: https://github.com/OCA/stock-logistics-workflow/tree/17.0/stock_picking_origin_reference + :target: https://github.com/OCA/stock-logistics-workflow/tree/18.0/stock_picking_origin_reference :alt: OCA/stock-logistics-workflow .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/stock-logistics-workflow-17-0/stock-logistics-workflow-17-0-stock_picking_origin_reference + :target: https://translation.odoo-community.org/projects/stock-logistics-workflow-18-0/stock-logistics-workflow-18-0-stock_picking_origin_reference :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/stock-logistics-workflow&target_branch=17.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-workflow&target_branch=18.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -63,7 +63,7 @@ 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -78,9 +78,13 @@ Authors Contributors ------------ -- ForgeFlow S.L. +- ForgeFlow S.L. - - Guillem Casassas + - Guillem Casassas + +- `Heliconia Solutions Pvt. Ltd. `__ + + - Bhavesh Heliconia Maintainers ----------- @@ -95,6 +99,6 @@ 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/stock-logistics-workflow `_ project on GitHub. +This module is part of the `OCA/stock-logistics-workflow `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/stock_picking_origin_reference/__manifest__.py b/stock_picking_origin_reference/__manifest__.py index 777e067c2331..8c29e8f0e533 100644 --- a/stock_picking_origin_reference/__manifest__.py +++ b/stock_picking_origin_reference/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Stock Picking Origin Reference", "summary": "Add clickable button to the Transfer Source Document.", - "version": "17.0.1.0.0", + "version": "18.0.1.0.0", "license": "AGPL-3", "website": "https://github.com/OCA/stock-logistics-workflow", "author": "ForgeFlow, Odoo Community Association (OCA)", diff --git a/stock_picking_origin_reference/models/stock_picking.py b/stock_picking_origin_reference/models/stock_picking.py index 578b67a04160..a300a3e4f77f 100644 --- a/stock_picking_origin_reference/models/stock_picking.py +++ b/stock_picking_origin_reference/models/stock_picking.py @@ -9,7 +9,6 @@ class StockPicking(models.Model): origin_reference = fields.Reference( selection="_selection_origin_reference", compute="_compute_origin_reference", - string="Source Document", ) def _selection_origin_reference(self): diff --git a/stock_picking_origin_reference/readme/CONTRIBUTORS.md b/stock_picking_origin_reference/readme/CONTRIBUTORS.md index d23274e45bdc..5ee2b4ef5028 100644 --- a/stock_picking_origin_reference/readme/CONTRIBUTORS.md +++ b/stock_picking_origin_reference/readme/CONTRIBUTORS.md @@ -1,2 +1,4 @@ - ForgeFlow S.L. - Guillem Casassas \<\> +- [Heliconia Solutions Pvt. Ltd.](https://www.heliconia.io) + - Bhavesh Heliconia diff --git a/stock_picking_origin_reference/static/description/index.html b/stock_picking_origin_reference/static/description/index.html index f319f1a2d212..58212d897221 100644 --- a/stock_picking_origin_reference/static/description/index.html +++ b/stock_picking_origin_reference/static/description/index.html @@ -369,7 +369,7 @@

Stock Picking Origin Reference

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:6c29ced90633d4be714498b18069c48996a83f1333559ee270be87198a22be86 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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

The Source Document contains a text referencing to the Odoo document from which the transfer has been created. This module replaces the Source Document field for a field with the same label which is clickable @@ -407,7 +407,7 @@

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.

+feedback.

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

@@ -425,6 +425,10 @@

Contributors

  • Guillem Casassas <guillem.casassas@forgeflow.com>
  • +
  • Heliconia Solutions Pvt. Ltd.
      +
    • Bhavesh Heliconia
    • +
    +
  • @@ -436,7 +440,7 @@

    Maintainers

    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/stock-logistics-workflow project on GitHub.

    +

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

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

    diff --git a/stock_picking_origin_reference/tests/test_stock_picking_origin_reference.py b/stock_picking_origin_reference/tests/test_stock_picking_origin_reference.py index c4c0989b2580..f2599f806c21 100644 --- a/stock_picking_origin_reference/tests/test_stock_picking_origin_reference.py +++ b/stock_picking_origin_reference/tests/test_stock_picking_origin_reference.py @@ -5,24 +5,25 @@ class TestStockPickingOriginReference(TransactionCase): - def setUp(self): - super().setUp() + @classmethod + def setUpClass(cls): + super().setUpClass() # Models - self.picking_model = self.env["stock.picking"] + cls.picking_model = cls.env["stock.picking"] # Existing Instances - self.picking_type_in_id = self.env.ref("stock.picking_type_in") - self.picking_type_out_id = self.env.ref("stock.picking_type_out") - self.location_suppliers = self.env.ref("stock.stock_location_suppliers") - self.location_stock = self.env.ref("stock.stock_location_stock") - self.location_customers = self.env.ref("stock.stock_location_customers") + cls.picking_type_in_id = cls.env.ref("stock.picking_type_in") + cls.picking_type_out_id = cls.env.ref("stock.picking_type_out") + cls.location_suppliers = cls.env.ref("stock.stock_location_suppliers") + cls.location_stock = cls.env.ref("stock.stock_location_stock") + cls.location_customers = cls.env.ref("stock.stock_location_customers") # TO BE USED IN CHILDREN TESTS - self.partner_model = self.env["res.partner"] + cls.partner_model = cls.env["res.partner"] - self.product = self.env.ref("product.product_product_3") + cls.product = cls.env.ref("product.product_product_3") - self.partner = self.partner_model.create({"name": "Test Partner"}) + cls.partner = cls.partner_model.create({"name": "Test Partner"}) def _create_picking( self, picking_type_id, location_id, location_dest_id, origin=False