Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
f684377
[ADD] Add account_invoice_constraint_chronology
Aug 7, 2014
8b43fe0
[IMP] Use new API on account_invoice_constraint_chronology for accoun…
Aug 14, 2014
2e4086d
[IMP] account_inv/account_invoice_constraint_chronology doc spelling
sbidoul Aug 14, 2014
2c76b0b
[IMP] Exclude proforma2 state for draft invoice check on account_invo…
Aug 18, 2014
c12aac7
Add license key in __openerp__.py
yvaucher Feb 6, 2015
da5ef91
Add OCA as author of OCA addons
gurneyalex Mar 2, 2015
7f2af5c
[FIX] common.DB does not exist anymore in stable 8.0
sbidoul Jun 12, 2015
fbb7983
Add missing default oca icons
yvaucher Aug 18, 2015
db79d83
remove deprecated test suite declarations
gurneyalex Aug 27, 2015
7b260eb
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
0cf685f
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
bedac4e
[FIX] remove en.po that was erroneously created by transbot
sbidoul Aug 15, 2016
53d9f62
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
ec6db37
[MIG] account_invoice_constraint_chronology
GillesTephaneMeyomesse Mar 13, 2017
73b0229
[IMP] a_i_c_chronology: better check for previously validated invoices
sbidoul Mar 14, 2017
7fef6fe
[FIX] cleanup
GillesTephaneMeyomesse Mar 14, 2017
a6fb764
[IMP] a_i_c_chronology: improve/fox onchange
sbidoul May 29, 2017
98a29ee
[IMP] a_i_c_chronology: simplify if statements
sbidoul May 29, 2017
26b2d6c
[IMP] a_i_c_chronology: cosmetics, pylint
sbidoul May 29, 2017
48ea145
[MIG] account_invoice_constraint_chronology: Migration to 11.0
OpenCode Dec 19, 2017
ed3a4eb
minor fixes
rgarnau Jan 12, 2018
42bce36
[MIG] Account Invoice Constraint Chronology to 12.0
ThomasBinsfeld Jan 30, 2019
4c3d989
[REF] Account Invoice Constraint Chronology: prepare methods for domains
ThomasBinsfeld Jan 30, 2019
1d3dba0
[REF] Account Invoice Constraint Chronology: better messages
ThomasBinsfeld Feb 25, 2019
9834246
[REF] Account Invoice Constraint Chronology: improve code coverage
ThomasBinsfeld Apr 10, 2019
b9f1771
[UPD] README.rst
OCA-git-bot Jul 29, 2019
eadbb03
[FIX] Considering in-payment state and more info in alerts
Lopsanz Mar 24, 2020
f730387
account_invoice_constraint_chronology 12.0.1.0.1
OCA-git-bot Jul 19, 2020
098b71c
[IMP] - Chronology check depends on invoice type if journal is set to…
sbejaoui Feb 27, 2021
7563950
[UPD] README.rst
OCA-git-bot Mar 1, 2021
ab6a7b9
account_invoice_constraint_chronology 12.0.1.0.2
OCA-git-bot Mar 1, 2021
276cbc5
[IMP] account_invoice_constraint_chronology: black, isort, prettier
alexey-pelykh Apr 5, 2021
705dd8f
[MIG] account_invoice_constraint_chronology: Migration to 13.0
alexey-pelykh Apr 5, 2021
cbf6919
[IMP] account_invoice_constraint_chronology: black, isort, prettier
alexey-pelykh Apr 6, 2021
6a9686a
[MIG] account_invoice_constraint_chronology: Migration to 14.0
alexey-pelykh Apr 6, 2021
7137064
wip
alexey-pelykh Apr 8, 2021
da2f812
[UPD] README.rst
OCA-git-bot Jul 28, 2021
5165313
[FIX] account_invoice_constraint_chronology: modify past invoices
chienandalu Feb 17, 2022
3cbf241
[MIG] account_invoice_constraint_chronology: Migration to 15.0
Shide Mar 22, 2022
b4467e3
[FIX] Add journal_id when creating account move reversal on tests
Shide Mar 31, 2022
9beb855
[UPD] Update account_invoice_constraint_chronology.pot
Mar 31, 2022
10111ac
[UPD] README.rst
OCA-git-bot Mar 31, 2022
77cc0a5
account_invoice_constraint_chronology 15.0.1.0.1
OCA-git-bot Mar 31, 2022
f2ed343
[MIG] account_invoice_constraint_chronology: Migration to 16.0
AnizR Oct 6, 2022
554cbbf
Remove import test in __init__.py
AnizR Oct 6, 2022
e0d292f
[UPD] Update account_invoice_constraint_chronology.pot
Oct 19, 2022
7bb0e37
[UPD] README.rst
OCA-git-bot Oct 19, 2022
1f8e14e
account_invoice_constraint_chronology 16.0.1.0.2
OCA-git-bot Oct 19, 2022
69b0fea
Update translation files
weblate Oct 19, 2022
97a555d
Translated using Weblate (German)
marylla Nov 4, 2022
0e88cae
[UPD] Update account_invoice_constraint_chronology.pot
Nov 16, 2022
3ba1472
Update translation files
weblate Nov 16, 2022
4e8d29e
Translated using Weblate (Croatian)
badbole Jan 3, 2023
8eb9875
Translated using Weblate (Spanish)
Gelo-fl Apr 13, 2023
f821a27
Translated using Weblate (Portuguese (Brazil))
adrianojprado Jun 12, 2023
153b9f3
[FIX] account_invoice_constraint_chronology:
RodrigoBM Jun 15, 2023
747a068
[UPD] Update account_invoice_constraint_chronology.pot
Jun 27, 2023
50e0eb1
account_invoice_constraint_chronology 16.0.1.1.0
OCA-git-bot Jun 27, 2023
e280d29
Update translation files
weblate Jun 27, 2023
c70b9dc
Translated using Weblate (Spanish)
Ivorra78 Jul 28, 2023
c09bcc2
[UPD] README.rst
OCA-git-bot Sep 3, 2023
718926a
Update translation files
weblate Oct 9, 2023
1a04b6f
Translated using Weblate (Italian)
francesco-ooops Oct 13, 2023
f5887e3
Translated using Weblate (Dutch)
Dec 19, 2023
adde694
Translated using Weblate (Dutch)
sbidoul Jan 13, 2024
223451c
Translated using Weblate (Dutch)
sbidoul Jan 13, 2024
c996e35
Translated using Weblate (Italian)
mymage Feb 22, 2024
308b9ff
Translated using Weblate (Swedish)
jakobkrabbe Feb 27, 2024
6b67b9d
Translated using Weblate (Portuguese (Brazil))
May 17, 2024
44a6964
Translated using Weblate (Portuguese (Brazil))
May 21, 2024
ea5b85e
Translated using Weblate (Portuguese (Brazil))
May 22, 2024
755591a
[17.0][MIG] account_invoice_constraint_chronology: Migration to 17.0
zuher83 May 27, 2024
c34945f
[ADD] account_invoice_constraint_chronology_in_date_range
Jun 13, 2024
f6fbce1
[MIG] account_invoice_constraint_chronology_in_date_range: Migration …
damdam-s Feb 5, 2026
155f8cc
wip fix
damdam-s Feb 5, 2026
a5adfdc
fix wip
damdam-s Feb 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 92 additions & 0 deletions account_invoice_constraint_chronology/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
=====================================
Account Invoice Constraint Chronology
=====================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:3b213d524eb0a4b7193c474453151b9a23012e2a8950db06190aa10293b79155
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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%2Faccount--financial--tools-lightgray.png?logo=github
:target: https://github.com/OCA/account-financial-tools/tree/17.0/account_invoice_constraint_chronology
: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-17-0/account-financial-tools-17-0-account_invoice_constraint_chronology
: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=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module helps ensuring the chronology of invoice numbers.

