Skip to content
Health
90/100
good
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 10 Odoo series since 9.0

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

Security findings
Grave / minor (static analysis)
Required by
1
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.07 MB
Module directory on disk
Code analysis 0 migration notes 3 models 6 views 0 HTTP endpoints

Description

Adds a visible line-number sequence to purchase orders. The sequence number appears in the PO form view, in the purchase order/quotation reports, and is propagated to the related vendor bill lines.

When stock_picking_line_sequence is also installed, the glue module purchase_stock_line_sequence is auto-installed and propagates this sequence to the related stock moves as well.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
purchase_stock_line_sequence

Code analysis

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

Views touched 6

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_form2
report_invoice_document_inherit_purchase_sequence report_invoice_document_inherit_purchase_sequence ir.ui.view qweb Inherits account.report_invoice_document
report_purchase_order_sequence_qweb report_purchase_order_sequence_qweb ir.ui.view qweb Inherits purchase.report_purchaseorder_document
report_purchase_quote_sequence_qweb report_purchase_quote_sequence_qweb ir.ui.view qweb Inherits purchase.report_purchasequotation_document
view_move_form account.move.form account.move form Inherits account.view_move_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (1)
  • related_po_sequence Char
    compute='_compute_related_po_sequence' string='PO Line Number'
Public methods (0)

No public methods.

New fields (1)
  • max_line_sequence Integer
    compute='_compute_max_line_sequence' string='Max sequence in lines'
Public methods (1)
  • get_view(self, view_id=None, view_type='form', **options)
    @api.model
    Append the default sequence. Other modules might want to update the context of `order_line` as well. This will not scale overwriting the attribute in the view.

New fields (2)
  • sequence Integer
    default=9999 help='Gives the sequence of the line when displaying the purchase order.' args: 'Hidden Sequence'
  • visible_sequence Integer
    compute='_compute_visible_sequence' help='Displays the sequence of the line in the purchase order.' store=True args: 'Line Number'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…