2
0
OCA account financial tools fork
Go to file
Pedro M. Baeza a16a456511 [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-12-24 00:42:21 +01:00
.github/workflows Initialize 16.0 branch 2022-10-03 19:47:06 +02:00
account_asset_management [FIX] account_asset_management: Avoid error 2022-12-24 00:42:21 +01:00
account_fiscal_position_vat_check Update translation files 2022-11-16 12:40:49 +00:00
account_fiscal_year Update translation files 2022-11-16 09:24:51 +00:00
account_invoice_constraint_chronology Update translation files 2022-11-16 09:24:56 +00:00
account_journal_general_sequence account_journal_general_sequence 16.0.1.0.1 2022-12-23 11:21:56 +00:00
account_move_name_sequence account_move_name_sequence 16.0.1.1.0 2022-12-09 00:22:24 +00:00
account_usability Update translation files 2022-12-05 20:08:57 +00:00
setup [ADD] setup.py 2022-12-23 11:21:56 +00:00
.copier-answers.yml [IMP] update dotfiles [ci skip] 2022-12-11 22:20:47 +01:00
.editorconfig Initialize 16.0 branch 2022-10-03 19:47:06 +02:00
.eslintrc.yml Initialize 16.0 branch 2022-10-03 19:47:06 +02:00
.flake8 Initialize 16.0 branch 2022-10-03 19:47:06 +02:00
.gitignore Initialize 16.0 branch 2022-10-03 19:47:06 +02:00
.isort.cfg Initialize 16.0 branch 2022-10-03 19:47:06 +02:00
.pre-commit-config.yaml [IMP] update dotfiles [ci skip] 2022-12-11 22:20:47 +01:00
.prettierrc.yml Initialize 16.0 branch 2022-10-03 19:47:06 +02:00
.pylintrc Initialize 16.0 branch 2022-10-03 19:47:06 +02:00
.pylintrc-mandatory Initialize 16.0 branch 2022-10-03 19:47:06 +02:00
LICENSE Initialize 16.0 branch 2022-10-03 19:47:06 +02:00
README.md [UPD] addons table in README.md 2022-12-23 11:22:00 +00:00
requirements.txt [IMP] account_journal_general_sequence: pre-commit stuff 2022-12-23 10:26:07 +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_fiscal_position_vat_check 16.0.1.0.0 Check VAT on invoice validation
account_fiscal_year 16.0.1.0.1 eLBati Create Account Fiscal Year
account_invoice_constraint_chronology 16.0.1.0.2 Account Invoice Constraint Chronology
account_journal_general_sequence 16.0.1.0.1 yajo Add configurable sequence to account moves, per journal
account_move_name_sequence 16.0.1.1.0 alexis-via moylop260 frahikLV Generate journal entry number from sequence
account_usability 16.0.1.0.1 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.