2
0
Commit Graph

15 Commits

Author SHA1 Message Date
OCA-git-bot
197effd862 account_journal_general_sequence 16.0.2.0.1 2023-06-30 16:58:41 +00:00
Jairo Llopis
ddb5d15f53
[FIX] account_journal_general_sequence: fix multicompany
Instead of defining the new sequence as a field default, it is now a compute. This is because the sequence depends on the company, but we don't have the `company_id` field until the record is created.

Reduced the default number of padded zeroes to 8. This is a product decision.

The original implementation didn't make much sense because it allowed the user to set a different sequence per journal, but Odoo already has that kind of sequence. The only purpose of this module is to have a sequence *per company*. To avoid breaking too much, for now, when the journal sequence is the default one, we set it as readonly.

Limit the available sequences in the renumbering wizard. Display only those that you have access by your selected context companies. For some reason, Odoo doesn't filter sequences by company automatically.

@moduon MT-3076

Co-authored-by: Andrea Cattalani <22261939+anddago78@users.noreply.github.com>
2023-06-28 11:28:23 +01:00
OCA-git-bot
213c38eef5 account_journal_general_sequence 16.0.1.1.0 2023-06-26 12:54:46 +00:00
OCA-git-bot
68540bb7b7 account_journal_general_sequence 16.0.1.0.4 2023-06-23 11:47:09 +00:00
OCA-git-bot
49cba676e1 account_journal_general_sequence 16.0.1.0.3 2023-04-24 09:14:16 +00:00
OCA-git-bot
11a9075f5f account_journal_general_sequence 16.0.1.0.2 2023-02-01 09:09:50 +00:00
OCA-git-bot
c2594cc54c account_journal_general_sequence 16.0.1.0.1 2022-12-23 11:21:56 +00:00
Jairo Llopis
a6cbbed493
[MIG] account_journal_general_sequence: v16 modifications
@moduon MT-1921
2022-12-23 10:47:11 +00:00
OCA-git-bot
78367e5399
account_journal_general_sequence 15.0.1.0.4 2022-12-23 10:22:44 +00:00
OCA-git-bot
731c687a01
account_journal_general_sequence 15.0.1.0.3 2022-12-23 10:22:44 +00:00
OCA-git-bot
95d08792c3
account_journal_general_sequence 15.0.1.0.2 2022-12-23 10:22:43 +00:00
Jairo Llopis
4183ec5f5d
[FIX] account_journal_general_sequence: bottleneck at install
On databases with big amounts of account moves, installation would freeze Odoo for some minutes.

We skip now entry number computation at install, to avoid such cases.

@moduon MT-676
2022-12-23 10:22:43 +00:00
OCA-git-bot
5ced6ad1d8
account_journal_general_sequence 15.0.1.0.1 2022-12-23 10:22:43 +00:00
Jairo Llopis
cbff18b70f
[MIG] account_journal_general_sequence: Migration to 15.0 2022-12-23 10:22:43 +00:00
Jairo Llopis
1a1d816c7b
[ADD] account_journal_general_sequence: account move entry sequence
Under some legislations, account moves must follow a single sequence. Since Odoo removed this sequence number in recent versions, this information was lost.

With this module, you can force your account moves to follow a separate sequence. The sequence is automatic when a move is posted. Includes a wizard to reorder those numbers in the sequence.

@moduon MT-676
2022-12-23 10:22:43 +00:00