Pedro M. Baeza 73ce4ce508 [FIX] account_asset_management: Avoid error
Steps to reproduce the problem:

* Go to assets view
* Group by profile
* Unfold a group and click on an asset
* Click on "Journal Entries" smart-button
* Go back to the asset list
* Click again on the same asset (or another).
* Click on "Journal Entries" smart-button

Current behavior:

Error saying "KeyError: 'profile_id'"

Expected behavior:

No error

The cause for this is that Odoo stores in the context the key `group_by` with the
value `profile_id` in the specified chain of steps. That context entry is used for
grouping records in the list, and system tries to group the journal entries also
by that field, which doesn't exists in the other model, and thus the error.

We avoided it copying the context to be passes and leaving out that entry.
2022-04-13 10:57:57 +02:00
2022-04-04 11:13:24 +00:00
2022-04-04 11:19:32 +00:00
2022-04-04 11:38:01 +00:00
2022-02-17 08:48:28 +00:00
2022-04-04 11:38:02 +00:00
2021-10-17 16:32:50 +02:00
2022-03-30 21:38:26 +02:00
2021-10-17 16:32:50 +02:00
2021-10-17 16:32:50 +02:00
2021-10-17 16:32:50 +02:00
2021-10-17 16:32:50 +02:00
2021-10-17 16:32:50 +02:00
2021-10-17 16:32:50 +02:00
2021-10-17 16:32:50 +02:00
2022-04-04 11:38:00 +00:00

Runboat Pre-commit Status Build Status codecov Translation Status

account-financial-tools

TODO: add repo description.

Available addons

addon version maintainers summary
account_balance_line 15.0.1.0.0 Display balance totals in move line view
account_invoice_constraint_chronology 15.0.1.0.1 Account Invoice Constraint Chronology
account_lock_date_update 15.0.1.0.1 Allow an Account adviser to update locking date without having access to all technical settings
account_move_line_menu 15.0.1.0.0 Adds a Journal Items menu
account_move_line_purchase_info 15.0.1.0.1 Introduces the purchase order line to the journal items
account_move_line_sale_info 15.0.1.0.1 Introduces the purchase order line to the journal items
account_usability 15.0.1.0.0 legalsylvain Adds missing menu entries for Account module and adds the option to enable Saxon Accounting
base_vat_optional_vies 15.0.1.0.1 Optional validation of VAT via VIES
product_category_tax 15.0.1.0.0 Configure taxes in the product category

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA) policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Description
Odoo Accountant Financial Tools and Utils
Readme 117 MiB
Languages
Python 61.9%
HTML 38.1%