Repository
OCA/purchase-workflow · module folder · Try on Runboat
Module version
2.0.5
Category
Purchase Management
Folder size
0.51 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/purchase-workflow
Last tracking update
2026-08-07 08:09:24
Authors
ACSONE SA/NV, Odoo Community Association (OCA), Acysos S.L., Tiny, GRAP, Tecnativa
Maintainers
ACSONE SA/NV, Odoo Community Association (OCA), Acysos S.L., Tiny, GRAP, Tecnativa
Committers
Pedro M. Baeza, Sylvain LE GAL, Jairo Llopis, Denis Roussel, David Ramia, David Vidal, Weblate, OCA-git-bot, oca-ci, ferran-S73, Luis Ernesto García Medina, Gil Arasa Verge, josep-tecnativa, Alex Guardado, Alicia Garzo Moreno, Lucía Marchal
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
account_invoice_supplierinfo_update_discount, purchase_order_general_discount, purchase_quick_discount, purchase_triple_discount
Description

Code Analysis

Views touched (8)
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
purchase_history_tree purchase_discount.history.tree purchase.order.line tree Inherits purchase.purchase_history_tree
purchase_order_form purchase_discount.purchase.order.form purchase.order form Inherits purchase.purchase_order_form
purchase_order_line_form2 purchase_discount.order.line.form2 purchase.order.line Inherits purchase.purchase_order_line_form2
purchase_order_line_tree purchase_discount.order.line.tree purchase.order.line tree Inherits purchase.purchase_order_line_tree
report_purchaseorder_document report_purchaseorder_document ir.ui.view qweb Inherits purchase.report_purchaseorder_document
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 (1)
  • discount Float
    compute='_compute_discount' digits='Discount' readonly=False store=True string='Discount (%)'
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi
    Insert discount (or others) from context from purchase.order's _add_supplier_to_product method

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • discount Float
    digits='Discount' string='Discount (%)'
Public methods (1)
  • write(self, vals)

New fields (1)
  • discount Float
    digits='Discount' group_operator='avg' string='Discount (%)'
Public methods (0)

No public methods.

New fields (1)
  • default_supplierinfo_discount Float
    digits='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…

Loading…

Loading…

Loading…

Loading…

Loading…