Sale Change Price

sale_change_price
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/8.0/sale_change_price
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Acsone SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Acsone SA/NV
COMMITTERS
COMMITTERSLaetitia Gangloff, Cédric Pigeon, OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttp://www.acsone.eu
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - web_kanban_sparkline
    - account_voucher
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - board
    - edi
    - email_template
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 data Inherits sale.view_order_form
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