TIP: You can type at any time to perform a new search.
Purchase Vendor Bill Breakdown
purchase_vendor_bill_breakdown · OCA/purchase-workflow
- Repository
- OCA/purchase-workflow · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Purchase Management
- Folder size
- 0.15 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/purchase-workflow
- Last tracking update
- 2026-08-07 07:47:41
- Authors
- Odoo Community Association (OCA), Cetmix, Ooops
- Maintainers
- Odoo Community Association (OCA), Cetmix, Ooops
- Committers
- Weblate, OCA-git-bot, oca-ci, Alessandro Uffreduzzi, geomer198
Code Analysis ⓘ
Views touched (5)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_supplierinfo_component_form_view |
product.supplierinfo.component.form.view | product.supplierinfo | form | Inherits purchase_supplierinfo_product_breakdown.product_supplierinfo_component_form_view |
product_supplierinfo_tree_view4 |
product.spplierinfo.inherit.tree.view | product.supplierinfo | tree | Inherits purchase_supplierinfo_product_breakdown.product_supplierinfo_tree_view3 |
purchase_order_form |
purchase.order.form.inherit | purchase.order | form | Inherits purchase.purchase_order_form |
purchase_order_line_components_form_view |
purchase.order.line.components.form.view | purchase.order.line | form | New |
view_product_supplier_inherit |
product.template.supplier.form.inherit | product.template | form | Inherits purchase_supplierinfo_product_breakdown.view_product_supplier_inherit |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (7)
New fields (0)
No new fields.
Public methods (1)-
create(self, vals_list)@api.model_create_multi
New fields (1)
-
component_qtyFloatdefault=0.0
No public methods.
New fields (2)
-
priceFloatcompute='_compute_price'inverse='_inverse_price'store=True -
price_manualFloatcopy=Falsedigits='Product Price'string='Price'
No public methods.
New fields (2)
-
current_priceFloatcompute='_compute_current_price'store=Truestring='Current price' -
price_totalFloatcompute='_compute_price_total'store=True
-
get_supplier_by_args(self, product_id, partner_id)@api.modelGet first supplier by product and vendor name
New fields (1)
-
use_product_componentsBoolean
-
set_partner_use_product_components(self)@api.onchange('partner_id')Set 'Use Product Components' based on product settings -
write(self, vals)
New fields (5)
-
component_idsOne2many → purchase.order.line.componentcomodel_name='purchase.order.line.component'inverse_name='line_id' -
last_qty_invoicedFloatcompute='_compute_last_qty_invoiced'store=Truestring='Billed Qty' -
show_breakdownBooleancompute='_compute_show_breakdown' -
supplier_idMany2one → product.supplierinfocomodel_name='product.supplierinfo'compute='_compute_supplier_id'store=True -
use_product_componentsBooleanrelated='order_id.use_product_components'
-
action_open_component_view(self)Open view with product components -
check_component_ids(self)@api.constrains('component_ids')Checking a component for uniqueness -
create(self, vals)@api.model -
write(self, vals)
New fields (14)
-
component_idMany2one → product.productcomodel_name='product.product'required=Truestring='Component' -
component_uom_category_idMany2onerelated='component_id.uom_id.category_id' -
currency_idMany2onereadonly=Truerelated='line_id.order_id.currency_id'store=Truestring='Currency' -
line_idMany2one → purchase.order.linecomodel_name='purchase.order.line'required=Truestring='Purchase Order Line' -
partner_idMany2onerelated='line_id.order_id.partner_id' -
price_subtotalMonetarycompute='_compute_price_subtotal'store=Truestring='Subtotal' -
price_unitFloatcompute='_compute_price_unit'default=0.0digits='Unit Price'required=Truestore=Truestring='Unit Price' -
product_uom_idMany2one → uom.uomdomain="[('category_id', '=', component_uom_category_id)]"required=Truestring='Unit of Measure' args: 'uom.uom' -
product_uom_qtyFloatdefault=1.0required=Truestring='Quantity per Unit' -
qty_invoicedFloatcompute='_compute_qty_invoiced'readonly=1store=Truestring='Billed' -
qty_to_invoiceFloatcompute='_compute_qty_invoiced'digits='Component Unit of Measure'readonly=Truestore=Truestring='To Invoice Quantity' -
supplier_idMany2onerelated='line_id.supplier_id' -
totalFloatcompute='_compute_total'string='Quantity' -
total_qtyFloatdefault=0.0readonly=Truerequired=Truestring='Received'
-
onchange_component_id(self)@api.onchange('component_id')Set default value at component onchange