Purchase Order Downpayment

purchase_order_downpayment
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/16.0/purchase_order_downpayment
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Open Source Integrators (OSI)
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Open Source Integrators (OSI)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Murtaza Mithaiwala
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
purchase_order_form_inherit_downpayment purchase.order.form purchase.order button Inherits purchase.purchase_order_form
view_po_downpayment_wizard Purchase order down payment purchase.order.down.payment.wizard form New
Models touched (3)

New fields (1)
  • purchase_id Many2one → purchase.order
    readonly=True states={'draft': [('readonly', False)]} args: 'purchase.order', 'Purchase'
Public methods (0)

No public methods.

New fields (2)
  • account_payment_ids One2many → account.payment
    string='Purchase Payment' args: 'account.payment', 'purchase_id'
  • payment_count Integer
    compute='_compute_payment_count'
Public methods (1)
  • action_open_payment(self)

New fields (4)
  • advance_payment_method Selection
    default='delivered' required=True selection=[('delivered', 'Regular Payment'), ('percentage', 'Down payment (percentage)'), ('fixed', 'Down payment (fixed amount)')] string='Create Payment'
  • amount Float
    string='Down Payment Amount'
  • fixed_amount Float
    string='Down Payment Amount (Fixed)'
  • order_id Many2one → purchase.order
    required=True args: 'purchase.order'
Public methods (2)
  • create_payment(self)
  • default_get(self, fields_list)
    @api.model