Commit Graph

1424 Commits

Author SHA1 Message Date
Marcel Savegnago
15b488712b [IMP] account_asset_management: add asset_profile_id and asset_id on invoice_lines form 2023-07-03 11:07:36 -03:00
OCA-git-bot
3ef792bdd4 [UPD] addons table in README.md 2023-06-26 12:03:59 +00:00
OCA-git-bot
f5c88726de account_journal_general_sequence 15.0.1.1.0 2023-06-26 12:03:54 +00:00
OCA-git-bot
117249c13c Merge PR #1675 into 15.0
Signed-off-by yajo
2023-06-26 11:57:18 +00:00
Jairo Llopis
0aad5b6dd6 [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 12:55:30 +01:00
OCA-git-bot
1a4c0e0b14 [UPD] addons table in README.md 2023-06-26 06:01:03 +00:00
OCA-git-bot
75fa6f76a4 account_asset_management 15.0.1.0.3 2023-06-26 06:00:57 +00:00
OCA-git-bot
1ef2e9a322 Merge PR #1670 into 15.0
Signed-off-by pedrobaeza
2023-06-26 05:56:00 +00:00
Saran440
4c5e7e6162 [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 09:09:33 +07:00
Weblate
dc7f149ff3 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_journal_general_sequence
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_journal_general_sequence/
2023-06-23 11:53:34 +00:00
OCA-git-bot
0b53de8eed [UPD] addons table in README.md 2023-06-23 11:53:14 +00:00
OCA-git-bot
8b0c391284 account_journal_general_sequence 15.0.1.0.6 2023-06-23 11:53:08 +00:00
OCA-git-bot
dbfdba7648 Merge PR #1672 into 15.0
Signed-off-by yajo
2023-06-23 11:44:35 +00:00
Jairo Llopis
66812c8ffe [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:43:58 +01:00
mymage
181970d0bc Translated using Weblate (Italian)
Currently translated at 100.0% (20 of 20 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_fiscal_year
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_fiscal_year/it/
2023-06-22 13:10:01 +00:00
Jesarregui
efeb0778af Translated using Weblate (Spanish)
Currently translated at 100.0% (3 of 3 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-base_vat_optional_vies
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-base_vat_optional_vies/es/
2023-06-07 12:08:29 +00:00
Jesarregui
29f940750b Translated using Weblate (Spanish)
Currently translated at 100.0% (20 of 20 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_journal_lock_date
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_journal_lock_date/es/
2023-06-06 18:08:25 +00:00
Jesarregui
a26328eda0 Translated using Weblate (Spanish)
Currently translated at 100.0% (20 of 20 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_fiscal_year
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_fiscal_year/es/
2023-06-06 18:08:25 +00:00
Francesco Foresti
b621baf085 Translated using Weblate (Italian)
Currently translated at 71.9% (64 of 89 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_check_deposit
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_check_deposit/it/
2023-06-06 14:12:17 +00:00
mymage
40dc38ad2d Translated using Weblate (Italian)
Currently translated at 71.9% (64 of 89 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_check_deposit
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_check_deposit/it/
2023-06-06 14:12:17 +00:00
OCA-git-bot
52cd8796e2 [UPD] addons table in README.md 2023-05-31 11:16:01 +00:00
OCA-git-bot
4b3669b66d account_fiscal_year 15.0.1.3.0 2023-05-31 11:15:55 +00:00
OCA-git-bot
777ae88eb0 Merge PR #1649 into 15.0
Signed-off-by AaronHForgeFlow
2023-05-31 11:09:31 +00:00
Andrea Stirpe
53e7ccc260 [FIX] account_fiscal_year: website in __manifest__.py 2023-05-31 11:57:57 +02:00
pere-aquarian
61d1517264 Translated using Weblate (Spanish)
Currently translated at 100.0% (83 of 83 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_move_template
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_move_template/es/
2023-05-25 12:12:27 +00:00
mymage
efdd0277d6 Translated using Weblate (Italian)
Currently translated at 100.0% (83 of 83 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_move_template
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_move_template/it/
2023-05-22 12:10:24 +00:00
mymage
c6ab5e384e Translated using Weblate (Italian)
Currently translated at 71.9% (64 of 89 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_check_deposit
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_check_deposit/it/
2023-05-18 16:42:08 +00:00
Francesco Foresti
26fcd78580 Translated using Weblate (Italian)
Currently translated at 40.0% (2 of 5 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_fiscal_month
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_fiscal_month/it/
2023-05-15 19:36:53 +00:00
Francesco Foresti
74f1ac6ad8 Translated using Weblate (Italian)
Currently translated at 100.0% (83 of 83 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_move_template
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_move_template/it/
2023-05-12 12:54:18 +00:00
Weblate
7aa496d380 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_move_fiscal_month
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_move_fiscal_month/
2023-05-11 12:36:55 +00:00
Weblate
91055de2a2 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_fiscal_month
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_fiscal_month/
2023-05-11 12:36:48 +00:00
OCA-git-bot
ed76b1fe56 [ADD] setup.py 2023-05-11 10:50:39 +00:00
OCA-git-bot
c9eef6c6eb [UPD] README.rst 2023-05-11 10:50:38 +00:00
OCA-git-bot
9eec37615f [UPD] addons table in README.md 2023-05-11 10:50:31 +00:00
oca-ci
78855f5758 [UPD] Update account_move_fiscal_month.pot 2023-05-11 10:45:34 +00:00
OCA-git-bot
e67e99263f Merge PR #1627 into 15.0
Signed-off-by AaronHForgeFlow
2023-05-11 10:41:14 +00:00
JasminSForgeFlow
4d1926a6dd [MIG] account_move_fiscal_month: Migration to 15.0 2023-05-11 14:49:00 +05:30
JasminSForgeFlow
d2ce712bbf [IMP] account_move_fiscal_month: black, isort, prettier 2023-05-11 14:49:00 +05:30
Douglas Custódio
0037ef09a0 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (3 of 3 strings)

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_move_fiscal_month
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_move_fiscal_month/pt_BR/
2023-05-11 14:49:00 +05:30
OCA-git-bot
420af1f8a3 [UPD] README.rst 2023-05-11 14:49:00 +05:30
oca-travis
886b685a61 [UPD] Update account_move_fiscal_month.pot 2023-05-11 14:49:00 +05:30
xavier-bouquiaux
f5f33c2588 [14.0][MIG] account_move_fiscal_month 2023-05-11 14:49:00 +05:30
remihb
92819ff597 [MIG] account_move_fiscal_month: Migration to 13.0 2023-05-11 14:49:00 +05:30
remihb
2856af8c9d [IMP] account_move_fiscal_month: black, isort, prettier 2023-05-11 14:49:00 +05:30
OCA-git-bot
018c0e1b65 account_move_fiscal_month 12.0.1.1.1 2023-05-11 14:49:00 +05:30
Matjaz Mozetic
93df7b655e Translated using Weblate (Slovenian)
Currently translated at 66.7% (2 of 3 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_move_fiscal_month
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_move_fiscal_month/sl/
2023-05-11 14:49:00 +05:30
Maurício Liell
2ec180ccf1 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (3 of 3 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_move_fiscal_month
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_move_fiscal_month/pt_BR/
2023-05-11 14:49:00 +05:30
Janire Olaguibel
e4defbc34b [12.0][FIX] account_move_fiscal_month: error when creating account.move 2023-05-11 14:49:00 +05:30
Maria Sparenberg
ffd34d3d25 Translated using Weblate (German)
Currently translated at 100.0% (3 of 3 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_move_fiscal_month
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_move_fiscal_month/de/
2023-05-11 14:49:00 +05:30
Bole
7674a869d7 Translated using Weblate (Croatian)
Currently translated at 100.0% (3 of 3 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_move_fiscal_month
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_move_fiscal_month/hr/
2023-05-11 14:49:00 +05:30