2
0
Commit Graph

940 Commits

Author SHA1 Message Date
Rodrigo
a07eeda085 [IMP] : pre-commit stuff 2022-11-22 14:37:48 +01:00
OCA-git-bot
d07e939fad account_move_name_sequence 15.0.1.1.0 2022-11-22 14:36:51 +01:00
Pierre Verkest
6599bfd112 [FIX] account_move_name_sequence: Use account move date to compute prefix
In case you want name your invoice YYYY-MM-SEQ (ie: 2022-07-00001)
where:
 * YYYY: is the account move year
 * MM: is the account move month
 * SEQ: is a numerical sequence that is continue along the fiscal year
   assuming fiscal year is over two years (ie: from july to june next year)

Before this commit the sequence prefix use now() to be compute but the
range is selected with the account move date.

This commit make consistency computing prefix with the account
move date as well.

So account move manage the first janunary for the last day of
the previous year will properly use the account move date.

Co-authored-by: Alexis de Lattre <alexis.delattre@akretion.com>
2022-11-22 14:36:51 +01:00
OCA-git-bot
b70341d040 [UPD] README.rst 2022-11-22 14:36:51 +01:00
oca-ci
ad207c5f13 [UPD] Update account_move_name_sequence.pot 2022-11-22 14:36:51 +01:00
Francisco Javier Luna Vazquez
198724234a [FIX] account_move_name_sequence: Exclude no_gap sequences from _is_end_of_seq_chain 2022-11-22 14:36:51 +01:00
Francisco Javier Luna Vazquez
a800db0440 [MIG] account_move_name_sequence: Migration to 15.0 2022-11-22 14:36:51 +01:00
OCA-git-bot
3a1b342a62 account_move_name_sequence 14.0.1.2.2 2022-11-22 14:36:51 +01:00
OCA-git-bot
7f1c4ba12d [UPD] README.rst 2022-11-22 14:36:51 +01:00
Francisco Javier Luna Vazquez
1653cc46c2 [REF] account_move_name_sequence: Use Odoo native methods + Typos 2022-11-22 14:36:51 +01:00
OCA-git-bot
cdc7934b6d account_move_name_sequence 14.0.1.2.1 2022-11-22 14:36:51 +01:00
OCA-git-bot
4a0c64df4c [UPD] README.rst 2022-11-22 14:36:51 +01:00
Moisés López
f90d1bffb4 [REF] account_move_name_sequence: Adding concurrency cases in README 2022-11-22 14:36:51 +01:00
OCA-git-bot
3a698a9d24 [UPD] README.rst 2022-11-22 14:36:51 +01:00
Moises Lopez
3cd3182734 [REF] account_move_name_sequence: Add maintainers to myself 2022-11-22 14:36:51 +01:00
OCA-git-bot
d9df97e89d account_move_name_sequence 14.0.1.2.0 2022-11-22 14:36:51 +01:00
Moises Lopez
476532f871 [FIX] account_move_name_sequence: Fix required journal fields in view
The required flag was wrong for sequence_id and refund_sequence_id

So, it was not possible to store any change in journal for journal different to sale and purchase
2022-11-22 14:36:51 +01:00
OCA-git-bot
caf256db96 account_move_name_sequence 14.0.1.1.0 2022-11-22 14:36:51 +01:00
oca-ci
6caddd3b6c [UPD] Update account_move_name_sequence.pot 2022-11-22 14:36:51 +01:00
Moises Lopez
85cb94dc61 [REF] account_move_name_sequence: Moves with name '/' can not be posted
After remove required=True for journal.sequence_id field it is possible to post an invoice with misconfigured journal with empty sequence

So, this constraint will raise an error for this kind of cases since that using '/' could raise the unique constraint for all other moves
2022-11-22 14:36:51 +01:00
OCA-git-bot
5add0a43bd account_move_name_sequence 14.0.1.0.1 2022-11-22 14:36:51 +01:00
Moises Lopez
1a2b072c4e [FIX] account_move_name_sequence: Fix sequence domain to assign only if it is empty 2022-11-22 14:36:51 +01:00
OCA-git-bot
d45cda0ecb [ADD] icon.png 2022-11-22 14:36:51 +01:00
OCA-git-bot
7e0350aad0 [UPD] README.rst 2022-11-22 14:36:51 +01:00
oca-ci
9ac1af9106 [UPD] Update account_move_name_sequence.pot 2022-11-22 14:36:51 +01:00
Moises Lopez
52cbe647be [REF] account_move_name_sequence: Discard journals already configured 2022-11-22 14:36:51 +01:00
Moises Lopez
87f2818191 [FIX] ir_sequence: Fix creating date_range_seq with range_month and range_day
More info about:
 - https://github.com/odoo/odoo/pull/91019

