2
0
Commit Graph

1096 Commits

Author SHA1 Message Date
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
Alexis de Lattre
e019b5c412 Translated using Weblate (French)
Currently translated at 100.0% (9 of 9 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_fiscal_position_vat_check
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_fiscal_position_vat_check/fr/
2023-06-08 12:11:44 +00:00
gelo joga Rodríguez
aa878a70a4 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_fiscal_year
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_fiscal_year/es/
2023-06-08 09:15:40 +00:00
gelo joga Rodríguez
c3c9b0f216 Translated using Weblate (Spanish)
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/es/
2023-06-07 19:09:22 +00:00
gelo joga Rodríguez
0f045cd0ec 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_journal_lock_date
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_journal_lock_date/es/
2023-06-07 19:09:22 +00:00
gelo joga Rodríguez
5344d7fdf7 Translated using Weblate (Spanish)
Currently translated at 100.0% (259 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/es/
2023-06-07 11:13:48 +00:00
OCA-git-bot
bfcd1583e0 [ADD] setup.py 2023-06-06 15:51:25 +00:00
OCA-git-bot
f28426d943 [UPD] README.rst 2023-06-06 15:51:25 +00:00
OCA-git-bot
ba5234263c [UPD] addons table in README.md 2023-06-06 15:51:22 +00:00
oca-ci
450ce85b85 [UPD] Update account_move_line_purchase_info.pot 2023-06-06 15:47:14 +00:00