TIP: You can type at any time to perform a new search.
Purchase order lines with discounts
purchase_discount · OCA/purchase-workflow
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
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)
-
discountFloatcompute='_compute_discount'digits='Discount'readonly=Falsestore=Truestring='Discount (%)'
-
create(self, vals_list)@api.model_create_multiInsert 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)
-
discountFloatdigits='Discount'string='Discount (%)'
-
write(self, vals)
New fields (1)
-
discountFloatdigits='Discount'group_operator='avg'string='Discount (%)'
No public methods.
New fields (1)
-
default_supplierinfo_discountFloatdigits='Discount'help='This value will be used as the default one, for each new supplierinfo line depending on that supplier.'string='Default Supplier Discount (%)'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…