2
0
Commit Graph

1155 Commits

Author SHA1 Message Date
Weblate
78bde5baa6 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_journal_general_sequence
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_journal_general_sequence/
2023-06-30 16:59:02 +00:00
OCA-git-bot
41f7aeeb2f [UPD] addons table in README.md 2023-06-30 16:58:46 +00:00
OCA-git-bot
197effd862 account_journal_general_sequence 16.0.2.0.1 2023-06-30 16:58:41 +00:00
OCA-git-bot
048273e612 [UPD] addons table in README.md 2023-06-30 16:58:37 +00:00
oca-ci
314625ed68 [UPD] Update account_journal_general_sequence.pot 2023-06-30 16:54:02 +00:00
OCA-git-bot
358925d8ce Merge PR #1665 into 16.0
Signed-off-by rafaelbn
2023-06-30 16:50:15 +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
69d5ffe23f [ADD] setup.py 2023-06-27 21:50:41 +00:00
OCA-git-bot
1a37afa1bc [UPD] README.rst 2023-06-27 21:50:40 +00:00
OCA-git-bot
dba7f5df76 [UPD] addons table in README.md 2023-06-27 21:50:37 +00:00
oca-ci
6ef8c1e112 [UPD] Update account_move_template.pot 2023-06-27 21:46:36 +00:00
OCA-git-bot
dec6a5f913 Merge PR #1663 into 16.0
Signed-off-by alexis-via
2023-06-27 21:43:07 +00:00
Weblate
06f904801f 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_invoice_constraint_chronology
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_invoice_constraint_chronology/
2023-06-27 12:26:46 +00:00
OCA-git-bot
0199f0b452 [UPD] addons table in README.md 2023-06-27 12:26:30 +00:00
OCA-git-bot
136ffd4aa9 account_invoice_constraint_chronology 16.0.1.1.0 2023-06-27 12:26:23 +00:00
oca-ci
5ea1cee654 [UPD] Update account_invoice_constraint_chronology.pot 2023-06-27 12:21:33 +00:00
OCA-git-bot
f66082ce4d Merge PR #1666 into 16.0
Signed-off-by rafaelbn
2023-06-27 12:18:26 +00:00
OCA-git-bot
a4f4237cbf [UPD] addons table in README.md 2023-06-26 12:54:53 +00: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
5364e84c35 Merge PR #1677 into 16.0
Signed-off-by yajo
2023-06-26 12:50:56 +00:00
Jairo Llopis
4e15e63732
[FIX] account_journal_general_sequence: optimize recomputes when renumbering
When calling `_next()` in a sequence, it issues calls to `search()`, especially if it is a no-gap or date-range-based sequence (which is common in this use case).

When doing a search, Odoo triggers recomputations. Thus, when doing both a write and a call to `_next()` in the same loop, Odoo had to flush to DB too often, causing a bottleneck.

Now, the process is more optimized:
1. Cache all new entry numbers.
2. Write them all.
3. Mark them all as modified at once, to batch-trigger recomputations.

To reduce the amount of recomputations, tracking is disabled for the entry number. After all, before renumbering there's already a warning telling you that you shouldn't renumber if you already published those entry numbers to your fiscal authority.

Another pseudo-improvement is that the info log is shorter. Enable debug logging to log the list of IDs changed.

A test was failing because it was relying on the fact that computations were not getting as lazy as they should. Manual flushes are added to imitate a user doing different invoice creations.

@moduon MT-3082
2023-06-26 13:50:12 +01:00
OCA-git-bot
50f0e3dd3a [UPD] addons table in README.md 2023-06-26 06:27:04 +00:00
OCA-git-bot
8fd2d5d028 account_asset_management 16.0.1.0.1 2023-06-26 06:26:58 +00:00
OCA-git-bot
d0f718c83f Merge PR #1674 into 16.0
Signed-off-by pedrobaeza
2023-06-26 06:23:22 +00:00
Saran440
a2807321b2 [FIX] account_asset_management: Allow to write on moves with no asset permission
Steps to reproduce the problem:

- User (Not accountant) create an invoice.
- Create invoice plan with Deposit on 1st Invoice
- Confirm Order > Register Deposit > Create and View bills
- It throws a permission error

