| 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/19.0/sale_product_pack |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Sales |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA), ADHOC SA, NaN·tic |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA), ADHOC SA, NaN·tic |
| COMMITTERS | |
| COMMITTERS | OCA-git-bot, Maxime Franco, oca-ci, mgu |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/product-pack |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:40:50 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/product-pack: - product_pack odoo/odoo: - product - base - base_setup - web - bus - web_tour - html_editor - uom - sale - sales_team - account_payment - account - onboarding - analytic - portal - http_routing - auth_signup - digest - resource - payment - utm |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This module adds *Product Pack* functionality to sales orders. You can choose a *Pack* in *sales 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 |
|---|---|---|---|---|
product_pack_line_form |
product.pack.line.sale.form | product.pack.line | field | Inherits product_pack.product_pack_line_form |
product_pack_line_tree |
product.pack.line.sale.tree | product.pack.line | field | Inherits product_pack.product_pack_line_tree |
view_order_form |
sale.order | xpath | Inherits sale.view_order_form |
sale_discount
Float
digits='Discount'
args: 'Sale discount (%)'
get_sale_order_line_vals(self, line, order)
No new fields.
Public methods (2)check_pack_line_unlink(self)
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 → sale.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 → sale.order.line
help='The pack that contains this product.'
args: 'sale.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/18.0/sale_product_pack |
| VERSION | |
| VERSION | 1.0.2 |
| CATEGORY | |
| CATEGORY | Sales |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA), ADHOC SA, NaN·tic |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA), ADHOC SA, NaN·tic |
| COMMITTERS | |
| COMMITTERS | Pedro M. Baeza, Weblate, OCA-git-bot, oca-ci, Franco Leyes, Alexis Lopez |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/product-pack |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:30:17 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/product-pack: - product_pack odoo/odoo: - product - base - base_setup - web - bus - web_tour - html_editor - uom - sale - sales_team - account_payment - account - onboarding - analytic - portal - web_editor - http_routing - auth_signup - digest - resource - payment - utm |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This module adds *Product Pack* functionality to sales orders. You can choose a *Pack* in *sales 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 |
|---|---|---|---|---|
product_pack_line_form |
product.pack.line.sale.form | product.pack.line | field | Inherits product_pack.product_pack_line_form |
product_pack_line_tree |
product.pack.line.sale.tree | product.pack.line | field | Inherits product_pack.product_pack_line_tree |
view_order_form |
sale.order | xpath | Inherits sale.view_order_form |
sale_discount
Float
digits='Discount'
args: 'Sale discount (%)'
get_sale_order_line_vals(self, line, order)
No new fields.
Public methods (3)check_pack_line_unlink(self)
copy(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 → sale.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 → sale.order.line
help='The pack that contains this product.'
args: 'sale.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/17.0/sale_product_pack |
| VERSION | |
| VERSION | 2.0.1 |
| CATEGORY | |
| CATEGORY | Sales |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA), ADHOC SA, NaN·tic |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA), ADHOC SA, NaN·tic |
| COMMITTERS | |
| COMMITTERS | Víctor Martínez, Bruno Zanotti, Weblate, OCA-git-bot, oca-ci, Franco Leyes |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/product-pack |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:20:10 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/product-pack: - product_pack odoo/odoo: - product - base - base_setup - web - bus - web_tour - uom - sale - sales_team - account_payment - account - onboarding - analytic - portal - web_editor - http_routing - auth_signup - digest - resource - payment - utm |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This module adds *Product Pack* functionality to sales orders. You can choose a *Pack* in *sales 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 |
|---|---|---|---|---|
product_pack_line_form |
product.pack.line.sale.form | product.pack.line | field | Inherits product_pack.product_pack_line_form |
product_pack_line_tree |
product.pack.line.sale.tree | product.pack.line | field | Inherits product_pack.product_pack_line_tree |
view_order_form |
sale.order | xpath | Inherits sale.view_order_form |
sale_discount
Float
digits='Discount'
args: 'Sale discount (%)'
get_sale_order_line_vals(self, line, order)
No new fields.
Public methods (3)check_pack_line_unlink(self)
copy(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 → sale.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 → sale.order.line
help='The pack that contains this product.'
args: 'sale.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/sale_product_pack |
| VERSION | |
| VERSION | 1.0.3 |
| CATEGORY | |
| CATEGORY | Sales |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA), ADHOC SA, NaN·tic |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA), ADHOC SA, NaN·tic |
| COMMITTERS | |
| COMMITTERS | Víctor Martínez, Weblate, OCA-git-bot, Maxime Franco, oca-ci, augusto-weiss, Alexis Lopez - Adhoc |
| 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 - sale - sales_team - account_payment - account - analytic - portal - web_editor - http_routing - auth_signup - digest - resource - payment - utm |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_pack_line_form |
product.pack.line.sale.form | product.pack.line | field | Inherits product_pack.product_pack_line_form |
product_pack_line_tree |
product.pack.line.sale.tree | product.pack.line | field | Inherits product_pack.product_pack_line_tree |
view_order_form |
sale.order | xpath | Inherits sale.view_order_form |
sale_discount
Float
digits='Discount'
args: 'Sale discount (%)'
get_price(self)
get_sale_order_line_vals(self, line, order)
No new fields.
Public methods (3)check_pack_line_unlink(self)
copy(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 → sale.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 → sale.order.line
help='The pack that contains this product.'
args: 'sale.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/15.0/sale_product_pack |
| VERSION | |
| VERSION | 1.0.1 |
| CATEGORY | |
| CATEGORY | Sales |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA), ADHOC SA, NaN·tic |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA), ADHOC SA, NaN·tic |
| COMMITTERS | |
| COMMITTERS | Víctor Martínez, nicolas, Weblate, OCA-git-bot, oca-ci |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/product-pack |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:46:41 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/product-pack: - product_pack odoo/odoo: - product - base - base_setup - web - bus - web_tour - uom - sale - sales_team - payment - account - analytic - portal - web_editor - http_routing - auth_signup - digest - resource - utm |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_pack_line_form |
product.pack.line.sale.form | product.pack.line | field | Inherits product_pack.product_pack_line_form |
product_pack_line_tree |
product.pack.line.sale.tree | product.pack.line | field | Inherits product_pack.product_pack_line_tree |
view_order_form |
sale.order | xpath | Inherits sale.view_order_form |
sale_discount
Float
digits='Discount'
args: 'Sale discount (%)'
get_price(self)
get_sale_order_line_vals(self, line, order)
No new fields.
Public methods (3)check_pack_line_unlink(self)
copy(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 → sale.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 → sale.order.line
help='The pack that contains this product.'
args: 'sale.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)
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/14.0/sale_product_pack |
| VERSION | |
| VERSION | 1.1.2 |
| CATEGORY | |
| CATEGORY | Sales |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA), ADHOC SA, NaN·tic |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA), ADHOC SA, NaN·tic |
| COMMITTERS | |
| COMMITTERS | Denis Roussel, Daniel Reis, Pierre Verkest, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Cyril VINH-TUNG, oca-ci |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/product-pack |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:41:10 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/product-pack: - product_pack odoo/odoo: - product - base - base_setup - web - bus - web_tour - uom - sale - sales_team - payment - account - analytic - portal - web_editor - http_routing - auth_signup - digest - resource - utm |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_pack_line_form |
product.pack.line.sale.form | product.pack.line | field | Inherits product_pack.product_pack_line_form |
product_pack_line_tree |
product.pack.line.sale.tree | product.pack.line | field | Inherits product_pack.product_pack_line_tree |
view_order_form |
sale.order | xpath | Inherits sale.view_order_form |
sale_discount
Float
digits='Discount'
args: 'Sale discount (%)'
get_price(self)
get_sale_order_line_vals(self, line, order)
No new fields.
Public methods (3)check_pack_line_unlink(self)
copy(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 → sale.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 → sale.order.line
help='The pack that contains this product.'
args: 'sale.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)
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/13.0/sale_product_pack |
| VERSION | |
| VERSION | 1.0.2 |
| CATEGORY | |
| CATEGORY | Sales |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA), ADHOC SA, NaN·tic |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA), ADHOC SA, NaN·tic |
| COMMITTERS | |
| COMMITTERS | Pedro M. Baeza, david, OCA Transbot, Víctor Martínez, Ernesto Tejeda, oca-travis, Weblate, OCA-git-bot |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/product-pack |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:34:19 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/product-pack: - product_pack odoo/odoo: - product - base - base_setup - web - bus - web_tour - uom - sale - sales_team - payment - account - analytic - portal - web_editor - http_routing - auth_signup - digest - resource - utm |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_pack_line_form |
product.pack.line.sale.form | product.pack.line | field | Inherits product_pack.product_pack_line_form |
product_pack_line_tree |
product.pack.line.sale.tree | product.pack.line | field | Inherits product_pack.product_pack_line_tree |
view_order_form |
sale.order | xpath | Inherits sale.view_order_form |
sale_discount
Float
digits='Discount'
args: 'Sale discount (%)'
get_price(self)
get_sale_order_line_vals(self, line, order)
No new fields.
Public methods (3)check_pack_line_unlink(self)
copy(self, default=None)
write(self, vals)
pack_child_line_ids
One2many → sale.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 → sale.order.line
help='The pack that contains this product.'
args: 'sale.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)
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/12.0/sale_product_pack |
| VERSION | |
| VERSION | 1.1.2 |
| CATEGORY | |
| CATEGORY | Sales |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA), ADHOC SA, NaN·tic |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA), ADHOC SA, NaN·tic |
| COMMITTERS | |
| COMMITTERS | Pedro M. Baeza, david, Yann Papouin, OCA Transbot, oca-travis, Weblate, OCA-git-bot, hparfr, ernesto |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/product-pack |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:29:24 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/product-pack: - product_pack odoo/odoo: - product - base - decimal_precision - base_setup - web - bus - web_tour - uom - sale - sales_team - payment - account - analytic - portal - http_routing - digest |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_pack_line_form |
product.pack.line.sale.form | product.pack.line | field | Inherits product_pack.product_pack_line_form |
product_pack_line_tree |
product.pack.line.sale.tree | product.pack.line | field | Inherits product_pack.product_pack_line_tree |
view_order_form |
sale.order | xpath | Inherits sale.view_order_form |
sale_discount
Float
digits=dp.get_precision('sale_discount')
args: 'Sale discount (%)'
get_price(self)
get_sale_order_line_vals(self, line, order)
No new fields.
Public methods (2)check_pack_line_unlink(self)
copy(self, default=None)
pack_child_line_ids
One2many → sale.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 → sale.order.line
help='The pack that contains this product.'
ondelete='cascade'
args: 'sale.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)
expand_pack_line(self, write=False)
unlink(self)
write(self, vals)