| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/product-pack |
| GIT | |
| GIT | https://github.com/OCA/product-pack.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/product-pack/tree/18.0/purchase_product_pack |
| VERSION | |
| VERSION | 1.0.1 |
| CATEGORY | |
| CATEGORY | Purchase |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Camptocamp |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Camptocamp |
| COMMITTERS | |
| COMMITTERS | Pedro M. Baeza, Weblate, OCA-git-bot, oca-ci, matteo.tognini |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/product-pack |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:30:18 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/product-pack: - product_pack odoo/odoo: - product - base - base_setup - web - bus - web_tour - html_editor - uom - purchase - account - onboarding - analytic - portal - web_editor - http_routing - auth_signup - digest - resource |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This module adds *Product Pack* functionality to purchase orders. You can choose a *Pack* in *purchase order lines* and see different behaviors depending on "Pack type" and "Pack component price" fields options selected on this *Pack*. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
purchase_order_form |
purchase.order | xpath | Inherits purchase.purchase_order_form |
No new fields.
Public methods (2)get_purchase_order_line_vals(self, line, order)
get_seller_cost(self, line)
No new fields.
Public methods (1)pack_cost_compute(self, line)
No new fields.
Public methods (3)check_pack_line_unlink(self)
copy_data(self, default=None)
write(self, vals)
do_no_expand_pack_lines
Boolean
compute='_compute_do_no_expand_pack_lines'
help='Technical field in order to check if pack lines has to be expanded'
pack_child_line_ids
One2many → purchase.order.line
pack_component_price
Selection
related='product_id.pack_component_price'
pack_depth
Integer
help='Depth of the product if it is part of a pack.'
args: 'Depth'
pack_modifiable
Boolean
help='The parent pack is modifiable'
pack_parent_line_id
Many2one → purchase.order.line
help='The pack that contains this product.'
args: 'purchase.order.line', 'Pack'
pack_type
Selection
related='product_id.pack_type'
action_open_parent_pack_product_view(self)
check_pack_line_modify(self)
create(self, vals_list)
expand_pack_line(self, write=False)
write(self, vals)
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/product-pack |
| GIT | |
| GIT | https://github.com/OCA/product-pack.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/product-pack/tree/16.0/purchase_product_pack |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Purchase |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Camptocamp |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Camptocamp |
| COMMITTERS | |
| COMMITTERS | Weblate, oca-ci, duongtq |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/product-pack |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:53:57 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/product-pack: - product_pack odoo/odoo: - product - base - base_setup - web - bus - web_tour - uom - purchase - account - analytic - portal - web_editor - http_routing - auth_signup - digest - resource |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
purchase_order_form |
purchase.order | xpath | Inherits purchase.purchase_order_form |
No new fields.
Public methods (2)get_purchase_order_line_vals(self, line, order)
get_seller_cost(self, line)
No new fields.
Public methods (1)pack_cost_compute(self, line)
No new fields.
Public methods (3)check_pack_line_unlink(self)
copy_data(self, default=None)
write(self, vals)
do_no_expand_pack_lines
Boolean
compute='_compute_do_no_expand_pack_lines'
help='This is a technical field in order to check if pack lines has to be expanded'
pack_child_line_ids
One2many → purchase.order.line
pack_component_price
Selection
related='product_id.pack_component_price'
pack_depth
Integer
help='Depth of the product if it is part of a pack.'
args: 'Depth'
pack_modifiable
Boolean
help='The parent pack is modifiable'
pack_parent_line_id
Many2one → purchase.order.line
help='The pack that contains this product.'
args: 'purchase.order.line', 'Pack'
pack_type
Selection
related='product_id.pack_type'
action_open_parent_pack_product_view(self)
check_pack_line_modify(self)
create(self, vals_list)
expand_pack_line(self, write=False)
write(self, vals)
| STATUS | |
|---|---|
| STATUS | Open migration PR - not merged yet for this version |
| REPOSITORY | |
| REPOSITORY | OCA/product-pack |
| PULL REQUEST | |
| PULL REQUEST | [19.0][MIG] purchase_product_pack: Migration to 19.0 (#237) |