That's because the search on asset lines is done always for each write on the account.move
if certain fields (like the date) are written.
2023-06-26 13:06:07 +07:00
Weblate
ad6f4412b8 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_journal_general_sequence
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_journal_general_sequence/
2023-06-23 11:47:29 +00:00
OCA-git-bot
8af3c34a29 [UPD] addons table in README.md 2023-06-23 11:47:14 +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
05bad3fcab Merge PR #1671 into 16.0
Signed-off-by yajo
2023-06-23 11:42:24 +00:00
Jairo Llopis
c08d76e211
[FIX] account_journal_general_sequence: unique entry number per journal
The sequence is applied per journal. Thus, we can't require one number per company, but per journal.

@moduon MT-3082
2023-06-23 12:34:07 +01:00
mymage
5b85edfa9e 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_fiscal_year
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_fiscal_year/it/
2023-06-22 10:10:21 +00:00
Alexis de Lattre
bf98e6149e Translated using Weblate (French)
Currently translated at 100.0% (33 of 33 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_usability
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_usability/fr/
2023-06-20 16:09:25 +00:00
Rodrigo
cc131fe081 [FIX] account_invoice_constraint_chronology:
inv5 YYYYMM20 posted
INV4 YYYYMM15 posted
INV3 YYYYMM10 posted
INV2 YYYYMM05 posted
INV1 YYYYMM01 posted
if we pass INV3 to draft and change the date to YYYYYMM15 or YYYYYMM05 it should be able to validate, but if we change the date higher than YYYYYMM15 or lower than YYYYYMM05 it should not be able to validate.
2023-06-15 14:53:57 +02:00
Adriano Prado
855e061e5c Translated using Weblate (Portuguese (Brazil))
Currently translated at 88.8% (230 of 259 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_asset_management/pt_BR/
2023-06-14 16:10:04 +00:00
Adriano Prado
9563f968b0 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (7 of 7 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_line_purchase_info
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_line_purchase_info/pt_BR/
2023-06-12 16:08:32 +00:00
Adriano Prado
90d4854f25 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (19 of 19 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_lock_date_update
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_lock_date_update/pt_BR/
2023-06-12 16:08:32 +00:00
Adriano Prado
6043fce4f6 Translated using Weblate (Portuguese (Brazil))
Currently translated at 8.9% (11 of 123 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_chart_update
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_chart_update/pt_BR/
2023-06-12 16:08:32 +00:00
Adriano Prado
9239911b69 Translated using Weblate (Portuguese (Brazil))
Currently translated at 76.0% (197 of 259 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_asset_management/pt_BR/
2023-06-12 16:08:31 +00:00
Adriano Prado
7abc155ad9 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (6 of 6 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_invoice_constraint_chronology
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_invoice_constraint_chronology/pt_BR/
2023-06-12 16:08:30 +00:00
Alexis de Lattre
35e45894ec [FIX] account_move_template: fix JS crash in analytic distribution
Add _check_company_auto = True where relevant
Fix layout of account.move.template form view
Code cleanup
2023-06-09 19:17:38 +02:00
Weblate
64fad228fc 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_cash_deposit
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_cash_deposit/
2023-06-09 14:46:33 +00:00
OCA-git-bot
b04cf76763 [UPD] addons table in README.md 2023-06-09 14:46:22 +00:00
OCA-git-bot
02041b7ad9 account_cash_deposit 16.0.1.2.0 2023-06-09 14:46:16 +00:00
oca-ci
9afb2abdf7 [UPD] Update account_cash_deposit.pot 2023-06-09 14:41:55 +00:00
OCA-git-bot
31e5e00d0f Merge PR #1661 into 16.0
Signed-off-by alexis-via
2023-06-09 14:37:29 +00: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
Alexis de Lattre
1e82971680 Translated using Weblate (French)
Currently translated at 100.0% (121 of 121 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_cash_deposit
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_cash_deposit/fr/
2023-06-09 00:10:28 +00:00
Alexis de Lattre
3d22f86977 account_cash_deposit: update string remplacement 2023-06-08 23:41:33 +02:00
Bole
c4251ace29 Translated using Weblate (Croatian)
Currently translated at 100.0% (7 of 7 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_line_purchase_info
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_line_purchase_info/hr/
2023-06-08 12:11:45 +00:00
mymage
a4c9b85430 Translated using Weblate (Italian)
Currently translated at 8.1% (10 of 123 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_chart_update
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_chart_update/it/
2023-06-08 12:11:44 +00:00