TIP: You can type at any time to perform a new search.
Purchase Order Downpayment
purchase_order_downpayment · OCA/purchase-workflow
Security findings
Migration considerations
purchase_order_form_inherit_downpayment— For a target of Odoo 17.0+: view 'purchase_order_form_inherit_downpayment' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · sourceview_po_downpayment_wizard— For a target of Odoo 17.0+: view 'view_po_downpayment_wizard' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/purchase-workflow · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Purchase
- Folder size
- 0.07 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
- Odoo Community Association (OCA), Open Source Integrators (OSI)
- Maintainers
- Odoo Community Association (OCA), Open Source Integrators (OSI)
- Committers
- Weblate, OCA-git-bot, oca-ci, Murtaza Mithaiwala
Code Analysis
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