It prevents the validation of invoices when:

- there are draft invoices with a prior date
- there are validated invoices with a later date
- there are validated invoices with a higher number

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-financial-tools/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 <https://github.com/OCA/account-financial-tools/issues/new?body=module:%20account_invoice_constraint_chronology%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
-------

* ACSONE SA/NV
* CorporateHub

Contributors
------------

- Adrien Peiffer (`Acsone SA/NV <http://www.acsone.eu>`__)
- Gilles Gilles <meyomesse.gilles@gmail.com>
- Francesco Apruzzese <f.apruzzese@apuliasoftware.it>
- Thomas Binsfeld <thomas.binsfeld@acsone.eu>
- Souheil Bejaoui <souheil.bejaoui@acsone.eu>
- `CorporateHub <https://corporatehub.eu/>`__

- Alexey Pelykh <alexey.pelykh@corphub.eu>

- Zuher (https://github.com/zuher83)

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/account-financial-tools <https://github.com/OCA/account-financial-tools/tree/17.0/account_invoice_constraint_chronology>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions account_invoice_constraint_chronology/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import model
13 changes: 13 additions & 0 deletions account_invoice_constraint_chronology/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright 2015-2019 ACSONE SA/NV (<http://acsone.eu>)
# Copyright 2021 CorporateHub (https://corporatehub.eu)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Account Invoice Constraint Chronology",
"version": "17.0.1.0.0",
"author": "Odoo Community Association (OCA), ACSONE SA/NV, CorporateHub",
"website": "https://github.com/OCA/account-financial-tools",
"license": "AGPL-3",
"category": "Accounting",
"depends": ["account"],
"data": ["view/account_journal.xml"],
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_constraint_chronology
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.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: account_invoice_constraint_chronology
#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology
msgid "Check Chronology"
msgstr ""

#. module: account_invoice_constraint_chronology
#. odoo-python
#: code:addons/account_invoice_constraint_chronology/model/account_move.py:0
#, python-format
msgid ""
"Chronology conflict: A conflicting draft invoice dated before {date_invoice}"
" exists, please validate it first."
msgstr ""

#. module: account_invoice_constraint_chronology
#. odoo-python
#: code:addons/account_invoice_constraint_chronology/model/account_move.py:0
#, python-format
msgid ""
"Chronology conflict: A conflicting validated invoice dated after "
"{date_invoice} exists."
msgstr ""

#. module: account_invoice_constraint_chronology
#. odoo-python
#: code:addons/account_invoice_constraint_chronology/model/account_move.py:0
#, python-format
msgid ""
"Chronology conflict: An invoice with a higher number {highest_name} dated "
"before {date_invoice} exists."
msgstr ""

#. module: account_invoice_constraint_chronology
#. odoo-python
#: code:addons/account_invoice_constraint_chronology/model/account_move.py:0
#, python-format
msgid ""
"Chronology conflict: Invoice {name} cannot be {time} invoice {inv_name}."
msgstr ""

#. module: account_invoice_constraint_chronology
#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal
msgid "Journal"
msgstr ""

#. module: account_invoice_constraint_chronology
#: model:ir.model,name:account_invoice_constraint_chronology.model_account_move
msgid "Journal Entry"
msgstr ""
73 changes: 73 additions & 0 deletions account_invoice_constraint_chronology/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_constraint_chronology
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: account-financial-tools (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-01-30 16:31+0000\n"
"PO-Revision-Date: 2015-06-03 15:57+0000\n"
"Last-Translator: <>\n"
"Language-Team: Arabic (http://www.transifex.com/oca/OCA-account-financial-"
"tools-8-0/language/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: account_invoice_constraint_chronology
#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology
msgid "Check Chronology"
msgstr ""

#. module: account_invoice_constraint_chronology
#. odoo-python
#: code:addons/account_invoice_constraint_chronology/model/account_move.py:0
#, python-format
msgid ""
"Chronology conflict: A conflicting draft invoice dated before {date_invoice} "
"exists, please validate it first."
msgstr ""

#. module: account_invoice_constraint_chronology
#. odoo-python
#: code:addons/account_invoice_constraint_chronology/model/account_move.py:0
#, python-format
msgid ""
"Chronology conflict: A conflicting validated invoice dated after "
"{date_invoice} exists."
msgstr ""

#. module: account_invoice_constraint_chronology
#. odoo-python
#: code:addons/account_invoice_constraint_chronology/model/account_move.py:0
#, python-format
msgid ""
"Chronology conflict: An invoice with a higher number {highest_name} dated "
"before {date_invoice} exists."
msgstr ""

#. module: account_invoice_constraint_chronology
#. odoo-python
#: code:addons/account_invoice_constraint_chronology/model/account_move.py:0
#, python-format
msgid ""
"Chronology conflict: Invoice {name} cannot be {time} invoice {inv_name}."
msgstr ""

#. module: account_invoice_constraint_chronology
#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal
msgid "Journal"
msgstr "السجل اليومي"

#. module: account_invoice_constraint_chronology
#: model:ir.model,name:account_invoice_constraint_chronology.model_account_move
msgid "Journal Entry"
msgstr ""

#~ msgid "Invoice"
#~ msgstr "فاتورة"
72 changes: 72 additions & 0 deletions account_invoice_constraint_chronology/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_constraint_chronology
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-01-30 16:31+0000\n"
"PO-Revision-Date: 2018-03-30 02:39+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2018\n"
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"Language: bg\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: account_invoice_constraint_chronology
#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology
msgid "Check Chronology"
msgstr ""

#. module: account_invoice_constraint_chronology
#. odoo-python
#: code:addons/account_invoice_constraint_chronology/model/account_move.py:0
#, python-format
msgid ""
"Chronology conflict: A conflicting draft invoice dated before {date_invoice} "
"exists, please validate it first."
msgstr ""

#. module: account_invoice_constraint_chronology
#. odoo-python
#: code:addons/account_invoice_constraint_chronology/model/account_move.py:0
#, python-format
msgid ""
"Chronology conflict: A conflicting validated invoice dated after "
"{date_invoice} exists."
msgstr ""

#. module: account_invoice_constraint_chronology
#. odoo-python
#: code:addons/account_invoice_constraint_chronology/model/account_move.py:0
#, python-format
msgid ""
"Chronology conflict: An invoice with a higher number {highest_name} dated "
"before {date_invoice} exists."
msgstr ""

#. module: account_invoice_constraint_chronology
#. odoo-python
#: code:addons/account_invoice_constraint_chronology/model/account_move.py:0
#, python-format
msgid ""
"Chronology conflict: Invoice {name} cannot be {time} invoice {inv_name}."
msgstr ""

#. module: account_invoice_constraint_chronology
#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal
msgid "Journal"
msgstr ""

#. module: account_invoice_constraint_chronology
#: model:ir.model,name:account_invoice_constraint_chronology.model_account_move
msgid "Journal Entry"
msgstr ""

#~ msgid "Invoice"
#~ msgstr "Фактура"
73 changes: 73 additions & 0 deletions account_invoice_constraint_chronology/i18n/bs.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_constraint_chronology
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: account-financial-tools (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-01-30 16:31+0000\n"
"PO-Revision-Date: 2015-06-03 15:57+0000\n"
"Last-Translator: <>\n"
"Language-Team: Bosnian (http://www.transifex.com/oca/OCA-account-financial-"
"tools-8-0/language/bs/)\n"
"Language: bs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"

#. module: account_invoice_constraint_chronology
#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology
msgid "Check Chronology"
msgstr ""

#. module: account_invoice_constraint_chronology
#. odoo-python
#: code:addons/account_invoice_constraint_chronology/model/account_move.py:0
#, python-format
msgid ""
"Chronology conflict: A conflicting draft invoice dated before {date_invoice} "
"exists, please validate it first."
msgstr ""

#. module: account_invoice_constraint_chronology
#. odoo-python
#: code:addons/account_invoice_constraint_chronology/model/account_move.py:0
#, python-format
msgid ""
"Chronology conflict: A conflicting validated invoice dated after "
"{date_invoice} exists."
msgstr ""

#. module: account_invoice_constraint_chronology
#. odoo-python
#: code:addons/account_invoice_constraint_chronology/model/account_move.py:0
#, python-format
msgid ""
"Chronology conflict: An invoice with a higher number {highest_name} dated "
"before {date_invoice} exists."
msgstr ""

#. module: account_invoice_constraint_chronology
#. odoo-python
#: code:addons/account_invoice_constraint_chronology/model/account_move.py:0
#, python-format
msgid ""
"Chronology conflict: Invoice {name} cannot be {time} invoice {inv_name}."
msgstr ""

#. module: account_invoice_constraint_chronology
#: model:ir.model,name:account_invoice_constraint_chronology.model_account_journal
msgid "Journal"
msgstr "Dnevnik"

#. module: account_invoice_constraint_chronology
#: model:ir.model,name:account_invoice_constraint_chronology.model_account_move
msgid "Journal Entry"
msgstr ""

#~ msgid "Invoice"
#~ msgstr "Faktura"
Loading
Loading