Sale Quick Payment

sale_quick_payment
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/8.0/sale_quick_payment
VERSION
VERSION 3.0.0
CATEGORY
CATEGORYGeneric Modules/Others
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSLeonardo Pistone, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttp://www.akretion.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/sale-workflow:
    - sale_payment_method
    - sale_exceptions
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - web_kanban_sparkline
    - account_voucher
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - board
    - edi
    - email_template
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
pay_sale_order_view pay.sale.order.view pay.sale.order form New
sale_order_view_form sale_quick_payment.sale_order.view_form sale.order button Inherits sale_payment_method.sale_order_view_form
Models touched (1)

New fields (4)
  • amount Float
    default=_default_amount digits=dp.get_precision('Sale Price') args: 'Amount'
  • date Datetime
    default=fields.Datetime.now args: 'Payment Date'
  • description Char
    size=64 args: 'Description'
  • journal_id Many2one → account.journal
    default=_default_journal_id args: 'account.journal', 'Journal'
Public methods (2)
  • pay_sale_order(self)
    @api.multi
    Pay the sale order
  • pay_sale_order_and_confirm(self)
    @api.multi
    Pay the sale order
REPOSITORY
REPOSITORYOCA/e-commerce
GIT
GIThttps://github.com/OCA/e-commerce.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/e-commerce/tree/7.0/sale_quick_payment
VERSION
VERSION 0.2
CATEGORY
CATEGORYGeneric Modules/Others
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSGuewen Baconnier, Alexandre Fayolle, Sébastien Beau, Sebastien Beau, Rudolf Schnapka, Sébastien BEAU, OpenERP File User
WEBSITE
WEBSITEhttp://www.akretion.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/e-commerce:
    - sale_payment_method
OCA/sale-workflow:
    - sale_exceptions
odoo/odoo:
    - sale
    - account_voucher
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Sale Quick Payment
==================

Sale Quick Payment gives the possibility to pay a sale order from the
sale order itself.

The payment will be linked to the sale order.

If you install the module Sale Automatic Workflow, you can forbid the
validation of an unpaid order and the invoice will be automatically
reconciled with the payment.

This module was originally designed for the e-commerce sector, but it
does not preclude to use it in other sectors.
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
pay_sale_order_view pay.sale.order.view pay.sale.order form New
sale_order_view_form sale_quick_payment.sale_order.view_form sale.order button Inherits sale_payment_method.sale_order_view_form
Models touched (1)

New fields (0)

No new fields.

Public methods (2)
  • pay_sale_order(self, cr, uid, ids, context=None)
    Pay the sale order
  • pay_sale_order_and_confirm(self, cr, uid, ids, context=None)
    Pay the sale order
REPOSITORY
REPOSITORYOCA/e-commerce
GIT
GIThttps://github.com/OCA/e-commerce.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/e-commerce/tree/6.1/sale_quick_payment
VERSION
VERSION 6.1.0
CATEGORY
CATEGORYGeneric Modules/Others
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSGuewen Baconnier, Alexandre Fayolle, sebastien beau, Sébastien Beau
WEBSITE
WEBSITEhttp://www.akretion.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:04:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - stock
    - product
    - base
    - process
    - decimal_precision
    - account
    - base_setup
    - analytic
    - board
    - edi
    - email_template
    - mail
    - base_tools
    - procurement
    - account_voucher
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
    Sale Quick Payment give the posibility to paid an sale order.
    The payment will be linked to the sale order
    If you install the module Sale Automatic Workflow you can forbid the validation
    of an unpaid order and also the Invoice will be automatically reconciled with
    the payment.
    This module was design for e-commerce sector.
    

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
pay_sale_order_view pay.sale.order.view pay.sale.order form New
payment_method_view_form sale_quick_payment.payment_method.view_form payment.method form New
payment_method_view_tree sale_quick_payment.payment_method.view_tree payment.method tree New
sale_order_view_form sale_quick_payment.sale_order.view_form sale.order page Inherits sale.view_order_form
sale_order_view_tree sale_quick_payment.sale_order.view_tree sale.order field Inherits sale.view_order_tree
view_company_form sale_quick_payment.view_company_form res.company page Inherits base.view_company_form
Models touched (4)

New fields (0)

No new fields.

Public methods (1)
  • pay_sale_order(self, cr, uid, ids, context=None)
    Pay the sale order @param cr: the current row, from the database cursor, @param uid: the current user’s ID for security checks, @param ids: List of account chart’s IDs @return: dictionary of Product list window for a given attributs set

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • button_order_confirm(self, cr, uid, ids, context=None)
  • copy(self, cr, uid, id, default=None, context=None)
  • pay_sale_order(self, cr, uid, sale_id, journal_id, amount, date, context=None)
    Generate a voucher for the payment It will try to match with the invoice of the order by matching the payment ref and the invoice origin. The invoice does not necessarily exists at this point, so if yes, it will be matched in the voucher, otherwise, the voucher won't have any invoice lines and the payment lines will be reconciled later with "auto-reconcile" if the option is used.