Purchase Agreements
purchase_requisition · odoo/odoo
Health
90/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by15/251 module depends on it
-
Maturity25/25In 15 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
2.18 MB
Module directory on disk
Code analysis
0 migration notes
6 models
10 views
0 HTTP endpoints
Description
This module allows you to manage your Purchase Agreements.
Manage calls for tenders and blanket orders. Calls for tenders are used to get competing offers from different vendors and select the best ones. Blanket orders are agreements you have with vendors to benefit from a predetermined pricing.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 10
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_supplierinfo_tree_view_inherit |
product.template.product.form.inherit | product.supplierinfo | form | Inherits product.product_supplierinfo_tree_view |
purchase_order_form_inherit |
purchase.order.form.inherit | purchase.order | form | Inherits purchase.purchase_order_form |
purchase_order_search_inherit |
purchase.order.list.select.inherit | purchase.order | list | Inherits purchase.view_purchase_order_filter |
report_purchaserequisition_document |
report_purchaserequisition_document | ir.ui.view | qweb | New |
report_purchaserequisitions |
report_purchaserequisitions | ir.ui.view | qweb | New |
supplier_info_form_inherit |
product.supplierinfo.requisition.view | product.supplierinfo | form | Inherits product.product_supplierinfo_form_view |
view_purchase_requisition_filter |
purchase.requisition.list.select | purchase.requisition | search | New |
view_purchase_requisition_form |
purchase.requisition.form | purchase.requisition | form | New |
view_purchase_requisition_kanban |
purchase.requisition.kanban | purchase.requisition | kanban | New |
view_purchase_requisition_tree |
purchase.requisition.list | purchase.requisition | list | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 6
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
purchase_requisition_idMany2one → purchase.requisitionrelated='purchase_requisition_line_id.requisition_id'string='Agreement' args: 'purchase.requisition' -
purchase_requisition_line_idMany2one → purchase.requisition.lineindex='btree_not_null' args: 'purchase.requisition.line'
No public methods.
New fields (2)
-
requisition_idMany2one → purchase.requisitioncopy=Falseindex='btree_not_null'string='Agreement' args: 'purchase.requisition' -
requisition_typeSelectionrelated='requisition_id.requisition_type'
-
create(self, vals_list)@api.model_create_multi -
write(self, vals)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (16)
-
activeBooleandefault=True args: 'Active' -
company_idMany2one → res.companydefault=<expr>required=Truestring='Company' args: 'res.company' -
currency_idMany2one → res.currencycompute='_compute_currency_id'precompute=Truereadonly=Falserequired=Truestore=True args: 'res.currency', 'Currency' -
date_endDatestring='End Date'tracking=True -
date_startDatestring='Start Date'tracking=True -
descriptionHtml -
line_idsOne2many → purchase.requisition.linecopy=Truestring='Products to Purchase' args: 'purchase.requisition.line', 'requisition_id' -
nameCharcopy=Falsedefault=<expr>readonly=Truerequired=Truestring='Agreement' -
order_countIntegercompute='_compute_orders_number'string='Number of Orders' -
product_idMany2one → product.productrelated='line_ids.product_id'string='Product' args: 'product.product' -
purchase_idsOne2many → purchase.orderstring='Purchase Orders' args: 'purchase.order', 'requisition_id' -
referenceCharstring='Reference' -
requisition_typeSelectiondefault='blanket_order'required=Truestring='Agreement Type' args: [('blanket_order', 'Blanket Order'), ('purchase_template', 'Purchase Template')] -
stateSelectioncopy=Falsedefault='draft'required=Trueselection=[('draft', 'Draft'), ('confirmed', 'Confirmed'), ('done', 'Closed'), ('cancel', 'Cancelled')]string='Status'tracking=True -
user_idMany2one → res.userscheck_company=Truedefault=<expr>string='Purchase Representative' args: 'res.users' -
vendor_idMany2one → res.partnercheck_company=Truestring='Vendor' args: 'res.partner'
-
action_cancel(self) -
action_confirm(self) -
action_done(self)Generate all purchase order based on selected lines, should only be called on one agreement at a time -
action_draft(self) -
create(self, vals_list)@api.model_create_multi -
unlink(self) -
write(self, vals)
New fields (15)
-
company_idMany2one → res.companyreadonly=Truerelated='requisition_id.company_id'store=Truestring='Company' args: 'res.company' -
currency_idMany2one → res.currencyrelated='requisition_id.currency_id' args: 'res.currency' -
display_typeSelectiondefault=Falsehelp='Technical field for UX purpose.' args: [('line_section', 'Section'), ('line_subsection', 'Subsection'), ('line_note', 'Note')] -
nameTextstring='Line Description' -
parent_idMany2one → purchase.requisition.linecompute='_compute_parent_id'string='Parent Section Line' args: 'purchase.requisition.line' -
price_subtotalMonetarycompute='_compute_price_subtotal'store=Truestring='Amount' -
price_unitFloatcompute='_compute_price_unit'default=0.0min_display_digits='Product Price'readonly=Falsestore=Truestring='Unit Price' -
product_description_variantsCharargs: 'Description' -
product_idMany2one → product.productdomain=[('purchase_ok', '=', True)]string='Product' args: 'product.product' -
product_qtyFloatdigits='Product Unit'string='Quantity' -
qty_orderedFloatcompute='_compute_ordered_qty'string='Ordered' -
requisition_idMany2one → purchase.requisitionindex=Trueondelete='cascade'required=Truestring='Purchase Agreement' args: 'purchase.requisition' -
sequenceIntegerdefault=10string='Sequence' -
supplier_info_idsOne2many → product.supplierinfoargs: 'product.supplierinfo', 'purchase_requisition_line_id' -
uom_idMany2one → uom.uomcompute='_compute_uom_id'precompute=Truereadonly=Falsestore=True args: 'uom.uom', 'Unit'
-
create(self, vals_list)@api.model_create_multi -
unlink(self) -
write(self, vals)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…