Commit Graph

35 Commits

Author SHA1 Message Date
OCA-git-bot
518d2f86f4 account_move_name_sequence 15.0.1.2.1 2023-01-24 19:54:58 +00:00
Rodrigo
d4f2629b08 [FIX] account_move_name_sequence: With the "account_move_name_sequence" module the "_get_last_sequence" method does not have to propagate the with_prefix parameter. The sequence_prefix parameter will not be completed and will give error as it is False in this line of code. https://github.com/OCA/OCB/blob/15.0/addons/account/models/sequence_mixin.py#L164 2023-01-24 17:14:30 +01:00
OCA-git-bot
b8d6e2e6f0 account_move_name_sequence 15.0.1.2.0 2022-12-02 17:00:00 +00:00
Rodrigo
0252ca911f [FIX] account_move_name_sequence: issue #1465 vals get refund_sequence true if value not get in vals 2022-12-02 15:30:29 +01:00
OCA-git-bot
4a00926248 account_move_name_sequence 15.0.1.1.1 2022-12-01 18:55:22 +00:00
Fernanda Hernández
86814d3ae9 [FIX] account_move_name_sequence: call flush before to post the moves 2022-11-30 00:03:58 +00:00
OCA-git-bot
3c95e71fc0 account_move_name_sequence 15.0.1.1.0 2022-07-09 18:22:48 +00:00
Pierre Verkest
d0525798f0 [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-07-09 16:22:39 +02:00
OCA-git-bot
39bc7c2264 [UPD] README.rst 2022-05-26 22:16:28 +00:00
oca-ci
9d4bc76a45 [UPD] Update account_move_name_sequence.pot 2022-05-26 22:12:11 +00:00
Francisco Javier Luna Vazquez
e55ff74217 [FIX] account_move_name_sequence: Exclude no_gap sequences from _is_end_of_seq_chain 2022-05-26 16:30:39 -05:00
Francisco Javier Luna Vazquez
fad863d367 [MIG] account_move_name_sequence: Migration to 15.0 2022-05-26 16:20:43 -05:00
OCA-git-bot
973b60fef5 account_move_name_sequence 14.0.1.2.2 2022-05-26 15:31:08 -05:00
OCA-git-bot
38cf0b10b0 [UPD] README.rst 2022-05-26 15:31:08 -05:00
Francisco Javier Luna Vazquez
5291fe8ff8 [REF] account_move_name_sequence: Use Odoo native methods + Typos 2022-05-26 15:31:08 -05:00
OCA-git-bot
1eee18e2ad account_move_name_sequence 14.0.1.2.1 2022-05-26 15:31:08 -05:00
OCA-git-bot
b61a5e170e [UPD] README.rst 2022-05-26 15:31:08 -05:00
Moisés López
569b8988b0 [REF] account_move_name_sequence: Adding concurrency cases in README 2022-05-26 15:31:08 -05:00
OCA-git-bot
c1d4f617dd [UPD] README.rst 2022-05-26 15:31:08 -05:00
Moises Lopez
62eac201d7 [REF] account_move_name_sequence: Add maintainers to myself 2022-05-26 15:31:08 -05:00
OCA-git-bot
8bfe3c34d9 account_move_name_sequence 14.0.1.2.0 2022-05-26 15:31:08 -05:00
Moises Lopez
7b4cb6a85d [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-05-26 15:31:08 -05:00
OCA-git-bot
8c45738120 account_move_name_sequence 14.0.1.1.0 2022-05-26 15:31:08 -05:00
oca-ci
c4506daa0f [UPD] Update account_move_name_sequence.pot 2022-05-26 15:31:08 -05:00
Moises Lopez
d659e44985 [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-05-26 15:31:08 -05:00
OCA-git-bot
e6812f497b account_move_name_sequence 14.0.1.0.1 2022-05-26 15:31:08 -05:00
Moises Lopez
2e71e02cfa [FIX] account_move_name_sequence: Fix sequence domain to assign only if it is empty 2022-05-26 15:31:08 -05:00
OCA-git-bot
b052d3efb1 [ADD] icon.png 2022-05-26 15:31:08 -05:00
OCA-git-bot
b7578a93d8 [UPD] README.rst 2022-05-26 15:31:08 -05:00
oca-ci
ceb04fd9db [UPD] Update account_move_name_sequence.pot 2022-05-26 15:31:08 -05:00
Moises Lopez
ae05f6dfb2 [REF] account_move_name_sequence: Discard journals already configured 2022-05-26 15:31:08 -05:00
Moises Lopez
b5cbca9961 [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-05-26 15:31:08 -05:00
Moises Lopez
c23129b0c8 [REF] account_move_name_sequence: Add number_next_actual and date range lines data based on current moves 2022-05-26 15:31:08 -05:00
Alexis de Lattre
bee5d4c8b5 sequence is now required on journals
Add post-install script to create a sequence for all existing journals
Update README accordingly
2022-05-26 15:31:08 -05:00
Alexis de Lattre
89ab5bbae5 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-05-26 15:31:08 -05:00