Repository
OCA/sale-financial · module folder · Try on Runboat
Module version
0.1
Category
Hidden
Folder size
0.01 MB
License
AGPL-3
Application
Yes
Auto-installable
No
Website
http://www.camptocamp.com
Last tracking update
2026-08-07 07:17:52
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp
Committers
Pedro M. Baeza
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_floor_price
Description
Add new base onchange methods on sale_order class

 onchange_price_unit and onchange_discount both accept the following arguments:
 (self, cr, uid, ids, price_unit, product_id, discount, product_uom, pricelist, **kwargs)

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
sale_watcher_order_form1 sales_line_watcher.form.floorprice sale.order form Inherits sale.view_order_form
sale_watcher_order_form2 sales_line_watcher.form.floorprice sale.order form Inherits sale.view_order_form
sale_watcher_sale_order_line_form2 sales_line_watcher.view.form2 sale.order.line form Inherits sale.view_order_line_form2
sale_watcher_sale_order_line_form3 sales_line_watcher.view.form3 sale.order.line form Inherits sale.view_order_line_form2
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (2)
  • onchange_discount(self, cr, uid, ids, price_unit, product_id, discount, product_uom, pricelist, **kwargs)
    Place holder function for onchange discount
  • onchange_price_unit(self, cr, uid, ids, price_unit, product_id, discount, product_uom, pricelist, **kwargs)
    Place holder function for onchange unit price

Loading…

Loading…

Loading…

Loading…