TODO: Revert this commit after it is merged
2022-11-22 14:36:51 +01:00
Moises Lopez
d1d6874aad [REF] account_move_name_sequence: Add number_next_actual and date range lines data based on current moves 2022-11-22 14:36:51 +01:00
Alexis de Lattre
4aeaa9ca51 sequence is now required on journals
Add post-install script to create a sequence for all existing journals
Update README accordingly
2022-11-22 14:36:51 +01:00
Alexis de Lattre
42def7f06f Add module account_move_name_sequence
This module restores the good old behavior where journal entry numbers
were generated from a sequence configured on the journal.
2022-11-22 14:36:51 +01:00
Weblate
01ac457c8a Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_fiscal_position_vat_check
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_fiscal_position_vat_check/
2022-11-16 12:40:49 +00:00
Weblate
ea77826990 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_invoice_constraint_chronology
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_invoice_constraint_chronology/
2022-11-16 09:24:56 +00:00
Weblate
6fb3e16daa Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_fiscal_year
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_fiscal_year/
2022-11-16 09:24:51 +00:00
OCA-git-bot
490dddc875 [ADD] setup.py 2022-11-16 08:18:56 +00:00
OCA-git-bot
22a7790c18 [UPD] README.rst 2022-11-16 08:18:55 +00:00
OCA-git-bot
6c4400c47e [UPD] addons table in README.md 2022-11-16 08:18:54 +00:00
oca-ci
a2a844bae3 [UPD] Update account_fiscal_position_vat_check.pot 2022-11-16 08:16:33 +00:00
OCA-git-bot
68e8e87dd5 Merge PR #1480 into 16.0
Signed-off-by pedrobaeza
2022-11-16 08:14:22 +00:00
oca-ci
9c997b90c3 [UPD] Update account_invoice_constraint_chronology.pot 2022-11-16 08:03:19 +00:00
oca-ci
8730dc0410 [UPD] Update account_fiscal_year.pot 2022-11-16 08:03:18 +00:00
Pedro M. Baeza
0e25a1b56f
Merge pull request #1496 from Tecnativa/16.0-copier
[16.0][FIX] Update copier template
2022-11-16 09:01:13 +01:00
Pedro M. Baeza
9faa33ac51 [FIX] Update copier template
To fix Flake8 Gitlab problem.
2022-11-16 08:52:56 +01:00
Maria Sparenberg
96e3015456 Translated using Weblate (German)
Currently translated at 100.0% (5 of 5 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_invoice_constraint_chronology
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_invoice_constraint_chronology/de/
2022-11-04 13:45:17 +00:00
Sylvain LE GAL
235273d6f8
[FIX] typo in DESCRIPTION.rst
Co-authored-by: David Beal <david.beal@akretion.com>
2022-11-04 09:29:11 +01:00
Sylvain LE GAL
d8d2534a76 [MIG] account_fiscal_year_auto_create: from 12.0 to 16.0.
- depends on new OCA module account_fiscal_year
- bump version
- use new python convention
2022-11-04 00:10:13 +01:00
Sylvain LE GAL
88840c2df8 [IMP] account_fiscal_year_auto_create: black, isort, prettier 2022-11-04 00:00:49 +01:00
Pascal GOUHIER
1e1f60ed92 Translated using Weblate (French)
Currently translated at 100.0% (3 of 3 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_fiscal_year_auto_create
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_fiscal_year_auto_create/fr/
2022-11-04 00:00:42 +01:00
Pascal GOUHIER
35d029d57a Added translation using Weblate (French) 2022-11-04 00:00:42 +01:00
OCA-git-bot
679942a086 [ADD] icon.png 2022-11-04 00:00:42 +01:00
OCA-git-bot
4fd09fd2f4 [UPD] README.rst 2022-11-04 00:00:42 +01:00