Pedro M. Baeza b9d13cdc51 [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.
2021-01-13 07:53:35 +00:00
2021-01-12 19:38:42 +00:00
2020-11-20 11:11:09 +00:00
2021-01-12 19:38:42 +00:00
2020-10-08 21:04:14 +02:00
2020-10-08 21:04:14 +02:00
2020-10-08 21:04:14 +02:00
2020-10-08 21:04:14 +02:00
2020-10-08 21:04:14 +02:00
2020-11-01 21:34:36 +01:00
2020-12-11 19:25:01 +01:00
2020-10-08 21:04:14 +02:00
2020-10-08 21:04:14 +02:00
2020-10-08 21:04:14 +02:00
2021-01-12 19:38:40 +00:00

Runbot Status Build Status codecov Translation Status

account-financial-tools

TODO: add repo description.

Available addons

addon version summary
account_balance_line 14.0.1.0.0 Display balance totals in move line view
account_fiscal_position_vat_check 14.0.1.0.0 Check VAT on invoice validation
account_menu 14.0.1.0.0 Adds missing menu entries for Account module

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to 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%