Skip to content
Health
62/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 10 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 14.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis 0 migration notes 4 models 3 views 0 HTTP endpoints

Description

This module aim to address more business cases by adding extra technical function.

  1. 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)

  2. 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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 3

XML IDNameModelTypeStatus
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

New fields (1)
  • is_created_from_spread Boolean
    default=False string='Created from Spread'
Public methods (1)
  • action_post(self)
    Use templates in journal entries too

New fields (1)
  • create_move_type Selection
    default='entry' required=True selection=[('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'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • move_id Many2one → account.move
    comodel_name='account.move' required=True string='Journal Entry'
  • move_line_id Many2one → account.move.line
    comodel_name='account.move.line' domain="[('move_id', '=', move_id), ('spread_id', '=', False)]" required=True string='Journal Item'
Public methods (1)
  • link_move_line(self)

Loading…