Commit Graph

60 Commits

Author SHA1 Message Date
Hans Henrik Gabelgaard
48153fbc85 Translated using Weblate (Danish)
Currently translated at 72.2% (13 of 18 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_move_name_sequence
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_move_name_sequence/da/
2024-09-04 16:06:28 +00:00
Hans Henrik Gabelgaard
80a6b0cc9d Added translation using Weblate (Danish) 2024-09-04 13:12:38 +00:00
OCA-git-bot
58a58ecc8c [BOT] post-merge updates 2024-04-23 02:11:57 +00:00
Andrea Gidalti
c444427b22 [IMP] account_move_name_sequence: apply guidelines to name view files
Update name of view files to follow guidelines.
2024-04-22 20:02:24 -06:00
Andrea Gidalti
bad252a6ba [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 20:01:59 -06:00
OCA-git-bot
adfd0089d9 [BOT] post-merge updates 2024-04-23 01:46:44 +00:00
Moises Lopez - https://www.vauxoo.com/
6eb852c628 [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:27:57 -06:00
OCA-git-bot
203f724bc6 [BOT] post-merge updates 2024-04-22 20:53:06 +00:00
Alexandre D. Díaz
9fe8c7715e fix: account_move_name_sequence: tests: Listen to exceptions for each thread individually" 2024-04-22 14:35:36 -06:00
OCA-git-bot
fa3fd47742 [BOT] post-merge updates 2024-04-17 16:37:13 +00:00
Moises Lopez - https://www.vauxoo.com/
1d62b25b6e [FW] account_move_name_sequence: Forward-Port of 14.0 to 15.0 2024-04-07 21:07:57 -06:00
Moises Lopez - https://www.vauxoo.com/
b15dbdd723 [IMP] account_move_name_sequence: pre-commit auto fixes 2024-04-07 19:50:18 -06:00
Weblate
36661a13ae Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_move_name_sequence
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_move_name_sequence/
2024-04-07 19:14:35 -06:00
Ivorra78
e0804408a6 Translated using Weblate (Spanish)
Currently translated at 100.0% (21 of 21 strings)

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_move_name_sequence
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_move_name_sequence/es/
2024-04-07 19:14:35 -06:00
Francesco Foresti
3a715d0de6 Added translation using Weblate (Italian) 2024-04-07 19:14:35 -06:00
Matjaz Mozetic
0ed4bdcd66 Added translation using Weblate (Slovenian) 2024-04-07 19:14:35 -06:00
Pierre Verkest
40158ee0c3 Added translation using Weblate (French) 2024-04-07 19:14:34 -06:00
Bole
96cc3961ab Added translation using Weblate (Croatian) 2024-04-07 19:14:34 -06:00
Pierre Verkest
219cc32501 [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-07 19:14:34 -06:00
payen000
33a371cdb0 [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-07 18:58:14 -06:00
Ivorra78
3c2a76388b Translated using Weblate (Spanish)
Currently translated at 100.0% (18 of 18 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_move_name_sequence
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_move_name_sequence/es/
2023-10-10 19:36:10 +00:00
Ivorra78
d717ff0855 Added translation using Weblate (Spanish) 2023-10-10 17:39:38 +00:00
OCA-git-bot
9fdf115772 [UPD] README.rst 2023-09-03 11:19:29 +00:00
OCA-git-bot
5332bac632 account_move_name_sequence 15.0.1.2.2 2023-08-28 14:47:09 +00:00
Andrea Stirpe
3a90e0856d [FIX] account_move_name_sequence: do not create duplicated sequences 2023-08-28 09:31:33 +02:00
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