Repository
OCA/purchase-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Purchase Management
Folder size
0.26 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/purchase-workflow
Last tracking update
2026-08-07 07:24:58
Authors
Odoo Community Association (OCA), GRAP, Tecnativa
Maintainers
Odoo Community Association (OCA), GRAP, Tecnativa
Committers
Pedro M. Baeza, Weblate, cubells, OCA Transbot, OCA-git-bot, oca-travis
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
purchase_triple_discount
Description

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_supplierinfo_form_view product.supplierinfo form Inherits product.product_supplierinfo_form_view
product_supplierinfo_tree_view product.supplierinfo tree Inherits product.product_supplierinfo_tree_view
res_partner_form_view res.partner form Inherits base.view_partner_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • discount Float
    digits=dp.get_precision('Discount') string='Discount (%)'
Public methods (2)
  • create(self, vals)
    @api.model
    Insert discount from context from purchase.order's _add_supplier_to_product method
  • onchange_name(self)
    @api.onchange('name')@api.multi
    Apply the default supplier discount of the selected supplier

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • default_supplierinfo_discount Float
    digits=dp.get_precision('Discount') help='This value will be used as the default one, for each new supplierinfo line depending on that supplier.' string='Default Supplier Discount (%)'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…