Skip to content
Health
55/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 121 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 5 Odoo series since 6.1

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.02 MB
Module directory on disk
Code analysis 3 migration notes 3 models 2 views 0 HTTP endpoints

Description

Only merge PO with the same shop and carrier.

This eases the warehouse managements as the incoming pickings are grouped in a more convenient way.

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_shop_carrier purchase.order.form purchase.order form Inherits purchase.purchase_order_form
view_purchase_order_group_shop_carrier Merger Purchase Orders purchase.order.group form Inherits purchase.view_purchase_order_group

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (0)

No new fields.

Public methods (1)
  • create_procurement_purchase_order(self, cr, uid, procurement, po_vals, line_vals, context=None)
    Create the purchase order from the procurement, using the provided field values, after adding the given purchase order line in the purchase order. :params procurement: the procurement object generating the purchase order :params dict po_vals: field values for the new purchase order (the ``order_line`` field will be overwritten with one single line, as passed in ``line_vals``). :params dict line_vals: field values of the single purchase order line that the purchase order will contain. :return: id of the newly created purchase order :rtype: int

New fields (0)

No new fields.

Public methods (1)
  • do_merge(self, cr, uid, ids, context=None)
    To merge similar type of purchase orders. Orders will only be merged if: * Purchase Orders are in draft * Purchase Orders belong to the same partner * Purchase Orders have same stock location, same pricelist * Purchase Orders have the same shop and the same carrier (NEW in this module) Lines will only be merged if: * Order lines are exactly the same except for the quantity and unit

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…