Pedro M. Baeza eff83ba8b8 [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.
2024-05-28 12:50:12 +02:00
2023-11-12 15:25:38 +01:00
2023-11-12 15:25:38 +01:00
2023-11-12 15:25:38 +01:00
2023-11-12 15:25:38 +01:00
2023-11-12 15:25:38 +01:00
2023-11-12 15:25:38 +01:00
2023-11-12 15:25:38 +01:00
2023-11-12 15:25:38 +01:00
2023-11-12 15:25:38 +01:00
2023-11-12 15:25:38 +01:00
2023-11-12 15:25:38 +01:00
2023-12-29 15:29:22 +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_move_print 17.0.1.0.0 JordiBForgeFlow Adds the option to print Journal Entries
account_move_template 17.0.1.0.0 Templates for recurring Journal Entries
account_usability 17.0.1.0.0 legalsylvain Adds missing menu entries for Account module and adds the option to enable Saxon Accounting

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%