OCA account financial tools fork
1067d0ea1b
Under some weird scenarios where some modules are involved, several invoices are posted at the same time, and no invoice exists, we could get to the case when `one.date` or `one.name` were `False`.
Here I provide a default value to avoid comparing `str` to `bool` in those cases.
Tried a lot but couldn't reproduce the test case in code, sorry 😕. However, the traceback was clear:
```
File "/opt/odoo/auto/addons/account_journal_general_sequence/models/account_move.py", line 64, in _compute_entry_number
for move in chosen.sorted(lambda one: (one.date, one.name, one.id)):
File "/opt/odoo/custom/src/odoo/odoo/models.py", line 5583, in sorted
ids = tuple(item.id for item in sorted(self, key=key, reverse=reverse))
TypeError: '<' not supported between instances of 'str' and 'bool'
```
@moduon MT-5559
|
||
---|---|---|
.github/workflows | ||
account_account_tag_code | ||
account_asset_batch_compute | ||
account_asset_management | ||
account_cash_deposit | ||
account_chart_update | ||
account_chart_update_l10n_eu_oss_oca | ||
account_fiscal_month | ||
account_fiscal_position_vat_check | ||
account_fiscal_year | ||
account_fiscal_year_auto_create | ||
account_invoice_constraint_chronology | ||
account_journal_general_sequence | ||
account_journal_lock_date | ||
account_journal_restrict_mode | ||
account_loan | ||
account_lock_date_update | ||
account_move_budget | ||
account_move_fiscal_month | ||
account_move_fiscal_year | ||
account_move_line_check_number | ||
account_move_line_purchase_info | ||
account_move_line_sale_info | ||
account_move_line_tax_editable | ||
account_move_name_sequence | ||
account_move_print | ||
account_move_template | ||
account_netting | ||
account_partner_required | ||
account_template_active | ||
account_usability | ||
base_vat_optional_vies | ||
setup | ||
.copier-answers.yml | ||
.editorconfig | ||
.eslintrc.yml | ||
.flake8 | ||
.gitignore | ||
.isort.cfg | ||
.pre-commit-config.yaml | ||
.prettierrc.yml | ||
.pylintrc | ||
.pylintrc-mandatory | ||
LICENSE | ||
README.md | ||
requirements.txt |
account-financial-tools
TODO: add repo description.
Available addons
addon | version | maintainers | summary |
---|---|---|---|
account_account_tag_code | 16.0.1.0.0 | Add a code field to the accounts tags | |
account_asset_batch_compute | 16.0.1.0.0 | Add the possibility to compute assets in batch | |
account_asset_management | 16.0.1.2.0 | Assets Management | |
account_cash_deposit | 16.0.1.2.0 | Manage cash deposits and cash orders | |
account_chart_update | 16.0.2.0.3 | Wizard to update a company's account chart from a template | |
account_chart_update_l10n_eu_oss_oca | 16.0.1.0.0 | Account Chart update OSS OCA | |
account_fiscal_month | 16.0.1.1.0 | Provide a fiscal month date range type | |
account_fiscal_position_vat_check | 16.0.1.1.0 | Check VAT on invoice validation | |
account_fiscal_year | 16.0.1.1.0 | Create Account Fiscal Year | |
account_fiscal_year_auto_create | 16.0.1.0.2 | Automatically create new fiscal years, based on the datas of the last fiscal years | |
account_invoice_constraint_chronology | 16.0.1.1.0 | Account Invoice Constraint Chronology | |
account_journal_general_sequence | 16.0.2.0.1 | Add configurable sequence to account moves, per journal | |
account_journal_lock_date | 16.0.1.0.0 | Lock each journal independently | |
account_journal_restrict_mode | 16.0.1.0.0 | Lock All Posted Entries of Journals. | |
account_loan | 16.0.1.0.4 | Account Loan management | |
account_lock_date_update | 16.0.1.0.1 | Allow an Account adviser to update locking date without having access to all technical settings | |
account_move_budget | 16.0.1.0.0 | Create Accounting Budgets | |
account_move_fiscal_month | 16.0.1.0.0 | Display the fiscal month on journal entries/item | |
account_move_fiscal_year | 16.0.1.0.0 | Display the fiscal year on journal entries/item | |
account_move_line_check_number | 16.0.1.0.1 | Add the check number in the journal items | |
account_move_line_purchase_info | 16.0.1.0.0 | Introduces the purchase order line to the journal items | |
account_move_line_sale_info | 16.0.1.0.0 | Introduces the purchase order line to the journal items | |
account_move_line_tax_editable | 16.0.1.0.1 | Allows to edit taxes on non-posted account move lines | |
account_move_name_sequence | 16.0.1.1.7 | Generate journal entry number from sequence | |
account_move_print | 16.0.1.0.0 | Adds the option to print Journal Entries | |
account_move_template | 16.0.1.0.0 | Templates for recurring Journal Entries | |
account_netting | 16.0.1.0.0 | Compensate AR/AP accounts from the same partner | |
account_partner_required | 16.0.1.0.0 | Adds an option 'partner policy' on accounts | |
account_template_active | 16.0.1.0.1 | Allow to disable / enable account template items (tax, fiscal position, account) | |
account_usability | 16.0.1.0.3 | Adds missing menu entries for Account module and adds the option to enable Saxon Accounting | |
base_vat_optional_vies | 16.0.1.1.0 | Optional validation of VAT via VIES |
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.