2
0
Commit Graph

1379 Commits

Author SHA1 Message Date
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
Luis J. Salvatierra
92d40f66a2 [MIG] account_chart_update_l10n_eu_oss_oca: Migration to 16.0 2023-07-10 10:18:00 +02:00
Luis J. Salvatierra
0721adbb3a [IMP] account_chart_update_l10n_eu_oss_oca: pre-commit stuff 2023-07-10 10:18:00 +02:00
OCA-git-bot
0c90a85df8 [UPD] README.rst 2023-07-10 10:18:00 +02:00
oca-ci
df52d1208f [UPD] Update account_chart_update_l10n_eu_oss_oca.pot 2023-07-10 10:18:00 +02:00
Lois Rilo
c632915501 [ADD] account_chart_update_l10n_eu_oss_oca 2023-07-10 10:18:00 +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
Marcel Savegnago
9e3f2cacd8 [IMP] account_asset_management: add asset_profile_id and asset_id on invoice_lines form 2023-07-03 11:12:18 -03: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
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