diff --git a/sale_order_customer_free_ref/README.rst b/sale_order_customer_free_ref/README.rst new file mode 100644 index 0000000000..047017f609 --- /dev/null +++ b/sale_order_customer_free_ref/README.rst @@ -0,0 +1,98 @@ +================================== +Sale Order Customer Free Reference +================================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:307b153c684bdaa8bbefae3c8d10181063f579a04974ce4c3a6f8b41ccfc2cf3 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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%2Fedi-lightgray.png?logo=github + :target: https://github.com/OCA/edi/tree/18.0/sale_order_customer_free_ref + :alt: OCA/edi +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-18-0/edi-18-0-sale_order_customer_free_ref + :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/edi&target_branch=18.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +The goal of this module is to improve on the client_order_ref on +sale.order. + +By default, Odoo only has one field to handle the customer reference of +a sales order. + +However, an order provided by the buyer can contain an id (PO number) +and a free reference. When exchanging with the other parties, you +sometimes need to differentiate them. For instance, this is required by +some EDI flows. + +To help with this, this module adds two specific fields for them and +transforms the client_order_ref standard field into a computed one. + +The two new fields are also passed on to generated invoices. + +**Table of contents** + +.. contents:: + :local: + +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 +------------ + +- Thierry Ducrest +- `Trobz `__: +- Nguyen Hoang Hiep + +Other credits +------------- + +The migration of this module from 13.0 to 14.0 was financially supported +by Camptocamp + +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/edi `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/sale_order_customer_free_ref/__init__.py b/sale_order_customer_free_ref/__init__.py new file mode 100644 index 0000000000..0650744f6b --- /dev/null +++ b/sale_order_customer_free_ref/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/sale_order_customer_free_ref/__manifest__.py b/sale_order_customer_free_ref/__manifest__.py new file mode 100644 index 0000000000..d6935597e3 --- /dev/null +++ b/sale_order_customer_free_ref/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2021 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + +{ + "name": "Sale Order Customer Free Reference", + "version": "18.0.1.0.0", + "category": "Sale", + "license": "AGPL-3", + "summary": "Splits the Customer Reference on sale orders into two fields. " + "An Id and a Free reference. The existing field is transformed " + "into a computed one.", + "author": "Camptocamp, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/edi", + "depends": ["sale"], + "data": ["views/sale_order.xml", "views/account_move.xml"], + "installable": True, +} diff --git a/sale_order_customer_free_ref/i18n/es.po b/sale_order_customer_free_ref/i18n/es.po new file mode 100644 index 0000000000..885c01d992 --- /dev/null +++ b/sale_order_customer_free_ref/i18n/es.po @@ -0,0 +1,66 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_customer_free_ref +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-11-23 19:23+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: sale_order_customer_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_bank_statement_line__customer_order_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_move__customer_order_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_payment__customer_order_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_sale_order__customer_order_free_ref +msgid "Customer Free Reference" +msgstr "Referencia Gratuita al Cliente" + +#. module: sale_order_customer_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_bank_statement_line__customer_order_number +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_move__customer_order_number +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_payment__customer_order_number +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_sale_order__customer_order_number +msgid "Customer Order Number" +msgstr "Número de Pedido del Cliente" + +#. module: sale_order_customer_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_sale_order__client_order_ref +msgid "Customer Reference" +msgstr "Referencia del Cliente" + +#. module: sale_order_customer_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_move__display_name +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_sale_order__display_name +msgid "Display Name" +msgstr "Mostrar Nombre" + +#. module: sale_order_customer_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_move__id +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_sale_order__id +msgid "ID" +msgstr "ID" + +#. module: sale_order_customer_free_ref +#: model:ir.model,name:sale_order_customer_free_ref.model_account_move +msgid "Journal Entry" +msgstr "Entrada Diaria" + +#. module: sale_order_customer_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_move____last_update +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_sale_order____last_update +msgid "Last Modified on" +msgstr "Última Modificación el" + +#. module: sale_order_customer_free_ref +#: model:ir.model,name:sale_order_customer_free_ref.model_sale_order +msgid "Sales Order" +msgstr "Órden de venta" diff --git a/sale_order_customer_free_ref/i18n/it.po b/sale_order_customer_free_ref/i18n/it.po new file mode 100644 index 0000000000..116214f9f8 --- /dev/null +++ b/sale_order_customer_free_ref/i18n/it.po @@ -0,0 +1,64 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_customer_free_ref +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#. module: sale_order_customer_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_bank_statement_line__customer_order_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_move__customer_order_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_payment__customer_order_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_sale_order__customer_order_free_ref +msgid "Customer Free Reference" +msgstr "" + +#. module: sale_order_customer_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_bank_statement_line__customer_order_number +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_move__customer_order_number +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_payment__customer_order_number +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_sale_order__customer_order_number +msgid "Customer Order Number" +msgstr "" + +#. module: sale_order_customer_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_sale_order__client_order_ref +msgid "Customer Reference" +msgstr "" + +#. module: sale_order_customer_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_move__display_name +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_sale_order__display_name +msgid "Display Name" +msgstr "" + +#. module: sale_order_customer_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_move__id +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_sale_order__id +msgid "ID" +msgstr "" + +#. module: sale_order_customer_free_ref +#: model:ir.model,name:sale_order_customer_free_ref.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: sale_order_customer_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_move____last_update +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_sale_order____last_update +msgid "Last Modified on" +msgstr "" + +#. module: sale_order_customer_free_ref +#: model:ir.model,name:sale_order_customer_free_ref.model_sale_order +msgid "Sales Order" +msgstr "" diff --git a/sale_order_customer_free_ref/i18n/sale_order_customer_free_ref.pot b/sale_order_customer_free_ref/i18n/sale_order_customer_free_ref.pot new file mode 100644 index 0000000000..0aa1f5f29b --- /dev/null +++ b/sale_order_customer_free_ref/i18n/sale_order_customer_free_ref.pot @@ -0,0 +1,63 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_order_customer_free_ref +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.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: sale_order_customer_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_bank_statement_line__customer_order_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_move__customer_order_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_payment__customer_order_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_sale_order__customer_order_free_ref +msgid "Customer Free Reference" +msgstr "" + +#. module: sale_order_customer_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_bank_statement_line__customer_order_number +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_move__customer_order_number +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_payment__customer_order_number +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_sale_order__customer_order_number +msgid "Customer Order Number" +msgstr "" + +#. module: sale_order_customer_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_sale_order__client_order_ref +msgid "Customer Reference" +msgstr "" + +#. module: sale_order_customer_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_move__display_name +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_sale_order__display_name +msgid "Display Name" +msgstr "" + +#. module: sale_order_customer_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_move__id +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_sale_order__id +msgid "ID" +msgstr "" + +#. module: sale_order_customer_free_ref +#: model:ir.model,name:sale_order_customer_free_ref.model_account_move +msgid "Journal Entry" +msgstr "" + +#. module: sale_order_customer_free_ref +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_account_move____last_update +#: model:ir.model.fields,field_description:sale_order_customer_free_ref.field_sale_order____last_update +msgid "Last Modified on" +msgstr "" + +#. module: sale_order_customer_free_ref +#: model:ir.model,name:sale_order_customer_free_ref.model_sale_order +msgid "Sales Order" +msgstr "" diff --git a/sale_order_customer_free_ref/models/__init__.py b/sale_order_customer_free_ref/models/__init__.py new file mode 100644 index 0000000000..df48fd8304 --- /dev/null +++ b/sale_order_customer_free_ref/models/__init__.py @@ -0,0 +1,2 @@ +from . import account_move +from . import sale_order diff --git a/sale_order_customer_free_ref/models/account_move.py b/sale_order_customer_free_ref/models/account_move.py new file mode 100644 index 0000000000..5bd981bbd3 --- /dev/null +++ b/sale_order_customer_free_ref/models/account_move.py @@ -0,0 +1,11 @@ +# Copyright 2021 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + +from odoo import fields, models + + +class AccountMove(models.Model): + _inherit = "account.move" + + customer_order_number = fields.Char(copy=False) + customer_order_free_ref = fields.Char(string="Customer Free Reference", copy=False) diff --git a/sale_order_customer_free_ref/models/sale_order.py b/sale_order_customer_free_ref/models/sale_order.py new file mode 100644 index 0000000000..334c33fc18 --- /dev/null +++ b/sale_order_customer_free_ref/models/sale_order.py @@ -0,0 +1,46 @@ +# Copyright 2021 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + +from odoo import api, fields, models + + +class SaleOrder(models.Model): + _inherit = "sale.order" + + _client_order_ref_separator = " - " + + client_order_ref = fields.Char( + compute="_compute_client_order_ref", + inverse="_inverse_client_order_ref", + string="Customer Reference", + store=True, + copy=False, + ) + customer_order_number = fields.Char(copy=False) + customer_order_free_ref = fields.Char(string="Customer Free Reference", copy=False) + + @api.depends("customer_order_number", "customer_order_free_ref") + def _compute_client_order_ref(self): + for order in self: + refs = [order.customer_order_number, order.customer_order_free_ref] + refs = [ref for ref in refs if ref and ref.strip()] + order.client_order_ref = self._client_order_ref_separator.join(refs) + + def _inverse_client_order_ref(self): + for order in self: + if not order.client_order_ref: + order.customer_order_number = "" + order.customer_order_free_ref = "" + else: + refs = order.client_order_ref.split(self._client_order_ref_separator, 1) + order.customer_order_number = refs[0] + if len(refs) == 2: + order.customer_order_free_ref = refs[1] + else: + order.customer_order_free_ref = "" + + def _prepare_invoice(self): + res = super()._prepare_invoice() + res["customer_order_number"] = self.customer_order_number + res["customer_order_free_ref"] = self.customer_order_free_ref + return res diff --git a/sale_order_customer_free_ref/pyproject.toml b/sale_order_customer_free_ref/pyproject.toml new file mode 100644 index 0000000000..4231d0cccb --- /dev/null +++ b/sale_order_customer_free_ref/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/sale_order_customer_free_ref/readme/CONTRIBUTORS.md b/sale_order_customer_free_ref/readme/CONTRIBUTORS.md new file mode 100644 index 0000000000..32900cdb7b --- /dev/null +++ b/sale_order_customer_free_ref/readme/CONTRIBUTORS.md @@ -0,0 +1,3 @@ +- Thierry Ducrest \ +- [Trobz](https://trobz.com): +- Nguyen Hoang Hiep \ diff --git a/sale_order_customer_free_ref/readme/CREDITS.md b/sale_order_customer_free_ref/readme/CREDITS.md new file mode 100644 index 0000000000..4351fe296a --- /dev/null +++ b/sale_order_customer_free_ref/readme/CREDITS.md @@ -0,0 +1,2 @@ +The migration of this module from 13.0 to 14.0 was financially supported +by Camptocamp diff --git a/sale_order_customer_free_ref/readme/DESCRIPTION.md b/sale_order_customer_free_ref/readme/DESCRIPTION.md new file mode 100644 index 0000000000..58ad79d5e2 --- /dev/null +++ b/sale_order_customer_free_ref/readme/DESCRIPTION.md @@ -0,0 +1,15 @@ +The goal of this module is to improve on the client_order_ref on +sale.order. + +By default, Odoo only has one field to handle the customer reference of +a sales order. + +However, an order provided by the buyer can contain an id (PO number) +and a free reference. When exchanging with the other parties, you +sometimes need to differentiate them. For instance, this is required by +some EDI flows. + +To help with this, this module adds two specific fields for them and +transforms the client_order_ref standard field into a computed one. + +The two new fields are also passed on to generated invoices. diff --git a/sale_order_customer_free_ref/static/description/icon.png b/sale_order_customer_free_ref/static/description/icon.png new file mode 100644 index 0000000000..3a0328b516 Binary files /dev/null and b/sale_order_customer_free_ref/static/description/icon.png differ diff --git a/sale_order_customer_free_ref/static/description/index.html b/sale_order_customer_free_ref/static/description/index.html new file mode 100644 index 0000000000..9495212ee2 --- /dev/null +++ b/sale_order_customer_free_ref/static/description/index.html @@ -0,0 +1,438 @@ + + + + + +Sale Order Customer Free Reference + + + +
+

