Account Dashboard Banner
account_dashboard_banner · OCA/account-financial-tools
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by15/251 module depends on it
-
Maturity12/25In 2 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
AccountDashboardBannerCell— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
The development of this module started with a simple analysis: accountants tend to forget to update the lock dates. Part of the problem lies in the fact that the lock dates can be seen in the wizard to update the lock dates, but accountants have no incentive to start this wizard regularly to check the lock dates. The idea was to display the lock dates in a banner at the top of the accounting dashboard, so that accountants have the value of the lock dates in front of their eyes.
With such a banner in the accounting dashboard to display the lock dates, there was a great temptation to display other interesting information in that banner, such as some key figures of the accounting: liquidity, turnover, customer overdue, etc. It gave birth to the idea to have a configurable banner in the accounting dashboard!
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_dashboard_banner_cell_form |
account.dashboard.banner.cell | form | New | |
account_dashboard_banner_cell_list |
account.dashboard.banner.cell | list | New | |
account_journal_dashboard_kanban_view |
account.journal | kanban | Inherits account.account_journal_dashboard_kanban_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
-
cell_typeSelectionrequired=True args: [('income_fiscalyear', 'Fiscal Year-to-date Income'), ('income_year', 'Year-to-date Income'), ('income_quarter', 'Quarter-to-date Income'), ('income_month', 'Month-to-date Income'), ('liquidity', 'Liquidity'), ('customer_debt', 'Customer Debt'), ('customer_overdue', 'Customer Overdue'), ('supplier_debt', 'Supplier Debt'), ('tax_lock_date', 'Tax Return Lock Date'), ('sale_lock_date', 'Sales Lock Date'), ('purchase_lock_date', 'Purchase Lock Date'), ('fiscalyear_lock_date', 'Global Lock Date'), ('hard_lock_date', 'Hard Lock Date')] -
custom_labelChar -
custom_tooltipChar -
sequenceInteger -
warnBooleanstring='Warning' -
warn_lock_date_daysIntegercompute='_compute_warn_fields'precompute=Truereadonly=Falsestore=True -
warn_maxFloatstring='Maximum' -
warn_minFloatstring='Minimum' -
warn_typeSelectiondefault='under' args: [('under', 'Under Minimum'), ('above', 'Above Maximum'), ('outside', 'Under Minimum or Above Maximum'), ('inside', 'Between Minimum and Maximum')] -
warn_type_showBooleancompute='_compute_warn_fields'precompute=Truestore=True
-
get_banner_data(self)@api.modelThis is the method called by the JS code that displays the banner
Loading…
Loading…