Moises Lopez
4295d429db
[REF] account_move_name_sequence: Add maintainers to myself
2023-11-13 12:19:44 +01:00
Moises Lopez
6c55c7b586
[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
2023-11-13 12:19:44 +01:00
Moises Lopez
8f518c23ba
[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
2023-11-13 12:19:44 +01:00
Moises Lopez
93547ac668
[FIX] account_move_name_sequence: Fix sequence domain to assign only if it is empty
2023-11-13 12:19:44 +01:00
Moises Lopez
eda36c1dbe
[REF] account_move_name_sequence: Discard journals already configured
2023-11-13 12:19:44 +01:00
Moises Lopez
a8800c9c62
[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
2023-11-13 12:14:34 +01:00
Moises Lopez
d7a7e368c3
[REF] account_move_name_sequence: Add number_next_actual and date range lines data based on current moves
2023-11-13 12:14:34 +01:00
Alexis de Lattre
e6ae066a47
sequence is now required on journals
...
Add post-install script to create a sequence for all existing journals
Update README accordingly
2023-11-13 12:14:34 +01:00
Alexis de Lattre
9c250274c6
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.
2023-11-13 12:14:34 +01:00