Purchase Order Downpayment
purchase_order_downpayment · OCA/purchase-workflow
Health
41/100
poor
-
Security25/25No findings
-
Activity6/25Last human commit 33 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
2 migration notes
3 models
2 views
0 HTTP endpoints
Migration considerations
purchase_order_form_inherit_downpayment— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_po_downpayment_wizard— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
purchase_order_form_inherit_downpayment |
purchase.order.form | purchase.order | form | Inherits purchase.purchase_order_form |
view_po_downpayment_wizard |
Purchase order down payment | purchase.order.down.payment.wizard | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (1)
-
purchase_idMany2one → purchase.orderreadonly=Truestates={'draft': [('readonly', False)]} args: 'purchase.order', 'Purchase'
No public methods.
New fields (2)
-
account_payment_idsOne2many → account.paymentstring='Purchase Payment' args: 'account.payment', 'purchase_id' -
payment_countIntegercompute='_compute_payment_count'
-
action_open_payment(self)
New fields (4)
-
advance_payment_methodSelectiondefault='delivered'required=Trueselection=[('delivered', 'Regular Payment'), ('percentage', 'Down payment (percentage)'), ('fixed', 'Down payment (fixed amount)')]string='Create Payment' -
amountFloatstring='Down Payment Amount' -
fixed_amountFloatstring='Down Payment Amount (Fixed)' -
order_idMany2one → purchase.orderrequired=True args: 'purchase.order'
-
create_payment(self) -
default_get(self, fields_list)@api.model