2
0
Commit Graph

66 Commits

Author SHA1 Message Date
mde-spring
80c5077c22
[FIX] account_move_name_sequence: redefine _onchange_journal_id
In v16, _onchange_journal_id is defined to update name when journal_id is modified
During the creation of new account.move, this onchange is triggered and called the standard _compute_name method

How to reproduce issue:
* Create new invoice
=> Name is defined instead of to be 'Draft'
2023-10-26 10:51:59 +02:00
OCA-git-bot
a73a707198 [BOT] post-merge updates 2023-10-18 15:48:44 +00:00
BT-anieto
e3706c313d [FIX] account_move_name_sequence: call _inverse_name after computing the name
The core compute function for the name is calling at the end the function self._inverse_name(),
which updates the payment_reference when required.
This code was currently missing, causing the payment_reference not being properly computed,
for example, when using QR-Bills.
2023-10-18 07:52:25 +02:00
Weblate
578464ca7a 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_move_name_sequence
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_name_sequence/
2023-10-09 21:26:54 +00:00
OCA-git-bot
9ce3c3c3e8 [BOT] post-merge updates 2023-10-09 18:58:44 +00:00
OCA-git-bot
e9b17f371c Merge PR #1738 into 16.0
Signed-off-by moylop260
2023-10-09 18:49:19 +00:00
Andrea Gidalti
79c62a9af6 [REF] account_move_name_sequence: rename hooks file
Rename hooks file and use post_init_hook method to create journal sequences
after module installation.
2023-10-09 18:41:36 +00:00
OCA-git-bot
92efb0cb9d [UPD] README.rst 2023-09-03 11:22:10 +00:00
Hussain Hammad
f42ae1de75 Translated using Weblate (Arabic)
Currently translated at 70.0% (14 of 20 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_name_sequence
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_name_sequence/ar/
2023-09-02 21:55:57 +00:00
Hussain Hammad
61e4a2667f Added translation using Weblate (Arabic) 2023-09-02 21:55:57 +00:00
OCA-git-bot
967fef3249 account_move_name_sequence 16.0.1.1.4 2023-08-24 16:04:15 +00:00
Andrea Stirpe
a015ec61f8 [FIX] account_move_name_sequence: do not create duplicated sequences 2023-08-24 13:22:31 +02:00
Alexis de Lattre
a826c91fd0 Translated using Weblate (French)
Currently translated at 100.0% (20 of 20 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_name_sequence
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_name_sequence/fr/
2023-06-09 00:10:28 +00:00
gelo joga Rodríguez
45a9e2ee60 Translated using Weblate (Spanish)
Currently translated at 100.0% (20 of 20 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_name_sequence
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_name_sequence/es/
2023-04-13 12:33:15 +00:00
gelo joga Rodríguez
cf0920b029 Added translation using Weblate (Spanish) 2023-04-13 09:28:35 +00:00
Rémi
564018b271 Translated using Weblate (French)
Currently translated at 100.0% (20 of 20 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_name_sequence
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_name_sequence/fr/
2023-04-04 13:23:55 +00:00
Rémi
92d402f3a1 Added translation using Weblate (French) 2023-04-04 11:11:59 +00:00
Weblate
10b8a19400 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_move_name_sequence
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_name_sequence/
2023-03-16 09:40:40 +00:00
OCA-git-bot
396acb103c account_move_name_sequence 16.0.1.1.3 2023-03-16 09:00:02 +00:00
oca-ci
57fecf9158 [UPD] Update account_move_name_sequence.pot 2023-03-16 08:55:24 +00:00
remi-filament
550df5a298 [FIX] account_move_name_sequence: computed fields raising warning 2023-03-15 11:45:31 +01:00
Bole
fd3988accd Translated using Weblate (Croatian)
Currently translated at 100.0% (18 of 18 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_name_sequence
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_name_sequence/hr/
2023-02-16 10:09:02 +00:00
Bole
224d2fbd2b Translated using Weblate (Croatian)
Currently translated at 50.0% (9 of 18 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_name_sequence
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_name_sequence/hr/
2023-02-11 14:22:06 +00:00
Bole
b17f321694 Added translation using Weblate (Croatian) 2023-02-11 10:47:27 +00:00
OCA-git-bot
39ecbdd215 account_move_name_sequence 16.0.1.1.2 2023-01-31 13:26:21 +00:00
Rodrigo
0e5739c66f [FIX] account_move_name_sequence: Now you can unlink moves without check sequence fix: 6112f4f59a 2023-01-31 11:49:55 +01:00
OCA-git-bot
7c8c97b3fb account_move_name_sequence 16.0.1.1.1 2023-01-24 15:05:53 +00:00
Rodrigo
18f890187a [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/16.0/addons/account/models/sequence_mixin.py#L169 2023-01-20 12:11:00 +01:00
OCA-git-bot
3db3de802e account_move_name_sequence 16.0.1.1.0 2022-12-09 00:22:24 +00:00
OCA-git-bot
8c17eabdc9 [UPD] README.rst 2022-12-09 00:22:17 +00:00
Moisés López
b34052af33 [REF] account_move_name_sequence: Remove concurrency outdated cases from the readme 2022-12-08 15:54:22 -06:00
OCA-git-bot
c925a305db [UPD] README.rst 2022-12-08 21:47:57 +00:00
oca-ci
cb873856ab [UPD] Update account_move_name_sequence.pot 2022-12-08 21:44:58 +00:00
Rodrigo
ab8e59d69d [FIX] account_move_name_sequence: call flush before _fetch_duplicate_supplier_reference method
same issue https://github.com/OCA/account-financial-tools/issues/1501
this fix not working for v16 https://github.com/OCA/account-financial-tools/pull/1514
2022-12-08 11:36:41 +01:00
Rodrigo
346eb9d085 [FIX] account_move_name_sequence: issue #1465 vals get refund_sequence true if value not get in vals 2022-12-08 11:36:11 +01:00
Rodrigo
2d5f794ed5 [FIX] account_move_name_sequence: return sequence names do not add a space between name and returns. 2022-12-08 11:35:32 +01:00
Rodrigo
86eed6c1ed [MIG] account_move_name_sequence: Migration to 16.0 2022-12-08 11:35:30 +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