2
0
Commit Graph

1133 Commits

Author SHA1 Message Date
OCA-git-bot
9e3d6febb7 Merge PR #1707 into 16.0
Signed-off-by pedrobaeza
2023-08-03 15:26:41 +00:00
Pedro M. Baeza
7a4c341e3a [IMP] account_chart_update: Create account groups in batch
For improving performance.
2023-08-03 17:09:13 +02:00
Enric Tobella
7feba6312b [IMP] account_chart_update: Update account groups too 2023-08-03 17:09:06 +02:00
Ivorra78
938dad1eb9 Translated using Weblate (Spanish)
Currently translated at 4.9% (6 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/es/
2023-07-29 10:11:09 +00:00
Ivorra78
3b84f771f3 Added translation using Weblate (Spanish) 2023-07-29 07:19:57 +00:00
Ivorra78
b317d5aa0c Translated using Weblate (Spanish)
Currently translated at 100.0% (31 of 31 strings)

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/es/
2023-07-28 21:10:54 +00:00
Ivorra78
08b95c08ab 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_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/es/
2023-07-28 21:10:54 +00:00
Ivorra78
cf5a2e9bd5 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-07-18 16:11:00 +00:00
Adriano Prado
27f30cdbeb Added translation using Weblate (Portuguese (Brazil)) 2023-07-13 11:45:34 +00:00
Francesco Foresti
c2dbd313be Translated using Weblate (Italian)
Currently translated at 100.0% (83 of 83 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_template
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_template/it/
2023-07-12 15:09:06 +00:00
OCA-git-bot
24d745c35a [UPD] addons table in README.md 2023-07-12 10:41:42 +00:00
OCA-git-bot
e165e920d3 account_chart_update 16.0.1.0.2 2023-07-12 10:41:36 +00:00
OCA-git-bot
3e7931d5bd Merge PR #1694 into 16.0
Signed-off-by pedrobaeza
2023-07-12 10:36:07 +00:00
Lois Rilo
ed1730598d [FIX] account_chart_update: do not repartion in groups + do append False IDs
1) In tax groups repartition lines are not used, however when creating
tax groups from templates the default repartition lines are created.
If you run the chart update again, it will detect those "useless"
default repartition lines and mark them to removal, raising an
error when trying to do so as a minial of 2 repartition lines are
needed (on base and one tax).

2) When matching taxes, if not match, do not add `False` to the list.
2023-07-12 11:06:04 +02:00
kikopeiro
8f520483b9 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-07-07 13:08:56 +00:00
OCA-git-bot
1f7f7a003f [UPD] addons table in README.md 2023-07-05 12:06:15 +00:00
OCA-git-bot
1347338192 account_asset_management 16.0.1.0.3 2023-07-05 12:06:08 +00:00
OCA-git-bot
d84b408614 Merge PR #1686 into 16.0
Signed-off-by AaronHForgeFlow
2023-07-05 12:01:35 +00:00
Rodrigo
03418626d3 [FIX] account_asset_management: pass for context correct active_id. If not specified the value of active_id will be that of account.asset.line. 2023-07-05 09:49:37 +02:00
OCA-git-bot
e642974d15 [UPD] addons table in README.md 2023-07-04 15:12:16 +00:00
OCA-git-bot
3c048d2ff5 account_asset_management 16.0.1.0.2 2023-07-04 15:12:11 +00:00
OCA-git-bot
46d91c8521 Merge PR #1685 into 16.0
Signed-off-by pedrobaeza
2023-07-04 15:07:49 +00:00
Jérémy Didderen
b0eed2f782 [FIX] account_asset_management - use company from env and not user 2023-07-04 10:08:13 +02:00
Adriano Prado
84e30fd0d3 Translated using Weblate (Portuguese (Brazil))
Currently translated at 95.1% (79 of 83 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_template
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_template/pt_BR/
2023-07-01 23:09:41 +00:00
Adriano Prado
3acbf40ac8 Translated using Weblate (Portuguese (Brazil))
Currently translated at 20.0% (4 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/pt_BR/
2023-07-01 23:09:40 +00:00
Adriano Prado
bb14968e70 Translated using Weblate (Portuguese (Brazil))
Currently translated at 9.7% (12 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-07-01 23:09:39 +00:00
Adriano Prado
f71baf4e24 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-07-01 23:09:38 +00:00
Adriano Prado
3dc7b117cf Translated using Weblate (Portuguese (Brazil))
Currently translated at 55.5% (5 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/pt_BR/
2023-07-01 23:09:36 +00:00
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