Cost-Revenue Spread Extra Features
account_spread_cost_revenue_enhanced · OCA/account-financial-tools
-
Security25/25No findings
-
Activity20/25Last human commit 10 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module aim to address more business cases by adding extra technical function.
-
Add action to direct link with journal item (account.move.line) from spread cost/revenue sheet.
This is useful when user want to link spread cost/revenue sheet with journal entry (not with invoice) -
From spread cost/revenue sheet, allow Create Entry as Invoice (not just entry)
Note: extra feature in this module is not included in account_spread_cost_revenue to avoid complexity.
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 |
|---|---|---|---|---|
view_account_spread |
view.account.spread | account.spread | Inherits account_spread_cost_revenue.view_account_spread | |
view_account_spread_link_move_line_form |
view.account.spread.link.move.line.form | account.spread.link.move.line | form | New |
view_invoice_spread_inherit |
account.move | Inherits account_spread_cost_revenue.view_invoice_spread |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
-
is_created_from_spreadBooleandefault=Falsestring='Created from Spread'
-
action_post(self)Use templates in journal entries too
-
create_move_typeSelectiondefault='entry'required=Trueselection=[('entry', 'Journal Entry'), ('out_invoice', 'Customer Invoice'), ('in_invoice', 'Vendor Bill'), ('out_refund', 'Customer Credit Note'), ('in_refund', 'Vendor Credit Note')]string='Create Entry As'
No public methods.
No new fields.
Public methods (0)No public methods.
-
move_idMany2one → account.movecomodel_name='account.move'required=Truestring='Journal Entry' -
move_line_idMany2one → account.move.linecomodel_name='account.move.line'domain="[('move_id', '=', move_id), ('spread_id', '=', False)]"required=Truestring='Journal Item'
-
link_move_line(self)
Loading…