From f5cd47aa6affd06457fbf415ded6d398ce7e3b63 Mon Sep 17 00:00:00 2001 From: ??? Date: Mon, 17 Feb 2025 12:55:19 +0100 Subject: [PATCH] [MIG] partner_default_journal: Migration to 16.0 --- partner_default_journal/README.rst | 61 ++- partner_default_journal/__init__.py | 2 - partner_default_journal/__manifest__.py | 8 +- partner_default_journal/models/__init__.py | 2 - .../models/account_invoice.py | 3 +- partner_default_journal/models/res_partner.py | 3 +- partner_default_journal/models/sale.py | 3 +- .../readme/CONTRIBUTORS.rst | 4 + .../readme/DESCRIPTION.rst | 1 + .../static/description/index.html | 420 ++++++++++++++++++ 10 files changed, 481 insertions(+), 26 deletions(-) create mode 100644 partner_default_journal/readme/CONTRIBUTORS.rst create mode 100644 partner_default_journal/readme/DESCRIPTION.rst create mode 100644 partner_default_journal/static/description/index.html diff --git a/partner_default_journal/README.rst b/partner_default_journal/README.rst index 7d28227cc..b504d9ee1 100644 --- a/partner_default_journal/README.rst +++ b/partner_default_journal/README.rst @@ -1,26 +1,63 @@ -.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png - :target: https://www.gnu.org/licenses/agpl - :alt: License: AGPL-3 - ======================= Partner default journal ======================= -* Allows you to define a default journal in partners in order to - populate orders and invoices automatically +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:97c9090d057f4f27c90b983dde89a0547ba9c473b46fcdcda11b01e437cb9b05 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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-nuobit%2Fodoo--addons-lightgray.png?logo=github + :target: https://github.com/nuobit/odoo-addons/tree/16.0/partner_default_journal + :alt: nuobit/odoo-addons + +|badge1| |badge2| |badge3| + +Set Default Sale and Purchase Journal on partner. + +**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 smashing it by providing a detailed and welcomed feedback. +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 +~~~~~~~ + +* NuoBiT Solutions SL + Contributors ------------- +~~~~~~~~~~~~ + +- [NuoBiT](https://www.nuobit.com): + - Kilian Niubo + - Eric Antones + - Deniz Gallo + +Maintainers +~~~~~~~~~~~ + +This module is part of the `nuobit/odoo-addons `_ project on GitHub. -* Eric Antones +You are welcome to contribute. diff --git a/partner_default_journal/__init__.py b/partner_default_journal/__init__.py index 21101d349..0650744f6 100644 --- a/partner_default_journal/__init__.py +++ b/partner_default_journal/__init__.py @@ -1,3 +1 @@ -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) - from . import models diff --git a/partner_default_journal/__manifest__.py b/partner_default_journal/__manifest__.py index 75d7ae5c1..1947060e6 100644 --- a/partner_default_journal/__manifest__.py +++ b/partner_default_journal/__manifest__.py @@ -1,12 +1,13 @@ # Copyright NuoBiT Solutions, S.L. () -# Eric Antones +# Copyright NuoBiT - Eric Antones +# Copyright 2025 NuoBiT - Deniz Gallo # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) { "name": "Partner default journal", "summary": "Set Default Sale and Purchase Journal on partner.", - "version": "14.0.1.0.0", - "author": "NuoBiT Solutions, S.L., Eric Antones", + "version": "16.0.0.0.0", + "author": "NuoBiT Solutions SL", "license": "AGPL-3", "category": "Accounting", "website": "https://github.com/nuobit/odoo-addons", @@ -14,5 +15,4 @@ "data": [ "views/res_partner_views.xml", ], - "installable": True, } diff --git a/partner_default_journal/models/__init__.py b/partner_default_journal/models/__init__.py index ebc4afce4..9a9d3d3a3 100644 --- a/partner_default_journal/models/__init__.py +++ b/partner_default_journal/models/__init__.py @@ -1,5 +1,3 @@ -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) - from . import account_invoice from . import res_partner from . import sale diff --git a/partner_default_journal/models/account_invoice.py b/partner_default_journal/models/account_invoice.py index ae1a09bcd..960e79187 100644 --- a/partner_default_journal/models/account_invoice.py +++ b/partner_default_journal/models/account_invoice.py @@ -1,5 +1,4 @@ -# Copyright NuoBiT Solutions, S.L. () -# Eric Antones +# Copyright NuoBiT - Eric Antones # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) from odoo import api, models diff --git a/partner_default_journal/models/res_partner.py b/partner_default_journal/models/res_partner.py index ce74014f9..cc73c2769 100644 --- a/partner_default_journal/models/res_partner.py +++ b/partner_default_journal/models/res_partner.py @@ -1,5 +1,4 @@ -# Copyright NuoBiT Solutions, S.L. () -# Eric Antones +# Copyright NuoBiT - Eric Antones # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) from odoo import fields, models diff --git a/partner_default_journal/models/sale.py b/partner_default_journal/models/sale.py index 9ea4af5bc..91030092f 100644 --- a/partner_default_journal/models/sale.py +++ b/partner_default_journal/models/sale.py @@ -1,5 +1,4 @@ -# Copyright NuoBiT Solutions, S.L. () -# Eric Antones +# Copyright NuoBiT - Eric Antones # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) from odoo import models diff --git a/partner_default_journal/readme/CONTRIBUTORS.rst b/partner_default_journal/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..0355cecbc --- /dev/null +++ b/partner_default_journal/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +- [NuoBiT](https://www.nuobit.com): + - Kilian Niubo + - Eric Antones + - Deniz Gallo diff --git a/partner_default_journal/readme/DESCRIPTION.rst b/partner_default_journal/readme/DESCRIPTION.rst new file mode 100644 index 000000000..ef0ac0717 --- /dev/null +++ b/partner_default_journal/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +Set Default Sale and Purchase Journal on partner. diff --git a/partner_default_journal/static/description/index.html b/partner_default_journal/static/description/index.html new file mode 100644 index 000000000..2ea659497 --- /dev/null +++ b/partner_default_journal/static/description/index.html @@ -0,0 +1,420 @@ + + + + + + +Partner default journal + + + +
+

Partner default journal

+ + +

Beta License: AGPL-3 nuobit/odoo-addons

+

Set Default Sale and Purchase Journal on partner.

+

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

+
    +
  • NuoBiT Solutions SL
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is part of the nuobit/odoo-addons project on GitHub.

+

You are welcome to contribute.

+
+
+
+ +