Purchase Order Line Sequence
purchase_order_line_sequence · OCA/purchase-workflow
purchase_order_reorder_lines (9.0)-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by15/251 module depends on it
-
Maturity25/25In 10 Odoo series since 9.0
Heuristic over the facts below, not an audit · How it's computed
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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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
-
related_po_sequenceCharcompute='_compute_related_po_sequence'string='PO Line Number'
No public methods.
-
max_line_sequenceIntegercompute='_compute_max_line_sequence'string='Max sequence in lines'
-
get_view(self, view_id=None, view_type='form', **options)@api.modelAppend 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.
-
sequenceIntegerdefault=9999help='Gives the sequence of the line when displaying the purchase order.' args: 'Hidden Sequence' -
visible_sequenceIntegercompute='_compute_visible_sequence'help='Displays the sequence of the line in the purchase order.'store=True args: 'Line Number'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…