Sale Order Customer Free Reference

+ + +

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

+

The goal of this module is to improve on the client_order_ref on +sale.order.

+

By default, Odoo only has one field to handle the customer reference of +a sales order.

+

However, an order provided by the buyer can contain an id (PO number) +and a free reference. When exchanging with the other parties, you +sometimes need to differentiate them. For instance, this is required by +some EDI flows.

+

To help with this, this module adds two specific fields for them and +transforms the client_order_ref standard field into a computed one.

+

The two new fields are also passed on to generated invoices.

+

Table of contents

+ +
+

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

+ +
+
+

Other credits

+

The migration of this module from 13.0 to 14.0 was financially supported +by Camptocamp

+
+
+

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/edi project on GitHub.

+

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

+
+
+
+ + diff --git a/sale_order_customer_free_ref/tests/__init__.py b/sale_order_customer_free_ref/tests/__init__.py new file mode 100644 index 0000000000..38f45eab2a --- /dev/null +++ b/sale_order_customer_free_ref/tests/__init__.py @@ -0,0 +1 @@ +from . import test_sale_order_customer_free_ref diff --git a/sale_order_customer_free_ref/tests/test_sale_order_customer_free_ref.py b/sale_order_customer_free_ref/tests/test_sale_order_customer_free_ref.py new file mode 100644 index 0000000000..2e78b0fe89 --- /dev/null +++ b/sale_order_customer_free_ref/tests/test_sale_order_customer_free_ref.py @@ -0,0 +1,62 @@ +# Copyright 2021 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + +from odoo.addons.base.tests.common import BaseCommon + + +class TestSaleOrderCustomerFreeRef(BaseCommon): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.order = cls.env.ref("sale.sale_order_1") + + def test_client_order_ref_computation(self): + self.order.customer_order_number = "123" + self.order.customer_order_free_ref = "" + self.assertEqual(self.order.client_order_ref, "123") + self.order.customer_order_free_ref = "MrPink" + self.assertEqual(self.order.client_order_ref, "123 - MrPink") + self.order.action_confirm() + for line in self.order.order_line: + line.qty_delivered = line.product_uom_qty + invoice = self.order._create_invoices() + self.assertTrue(invoice) + self.assertEqual( + self.order.customer_order_number, invoice.customer_order_number + ) + self.assertEqual( + self.order.customer_order_free_ref, invoice.customer_order_free_ref + ) + self.assertEqual(self.order.client_order_ref, invoice.ref) + + def test_client_order_ref_computation_empty_values(self): + self.order.customer_order_number = "123" + self.order.customer_order_free_ref = " " + self.assertEqual(self.order.client_order_ref, "123") + self.order.customer_order_number = "" + self.order.customer_order_free_ref = "MrPink" + self.assertEqual(self.order.client_order_ref, "MrPink") + + def test_client_order_ref_inverse_function(self): + self.order.client_order_ref = "456 - MrBlue" + self.assertEqual(self.order.customer_order_number, "456") + self.assertEqual(self.order.customer_order_free_ref, "MrBlue") + self.order.client_order_ref = "456/abc" + self.assertEqual(self.order.customer_order_number, "456/abc") + self.assertFalse(self.order.customer_order_free_ref) + self.order.client_order_ref = "" + self.assertFalse(self.order.customer_order_number) + self.assertFalse(self.order.customer_order_free_ref) + + def test_invoice_ref_with_special_chars(self): + self.order.customer_order_number = "SO/2025/123" + self.order.customer_order_free_ref = "REF#042 & Test" + self.assertEqual(self.order.client_order_ref, "SO/2025/123 - REF#042 & Test") + self.order.action_confirm() + for line in self.order.order_line: + line.qty_delivered = line.product_uom_qty + invoice = self.order._create_invoices() + self.assertTrue(invoice) + self.assertEqual(invoice.customer_order_number, "SO/2025/123") + self.assertEqual(invoice.customer_order_free_ref, "REF#042 & Test") + self.assertEqual(invoice.ref, "SO/2025/123 - REF#042 & Test") diff --git a/sale_order_customer_free_ref/views/account_move.xml b/sale_order_customer_free_ref/views/account_move.xml new file mode 100644 index 0000000000..42d9fe232f --- /dev/null +++ b/sale_order_customer_free_ref/views/account_move.xml @@ -0,0 +1,14 @@ + + + + account.move.customer.free.ref.form + account.move + + + + + + + + + diff --git a/sale_order_customer_free_ref/views/sale_order.xml b/sale_order_customer_free_ref/views/sale_order.xml new file mode 100644 index 0000000000..4718f1a471 --- /dev/null +++ b/sale_order_customer_free_ref/views/sale_order.xml @@ -0,0 +1,17 @@ + + + + sale.order.customer.free.ref.form + sale.order + + + + + + + + 1 + + + +