TIP: You can type at any time to perform a new search.

Security findings

Repository
OCA/sale-workflow · module folder · Try on Runboat
Module version
1.0.0
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-21 11:28:19
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Carlos Lopez, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_product_matrix_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 info_outline

Views touched (5)
XML IDNameModelTypeStatus
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_id Many2one → product.secondary.unit
    comodel_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'
Public methods (0)

No public methods.

New fields (1)
  • sale_secondary_uom_id Many2one → product.secondary.unit
    comodel_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=True string='Default secondary unit for sales'
Public methods (2)
  • 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_qty Float
    copy=True
  • secondary_uom_unit_price Float
    compute='_compute_secondary_uom_unit_price' digits='Product Price' string='2nd unit price'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…