diff --git a/lrm_sale_custom/README.rst b/lrm_sale_custom/README.rst new file mode 100644 index 0000000..9a813de --- /dev/null +++ b/lrm_sale_custom/README.rst @@ -0,0 +1,70 @@ +=============== +Lrm Sale Custom +=============== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:87333ff50b7f460139ae6b4d735a818345ace9876f1056d1429622cea6067edc + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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-Escodoo%2Flrm--addons-lightgray.png?logo=github + :target: https://github.com/Escodoo/lrm-addons/tree/14.0/lrm_sale_custom + :alt: Escodoo/lrm-addons + +|badge1| |badge2| |badge3| + +This module add a new column in sale tree view. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +To use this module, you need to: +- Open the Sale tree view. +- Change the visibility of the `client_order_ref` field to show. + +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 +~~~~~~~ + +* Escodoo + +Contributors +~~~~~~~~~~~~ + +* `Escodoo `_: + + * Marcel Savegnago + * Wesley Oliveira + +Maintainers +~~~~~~~~~~~ + +This module is part of the `Escodoo/lrm-addons `_ project on GitHub. + +You are welcome to contribute. diff --git a/lrm_sale_custom/__init__.py b/lrm_sale_custom/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/lrm_sale_custom/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/lrm_sale_custom/__manifest__.py b/lrm_sale_custom/__manifest__.py new file mode 100644 index 0000000..ee2ff01 --- /dev/null +++ b/lrm_sale_custom/__manifest__.py @@ -0,0 +1,14 @@ +# Copyright 2024 - TODAY, Escodoo +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Lrm Sale Custom", + "summary": """ + LRM Sale Custom""", + "version": "14.0.1.0.0", + "license": "AGPL-3", + "author": "Escodoo", + "website": "https://github.com/Escodoo/lrm-addons", + "depends": ["sale"], + "data": ["views/sale_order.xml"], +} diff --git a/lrm_sale_custom/models/__init__.py b/lrm_sale_custom/models/__init__.py new file mode 100644 index 0000000..6aacb75 --- /dev/null +++ b/lrm_sale_custom/models/__init__.py @@ -0,0 +1 @@ +from . import sale_order diff --git a/lrm_sale_custom/models/sale_order.py b/lrm_sale_custom/models/sale_order.py new file mode 100644 index 0000000..b573d2c --- /dev/null +++ b/lrm_sale_custom/models/sale_order.py @@ -0,0 +1,9 @@ +# Copyright 2024 - TODAY, Wesley Oliveira +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import models + + +class SaleOrder(models.Model): + + _inherit = "sale.order" diff --git a/lrm_sale_custom/readme/CONTRIBUTORS.rst b/lrm_sale_custom/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000..9617554 --- /dev/null +++ b/lrm_sale_custom/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* `Escodoo `_: + + * Marcel Savegnago + * Wesley Oliveira diff --git a/lrm_sale_custom/readme/DESCRIPTION.rst b/lrm_sale_custom/readme/DESCRIPTION.rst new file mode 100644 index 0000000..be5ae6f --- /dev/null +++ b/lrm_sale_custom/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module add a new column in sale tree view. diff --git a/lrm_sale_custom/readme/USAGE.rst b/lrm_sale_custom/readme/USAGE.rst new file mode 100644 index 0000000..67914bf --- /dev/null +++ b/lrm_sale_custom/readme/USAGE.rst @@ -0,0 +1,3 @@ +To use this module, you need to: +- Open the Sale tree view. +- Change the visibility of the `client_order_ref` field to show. diff --git a/lrm_sale_custom/static/description/icon.png b/lrm_sale_custom/static/description/icon.png new file mode 100644 index 0000000..12ab005 Binary files /dev/null and b/lrm_sale_custom/static/description/icon.png differ diff --git a/lrm_sale_custom/static/description/index.html b/lrm_sale_custom/static/description/index.html new file mode 100644 index 0000000..1e53936 --- /dev/null +++ b/lrm_sale_custom/static/description/index.html @@ -0,0 +1,427 @@ + + + + + +Lrm Sale Custom + + + +
+

Lrm Sale Custom

+ + +

Beta License: AGPL-3 Escodoo/lrm-addons

+

This module add a new column in sale tree view.

+

Table of contents

+ +
+

Usage

+

To use this module, you need to: +- Open the Sale tree view. +- Change the visibility of the client_order_ref field to show.

+
+
+

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

+
    +
  • Escodoo
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is part of the Escodoo/lrm-addons project on GitHub.

+

You are welcome to contribute.

+
+
+
+ + diff --git a/lrm_sale_custom/views/sale_order.xml b/lrm_sale_custom/views/sale_order.xml new file mode 100644 index 0000000..16e58ff --- /dev/null +++ b/lrm_sale_custom/views/sale_order.xml @@ -0,0 +1,28 @@ + + + + + + sale.order.tree (in epa_sale_stock_custom) + sale.order + + + + + + + + + + sale.order.tree (in epa_sale_stock_custom) + sale.order + + + + + + + + + diff --git a/setup/.setuptools-odoo-make-default-ignore b/setup/.setuptools-odoo-make-default-ignore new file mode 100644 index 0000000..207e615 --- /dev/null +++ b/setup/.setuptools-odoo-make-default-ignore @@ -0,0 +1,2 @@ +# addons listed in this file are ignored by +# setuptools-odoo-make-default (one addon per line) diff --git a/setup/README b/setup/README new file mode 100644 index 0000000..a63d633 --- /dev/null +++ b/setup/README @@ -0,0 +1,2 @@ +To learn more about this directory, please visit +https://pypi.python.org/pypi/setuptools-odoo diff --git a/setup/lrm_sale_custom/odoo/addons/lrm_sale_custom b/setup/lrm_sale_custom/odoo/addons/lrm_sale_custom new file mode 120000 index 0000000..b0c6b1a --- /dev/null +++ b/setup/lrm_sale_custom/odoo/addons/lrm_sale_custom @@ -0,0 +1 @@ +../../../../lrm_sale_custom \ No newline at end of file diff --git a/setup/lrm_sale_custom/setup.py b/setup/lrm_sale_custom/setup.py new file mode 100644 index 0000000..28c57bb --- /dev/null +++ b/setup/lrm_sale_custom/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)