Skip to content
Health
65/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 122 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 5 Odoo series since 6.1

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.01 MB
Module directory on disk
Code analysis 0 migration notes 1 model 4 views 0 HTTP endpoints

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)

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_floor_price

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…