Commit Graph

46 Commits

Author SHA1 Message Date
Weblate
50c096674e 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/
2023-10-09 19:06:57 +00:00
OCA-git-bot
e2973dda44 [UPD] README.rst 2023-09-03 11:19:12 +00:00
Claude R Perrin
6eb0de3548 Translated using Weblate (French)
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/fr/
2023-06-04 08:08:12 +00:00
Francesco Foresti
3f744062d4 Added translation using Weblate (Italian) 2023-05-18 09:52:27 +00:00
OCA-git-bot
ee7570df07 account_move_name_sequence 14.0.1.4.1 2023-04-01 17:59:48 +00:00
OCA-git-bot
ac5b13ea3f Merge PR #1623 into 14.0
Signed-off-by moylop260
2023-04-01 17:48:29 +00:00
Matjaz Mozetic
d363576879 Translated using Weblate (Slovenian)
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/sl/
2023-03-30 12:22:23 +00:00
Matjaz Mozetic
476d201d01 Added translation using Weblate (Slovenian) 2023-03-30 10:08:53 +00:00
Pierre Verkest
4733733066 [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'.
2023-03-27 11:38:57 +02:00
Pierre Verkest
6f458e5450 Translated using Weblate (French)
Currently translated at 95.2% (20 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/fr/
2022-12-26 11:44:42 +00:00
Pierre Verkest
a2df690ae2 Added translation using Weblate (French) 2022-12-26 08:25:53 +00:00
OCA-git-bot
e451e1a043 account_move_name_sequence 14.0.1.4.0 2022-12-02 17:01:05 +00:00
Rodrigo
a04318cdc9 [FIX] account_move_name_sequence: issue #1465 vals get refund_sequence true if value not get in vals 2022-12-02 15:26:13 +01:00
OCA-git-bot
b50bc9da55 account_move_name_sequence 14.0.1.3.2 2022-12-01 18:56:18 +00:00
Fernanda Hernández
d091f3a411 [FIX] account_move_name_sequence: call flush before to post the moves 2022-11-29 23:47:24 +00:00
Bole
4b3bb15b21 Translated using Weblate (Croatian)
Currently translated at 80.9% (17 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/hr/
2022-08-22 21:07:04 +00:00
Bole
fd6324ee03 Added translation using Weblate (Croatian) 2022-08-22 18:30:44 +00:00
OCA-git-bot
49abfc7f1b account_move_name_sequence 14.0.1.3.1 2022-08-20 05:35:20 +00:00
payen000
a958cd7e53 [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.
2022-08-17 19:10:38 +00:00
OCA-git-bot
8dc54086cc account_move_name_sequence 14.0.1.3.0 2022-07-08 07:23:51 +00:00
Pierre Verkest
c60ad5c4b2 [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-08 08:38:35 +02:00
OCA-git-bot
ad3380a70c account_move_name_sequence 14.0.1.2.2 2022-05-26 19:27:25 +00:00
OCA-git-bot
a44491111e [UPD] README.rst 2022-05-26 19:27:25 +00:00
Francisco Javier Luna Vazquez
9b949617a0 [REF] account_move_name_sequence: Use Odoo native methods + Typos 2022-05-26 11:03:33 -05:00
OCA-git-bot
b513f9200f account_move_name_sequence 14.0.1.2.1 2022-05-20 14:55:28 +00:00
OCA-git-bot
98ba020719 [UPD] README.rst 2022-05-20 14:55:28 +00:00
Moisés López
57e9cf946d [REF] account_move_name_sequence: Adding concurrency cases in README 2022-05-20 09:48:52 -05:00
OCA-git-bot
4f802482c6 [UPD] README.rst 2022-05-13 17:52:55 +00:00
Moises Lopez
24dfffa0bf [REF] account_move_name_sequence: Add maintainers to myself 2022-05-13 17:47:39 +00:00
OCA-git-bot
d6f51bdcec account_move_name_sequence 14.0.1.2.0 2022-05-13 17:42:49 +00:00
OCA-git-bot
6620139cd9 Merge PR #1398 into 14.0
Signed-off-by moylop260
2022-05-13 17:36:26 +00:00
Moises Lopez
d4c8190602 [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-13 17:16:17 +00:00
OCA-git-bot
eb3293440c account_move_name_sequence 14.0.1.1.0 2022-05-13 17:12:07 +00:00
oca-ci
712e1abc98 [UPD] Update account_move_name_sequence.pot 2022-05-13 17:06:25 +00:00
OCA-git-bot
f0da44c180 Merge PR #1397 into 14.0
Signed-off-by moylop260
2022-05-13 17:03:53 +00:00
Moises Lopez
d8ca0ae8e2 [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-13 16:54:25 +00:00
OCA-git-bot
383c8ac13e account_move_name_sequence 14.0.1.0.1 2022-05-13 15:59:23 +00:00
Moises Lopez
49a88117ff [FIX] account_move_name_sequence: Fix sequence domain to assign only if it is empty 2022-05-13 15:34:58 +00:00
OCA-git-bot
052c1bb8be [ADD] icon.png 2022-05-12 17:05:16 +00:00
OCA-git-bot
a9e8140d97 [UPD] README.rst 2022-05-12 17:05:15 +00:00
oca-ci
32d360edda [UPD] Update account_move_name_sequence.pot 2022-05-12 17:00:22 +00:00
Moises Lopez
da2fbbd2d7 [REF] account_move_name_sequence: Discard journals already configured 2022-05-11 17:21:04 +00:00
Moises Lopez
f9a413ef11 [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-10 20:30:42 +00:00
Moises Lopez
56d3d0ee36 [REF] account_move_name_sequence: Add number_next_actual and date range lines data based on current moves 2022-05-10 20:30:42 +00:00
Alexis de Lattre
b8ad36239d sequence is now required on journals
Add post-install script to create a sequence for all existing journals
Update README accordingly
2021-11-02 12:00:06 +01:00
Alexis de Lattre
e53aeb87f7 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.
2021-09-08 12:00:18 +02:00