TIP: You can type at any time to perform a new search.
Purchase Group Orders by Shop and Carrier
purchase_group_orders · OCA/purchase-workflow
- Repository
- OCA/purchase-workflow · module folder · Try on Runboat
- Module version
- 0.4
- Category
- Purchase Management
- Folder size
- 0.02 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://www.camptocamp.com/
- Last tracking update
- 2026-08-07 07:17:49
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp
- Committers
- Pedro M. Baeza
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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.
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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…