2
0
Commit Graph

68 Commits

Author SHA1 Message Date
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