diff --git a/account_sequence_option/README.rst b/account_sequence_option/README.rst index 984b52beb..ef2b0c6dd 100644 --- a/account_sequence_option/README.rst +++ b/account_sequence_option/README.rst @@ -7,7 +7,7 @@ Account Sequence Option !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:9c050df168dabec54905eecdf02c85a15e2ab98ab86081822a234e3766d3416f + !! source digest: sha256:28733b1121285c3f10186d8b333d79bd9e5806cc6e3215364cc042cbc095a8f8 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png @@ -17,13 +17,13 @@ Account Sequence Option :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html :alt: License: LGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--financial--tools-lightgray.png?logo=github - :target: https://github.com/OCA/account-financial-tools/tree/15.0/account_sequence_option + :target: https://github.com/OCA/account-financial-tools/tree/16.0/account_sequence_option :alt: OCA/account-financial-tools .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_sequence_option + :target: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_sequence_option :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/account-financial-tools&target_branch=15.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/account-financial-tools&target_branch=16.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -70,7 +70,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. @@ -111,6 +111,6 @@ Current `maintainer `__: |maintainer-kittiu| -This module is part of the `OCA/account-financial-tools `_ project on GitHub. +This module is part of the `OCA/account-financial-tools `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_sequence_option/__manifest__.py b/account_sequence_option/__manifest__.py index b6e119893..646b8ecf7 100644 --- a/account_sequence_option/__manifest__.py +++ b/account_sequence_option/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Account Sequence Option", "summary": "Manage sequence options for account.move, i.e., invoice, bill, entry", - "version": "15.0.1.0.0", + "version": "16.0.1.0.0", "author": "Ecosoft, Odoo Community Association (OCA)", "development_status": "Alpha", "website": "https://github.com/OCA/account-financial-tools", diff --git a/account_sequence_option/static/description/index.html b/account_sequence_option/static/description/index.html index ea06ae5e5..54cf1cdd1 100644 --- a/account_sequence_option/static/description/index.html +++ b/account_sequence_option/static/description/index.html @@ -367,9 +367,9 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:9c050df168dabec54905eecdf02c85a15e2ab98ab86081822a234e3766d3416f +!! source digest: sha256:28733b1121285c3f10186d8b333d79bd9e5806cc6e3215364cc042cbc095a8f8 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Alpha License: LGPL-3 OCA/account-financial-tools Translate me on Weblate Try me on Runboat

+

Alpha License: LGPL-3 OCA/account-financial-tools Translate me on Weblate Try me on Runboat

This module extends module base_sequence_option and allow you to provide optional sequences for account.move documents, i.e., invoice, bill, journal entry.

To use this module, enable developer mode, and check “Use sequence options” @@ -415,7 +415,7 @@ Only for development or testing purpose, do not use in production.

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.

@@ -445,7 +445,7 @@ mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

kittiu

-

This module is part of the OCA/account-financial-tools project on GitHub.

+

This module is part of the OCA/account-financial-tools project on GitHub.

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

diff --git a/account_sequence_option/tests/test_account_sequence_option.py b/account_sequence_option/tests/test_account_sequence_option.py index fc5a373c5..4f30bb3e8 100644 --- a/account_sequence_option/tests/test_account_sequence_option.py +++ b/account_sequence_option/tests/test_account_sequence_option.py @@ -37,8 +37,6 @@ class TestAccountSequenceOption(TransactionCase): "default_move_journal_types": ("bank", "cash"), } move_form = Form(self.env["account.payment"].with_context(**ctx)) - move_form.payment_type = payment_type - move_form.partner_type = partner_type move_form.partner_id = self.partner_id payment = move_form.save() return payment @@ -93,5 +91,4 @@ class TestAccountSequenceOption(TransactionCase): self.invoice.action_post() self.assertEqual(old_name, self.invoice.name) - def test_constrains_date_sequence_true(self): - self.assertTrue(self.env["account.move"]._constrains_date_sequence()) + self.invoice._constrains_date_sequence()