Repository
OCA/sale-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Sale
Folder size
0.26 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
http://www.acsone.eu
Last tracking update
2026-08-07 07:03:04
Authors
Odoo Community Association (OCA), Acsone SA/NV
Maintainers
Odoo Community Association (OCA), Acsone SA/NV
Committers
Laetitia Gangloff, Cédric Pigeon, Weblate, OCA Transbot, OCA-git-bot, oca-travis
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
sale_change_price_view sale.change.price.view sale.change.price form New
sale_order_view_form_inherit_sale sale.order.form sale.order form Inherits sale.view_order_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (1)
  • item_ids One2many → sale.change.price.item
    comodel_name='sale.change.price.item' inverse_name='change_price_id' string='Items'
Public methods (2)
  • change_price(self)
    @api.multi
    Change price and discount on sale order line
  • default_get(self, field_list)
    @api.model

New fields (5)
  • change_price_id Many2one → sale.change.price
    comodel_name='sale.change.price'
  • discount Float
    digits_compute=dp.get_precision('Discount') args: 'Discount (%)'
  • name Text
    readonly=True args: 'Description'
  • price_unit Float
    digits_compute=dp.get_precision('Product Price') required=True args: 'Unit Price'
  • sale_order_line_id Many2one → sale.order.line
    comodel_name='sale.order.line' required=True string='Line'
Public methods (1)
  • change_price(self)
    @api.one