88 Commits

Author SHA1 Message Date
mymage
0bd4b7c9b0 Translated using Weblate (Italian)
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/it/
2024-08-19 09:58:47 +00:00
OCA-git-bot
064501a7aa [BOT] post-merge updates 2024-04-23 02:06:20 +00:00
OCA-git-bot
5ea6bc5559 Merge PR #1759 into 16.0
Signed-off-by moylop260
2024-04-23 01:58:16 +00:00
OCA-git-bot
766b30b51b [BOT] post-merge updates 2024-04-23 01:43:46 +00:00
Andrea Gidalti
c611768b68 [IMP] account_move_name_sequence: split too long context definition
Split the context definition in sequence_id and refund_sequence_id
fields into multiple lines to improve readability.
2024-04-22 19:42:02 -06:00
Andrea Gidalti
3c940ae310 [IMP] account_move_name_sequence: apply guidelines to name view files
Update name of view files to follow guidelines.
2024-04-22 19:42:02 -06:00
Moises Lopez - https://www.vauxoo.com/
d8fec98e91 [REF] account_move_name_sequence: Add unittest to create concurrency invoices
Add demo data with standard implementation sequences

In order to test locks issues without changing data (then reverting)
2024-04-22 19:31:55 -06:00
OCA-git-bot
3e7cc12014 [BOT] post-merge updates 2024-04-22 21:06:58 +00:00
Alexandre D. Díaz
e9eed49b5c fix: account_move_name_sequence: tests: Listen to exceptions for each thread individually" 2024-04-22 14:58:34 -06:00
OCA-git-bot
1dd520d28c [BOT] post-merge updates 2024-04-17 19:54:35 +00:00
Luis J. Salvatierra
db005ba894 [REF] account_move_name_sequence: Check invoice name based on journal entry sequence 2024-04-17 19:43:33 +00:00
OCA-git-bot
8e9ab05b54 [BOT] post-merge updates 2024-04-17 18:40:20 +00:00
Moises Lopez - https://www.vauxoo.com/
e1eef83bbd [FW] account_move_name_sequence: Forward-Port of 15.0 to 16.0 2024-04-17 18:25:51 +00:00
Moises Lopez - https://www.vauxoo.com/
7f0e28eecc [IMP] account_move_name_sequence: pre-commit auto fixes 2024-04-17 17:41:07 +00:00
Moises Lopez - https://www.vauxoo.com/
37cb577553 [FW] account_move_name_sequence: Forward-Port of 14.0 to 15.0 2024-04-17 11:23:03 -06:00
Moises Lopez - https://www.vauxoo.com/
727721d7a2 [IMP] account_move_name_sequence: pre-commit auto fixes 2024-04-17 11:23:03 -06:00
Matjaz Mozetic
237db23038 Added translation using Weblate (Slovenian) 2024-04-17 11:19:31 -06:00
Pierre Verkest
c62c1b4205 [FIX] account_move_name_sequence: avoid fallback on odoo sequence name
In case an alias is configured to fecth email to generate
account entries. the new_message method directly call the
_compute_name on account move which call the legacy code
provide by account odoo module which should be avoid here.

To reproduce:

* configure an alias on your purchase journal
* send an email to that alias
* the invoice is draft with a number

to mitigate this behavior the suggested patch overwritte
the former method '_compute_name' and call the new implemented
method '_compute_name_by_sequence'.
2024-04-17 11:19:28 -06:00
payen000
a1c7502046 [REF] account_move_name_sequence: Added concurrency tests related to sequence
A demo ir_sequence record with 'standard' implementation was
assigned to the payment journal so that no concurrency errors arise
from using 'no gap' sequences when attempting to create multiple payments.
2024-04-17 11:18:59 -06:00
Fernanda Hernández
8994bc25e1 [FIX] account_move_name_sequence: call flush before to post the moves 2024-04-17 10:59:55 -06:00
mymage
66b46ccb41 Added translation using Weblate (Italian) 2024-02-26 12:27:29 +00:00
OCA-git-bot
0c43ff9550 [BOT] post-merge updates 2023-11-21 19:27:29 +00:00
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