TIP: You can type at any time to perform a new search.
Sale Order Secondary Unit
sale_order_secondary_unit · OCA/sale-workflow
- Repository
- OCA/sale-workflow · module folder · Try on Runboat
- Module version
- 1.0.2
- Category
- Sale
- Folder size
- 0.08 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- Yes
- Website
- https://github.com/OCA/sale-workflow
- Last tracking update
- 2026-08-07 08:42:48
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- Daniel Reis, Carlos Lopez, Carlos Roca, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- edi_voxel_sale_secondary_unit_oca, sale_order_product_recommendation_secondary_unit, sale_stock_secondary_unit, website_sale_secondary_unit
- Description
This module extends the functionality of sale orders to allow sale products in secondary unit of distinct category.
Code Analysis ⓘ
Views touched (5)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_secondary_unit_view_search |
product.secondary.unit.view.search | product.secondary.unit | search | New |
product_secondary_unit_view_tree |
product.secondary.unit.sale.view.list | product.secondary.unit | list | New |
product_template_form_view |
Product template Secondary Unit | product.template | form | Inherits product.product_template_form_view |
report_saleorder_document |
report_saleorder_document | ir.ui.view | qweb | Inherits sale.report_saleorder_document |
view_order_form |
Sale Order Secondary Unit | sale.order | form | Inherits sale.view_order_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (1)
-
sale_secondary_uom_idMany2one → product.secondary.unitcomodel_name='product.secondary.unit'domain="['|', ('product_id', '=', id),'&', ('product_tmpl_id', '=', product_tmpl_id), ('product_id', '=', False)]"help="In order to set a value, please first add at least one record in 'Secondary Unit of Measure'"string='Default secondary unit for sales'
No public methods.
New fields (1)
-
sale_secondary_uom_idMany2one → product.secondary.unitcomodel_name='product.secondary.unit'compute='_compute_sale_secondary_uom_id'domain="[('product_tmpl_id', '=', id), ('product_id', '=', False)]"help="In order to set a value, please first add at least one record in 'Secondary Unit of Measure'"inverse='_inverse_sale_secondary_uom_id'store=Truestring='Default secondary unit for sales'
-
create(self, vals_list)@api.model_create_multi -
onchange_sale_secondary_uom_id(self)@api.onchange('sale_secondary_uom_id')
New fields (2)
-
product_uom_qtyFloatcopy=True -
secondary_uom_unit_priceFloatcompute='_compute_secondary_uom_unit_price'digits='Product Price'string='2nd unit price'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks failing
- Open since
- 1 day ago
- Last activity
- 0 days ago
- Repository
- OCA/sale-workflow
- Pull request
- [19.0][MIG] sale_order_secondary_unit: Migration to version 19.0 (#4535)