Pedro M. Baeza f695ee7ffc [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.
2020-03-18 19:50:47 +01:00
2020-03-14 11:47:13 +01:00
2020-03-14 11:47:13 +01:00
2020-03-14 11:47:13 +01:00
2020-03-14 11:47:13 +01:00
2020-03-10 18:40:00 +00:00
2020-03-14 11:47:13 +01:00
2020-03-14 11:47:13 +01:00
2019-10-11 23:59:09 +02:00
2019-09-29 23:26:19 +02:00
2020-03-14 11:47:13 +01:00
2020-03-14 11:47:13 +01:00
2020-03-14 11:47:13 +01:00
2019-10-12 11:56:17 +02:00
2020-03-14 11:47:13 +01:00
2019-10-11 23:59:09 +02:00
2019-09-29 23:26:19 +02:00

Licence Runbot Status Build Status Coverage Status

Account financial Tools for Odoo/OpenERP

This project aims to make the accounting usage system easy and painless. It provides addons to:

  • Update the currency rate automatically via web services
  • Push credit management and follow up to next level
  • Generate reversed account moves
  • Cancel invoices with ease
  • Force draft accounting by default
  • Enforce partners on account moves

And much more.

Contributing

Do you want to contribute? Please read our contributing guidelines.

Translation Status

Transifex Status

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