Skip to content
Health
42/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 102 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 7.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.13 MB
Module directory on disk
Code analysis 3 migration notes 3 models 2 views 0 HTTP endpoints

Description

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 2

XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order form Inherits purchase.purchase_order_form
purchase_order_line_form purchase.order.line.form purchase.order.line form Inherits purchase.purchase_order_line_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (1)
  • max_line_sequence Integer
    compute='compute_max_line_sequence' string='Max sequence in lines'
Public methods (1)
  • compute_max_line_sequence(self)
    @api.one@api.depends('order_line')
    Allow to know the highest sequence entered in purchase order lines. Web add 10 to this value for the next sequence This value is given to the context of the o2m field in the view. So when we create new purchase order lines, the sequence is automatically max_sequence + 10

New fields (1)
  • sequence Integer
    default=10 help='Gives the sequence of this line when displaying the purchase order.'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • makeInvoices(self)
    @api.multi

Loading…