Point of Sale online payment

pos_online_payment
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/19.0/pos_online_payment
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo S.A.
MAINTAINERS
MAINTAINERSOdoo S.A.
COMMITTERS
COMMITTERSOdoo Translation Bot, Christophe Monniez, Julien Castiaux, Tiffany Chang (tic), Gorash, Hubert Van De Walle, David Monnom (moda), Pedram (PEBR), Louis Wicket (wil), Dylan Kiss (dyki), Valeriya(vchu), tong-odoo, Sarah Bellefroid, Louis Travaux, Pedram (pebr), Joseph (jcb), aamo-odoo, Parth Solanki[PASO], manv-afk, Jitendra Prajapat, paan-odoo, David Monnom, Arthur Nanson, Bastien PIERRE, Krzysztof Magusiak (krma), Shubham Agarwal [SHAG], Hadi El Yakhni, dhruv, Guillaume V, vlst-odoo, Meet Jivani [MEJI], sjai-odoo, path-odoo, abhk-odoo, rpka-odoo, Stephane Vanmeerhaeghe (stva), Traina Ludo
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:51:45
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - point_of_sale
    - resource
    - base
    - web
    - stock_account
    - stock
    - product
    - mail
    - base_setup
    - bus
    - web_tour
    - html_editor
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - http_routing
    - auth_signup
    - account
    - onboarding
    - analytic
    - phone_validation
    - partner_autocomplete
    - iap_mail
    - iap
    - iot_base
    - google_address_autocomplete
    - account_payment
    - payment
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
pay pay ir.ui.view qweb New
pay_confirmation pay_confirmation ir.ui.view qweb New
pay_summary pay_summary ir.ui.view qweb New
payment_transaction_form payment.transaction.form payment.transaction button Inherits payment.payment_transaction_form
pos_payment_method_view_form_inherit_pos_online_payment pos.payment.method.form.inherit.pos_online_payment pos.payment.method xpath Inherits point_of_sale.pos_payment_method_view_form
pos_payment_method_view_tree_inherit_pos_online_payment pos.payment.method.list.inherit.pos_online_payment pos.payment.method xpath Inherits point_of_sale.pos_payment_method_view_tree
res_config_settings_view_form res.config.settings.view.form.inherit.pos.online.payment res.config.settings xpath Inherits point_of_sale.res_config_settings_view_form
view_account_payment_form_inherit_pos_online_payment view.account.payment.form.inherit.pos_online_payment account.payment xpath Inherits account.view_account_payment_form
view_pos_payment_form pos.payment.form pos.payment xpath Inherits point_of_sale.view_pos_payment_form
Models touched (7)

New fields (1)
  • pos_order_id Many2one → pos.order
    help='The Point of Sale order linked to this payment' readonly=True string='POS Order' args: 'pos.order'
Public methods (1)
  • action_view_pos_order(self)
    Return the action for the view of the pos order linked to the payment.

New fields (1)
  • pos_order_id Many2one → pos.order
    help='The Point of Sale order linked to the payment transaction' readonly=True string='POS Order' args: 'pos.order'
Public methods (1)
  • action_view_pos_order(self)
    Return the action for the view of the pos order linked to the transaction.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • next_online_payment_amount Float
    digits=0 required=False string='Next online payment amount to pay'
  • online_payment_method_id Many2one → pos.payment.method
    compute='_compute_online_payment_method_id' args: 'pos.payment.method'
Public methods (2)
  • get_amount_unpaid(self)
  • get_and_set_online_payments_data(self, next_online_payment_amount=False)
    Allows to update the amount to pay for the next online payment and get online payments already made and how much remains to be paid. If next_online_payment_amount is different than False, updates the next online payment amount, otherwise, the next online payment amount is unchanged. If next_online_payment_amount is 0 and the order has no successful online payment, is in draft state, is not a restaurant order and the pos.config has no trusted config, then the order is deleted from the database, because it was probably added for the online payment flow.

New fields (1)
  • online_account_payment_id Many2one → account.payment
    readonly=True string='Online accounting payment' args: 'account.payment'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (4)
  • has_an_online_payment_provider Boolean
    compute='_compute_has_an_online_payment_provider' readonly=True
  • is_online_payment Boolean
    default=False help='Use this payment method for online payments (payments made on a web page with online payment providers)' string='Online Payment'
  • online_payment_provider_ids Many2many → payment.provider
    domain="[('is_published', '=', True), ('state', 'in', ['enabled', 'test'])]" string='Allowed Providers' args: 'payment.provider'
  • type Selection
    selection_add=[('online', 'Online')]
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/18.0/pos_online_payment
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Thibault Delavallée, Odoo Online, Laurent Smet, Christophe Monniez, Arnold Moyaux, Andrea Grazioso (agr-odoo), Joseph Caburnay, Tiffany Chang (tic), Gorash, fja-odoo, roen-odoo, Hubert Van De Walle, Vincent Larcin, David Monnom (moda), Pedram (PEBR), Louis Wicket (wil), tsm-odoo, Gauthier Wala (gawa), Claire Bretton (clbr), Yosua Nicolaus, Dylan Kiss (dyki), Valeriya(vchu), Anita (anko), Nguyễn Đại Dương, Harsh Modi, Sarah Bellefroid, Theo VINCENT (thvi), Pedram (pebr), Adrien Guilliams (adgu), Louis (loti), Julien Carion (juca), Louis (wil), mano-odoo, Joseph (jcb), parp-odoo, aamo-odoo, Parth Solanki[PASO], vlst, David Monnom, Arthur Nanson, Bastien PIERRE, kusi-odoo, Hadi El Yakhni, dhruv, Guillaume V, vlst-odoo, Meet Jivani [MEJI], sjai-odoo, path-odoo, David (davg), taal-odoo, enricodg
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:25:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - point_of_sale
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - onboarding
    - analytic
    - phone_validation
    - account_payment
    - payment
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
pay pay ir.ui.view qweb New
pay_confirmation pay_confirmation ir.ui.view qweb New
pay_summary pay_summary ir.ui.view qweb New
payment_transaction_form payment.transaction.form payment.transaction button Inherits payment.payment_transaction_form
pos_payment_method_view_form_inherit_pos_online_payment pos.payment.method.form.inherit.pos_online_payment pos.payment.method xpath Inherits point_of_sale.pos_payment_method_view_form
pos_payment_method_view_tree_inherit_pos_online_payment pos.payment.method.list.inherit.pos_online_payment pos.payment.method xpath Inherits point_of_sale.pos_payment_method_view_tree
view_account_payment_form_inherit_pos_online_payment view.account.payment.form.inherit.pos_online_payment account.payment xpath Inherits account.view_account_payment_form
view_pos_payment_form pos.payment.form pos.payment xpath Inherits point_of_sale.view_pos_payment_form
Models touched (7)

New fields (1)
  • pos_order_id Many2one → pos.order
    help='The Point of Sale order linked to this payment' readonly=True string='POS Order' args: 'pos.order'
Public methods (1)
  • action_view_pos_order(self)
    Return the action for the view of the pos order linked to the payment.

New fields (1)
  • pos_order_id Many2one → pos.order
    help='The Point of Sale order linked to the payment transaction' readonly=True string='POS Order' args: 'pos.order'
Public methods (1)
  • action_view_pos_order(self)
    Return the action for the view of the pos order linked to the transaction.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • next_online_payment_amount Float
    digits=0 required=False string='Next online payment amount to pay'
  • online_payment_method_id Many2one → pos.payment.method
    compute='_compute_online_payment_method_id' args: 'pos.payment.method'
Public methods (2)
  • get_amount_unpaid(self)
  • get_and_set_online_payments_data(self, next_online_payment_amount=False)
    Allows to update the amount to pay for the next online payment and get online payments already made and how much remains to be paid. If next_online_payment_amount is different than False, updates the next online payment amount, otherwise, the next online payment amount is unchanged. If next_online_payment_amount is 0 and the order has no successful online payment, is in draft state, is not a restaurant order and the pos.config has no trusted config, then the order is deleted from the database, because it was probably added for the online payment flow.

New fields (1)
  • online_account_payment_id Many2one → account.payment
    readonly=True string='Online accounting payment' args: 'account.payment'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (4)
  • has_an_online_payment_provider Boolean
    compute='_compute_has_an_online_payment_provider' readonly=True
  • is_online_payment Boolean
    default=False help='Use this payment method for online payments (payments made on a web page with online payment providers)' string='Online Payment'
  • online_payment_provider_ids Many2many → payment.provider
    domain="[('is_published', '=', True), ('state', 'in', ['enabled', 'test'])]" string='Allowed Providers' args: 'payment.provider'
  • type Selection
    selection_add=[('online', 'Online')]
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/17.0/pos_online_payment
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Xavier Morel, qdp-odoo, Odoo Online, Laurent Smet, Christophe Monniez, Joseph Caburnay, Samuel Degueldre, Tiffany Chang (tic), Gorash, roen-odoo, Antoine Vandevenne (anv), Pedram (PEBR), Louis Wicket (wil), tsm-odoo, Dylan Kiss (dyki), Michael (mcm), Valeriya(vchu), Nguyễn Đại Dương, Harsh Modi, Theo VINCENT (thvi), Adrien Guilliams (adgu), Louis (wil), mano-odoo, Parth Solanki[PASO], Xavier Luyckx (xlu), vlst, Jitendra Prajapat, Pierre Pulinckx (pipu), dhruv
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:02:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - point_of_sale
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - onboarding
    - analytic
    - account_payment
    - payment
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
pay pay ir.ui.view qweb New
pay_confirmation pay_confirmation ir.ui.view qweb New
pay_summary pay_summary ir.ui.view qweb New
payment_transaction_form payment.transaction.form payment.transaction button Inherits payment.payment_transaction_form
pos_payment_method_view_form_inherit_pos_online_payment pos.payment.method.form.inherit.pos_online_payment pos.payment.method xpath Inherits point_of_sale.pos_payment_method_view_form
pos_payment_method_view_tree_inherit_pos_online_payment pos.payment.method.tree.inherit.pos_online_payment pos.payment.method xpath Inherits point_of_sale.pos_payment_method_view_tree
view_account_payment_form_inherit_pos_online_payment view.account.payment.form.inherit.pos_online_payment account.payment xpath Inherits account.view_account_payment_form
view_pos_payment_form pos.payment.form pos.payment xpath Inherits point_of_sale.view_pos_payment_form
Models touched (7)

New fields (1)
  • pos_order_id Many2one → pos.order
    help='The Point of Sale order linked to this payment' readonly=True string='POS Order' args: 'pos.order'
Public methods (1)
  • action_view_pos_order(self)
    Return the action for the view of the pos order linked to the payment.

New fields (1)
  • pos_order_id Many2one → pos.order
    help='The Point of Sale order linked to the payment transaction' readonly=True string='POS Order' args: 'pos.order'
Public methods (1)
  • action_view_pos_order(self)
    Return the action for the view of the pos order linked to the transaction.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • next_online_payment_amount Float
    digits=0 required=False string='Next online payment amount to pay'
  • online_payment_method_id Many2one → pos.payment.method
    compute='_compute_online_payment_method_id' args: 'pos.payment.method'
Public methods (2)
  • get_amount_unpaid(self)
  • get_and_set_online_payments_data(self, next_online_payment_amount=False)
    Allows to update the amount to pay for the next online payment and get online payments already made and how much remains to be paid. If next_online_payment_amount is different than False, updates the next online payment amount, otherwise, the next online payment amount is unchanged. If next_online_payment_amount is 0 and the order has no successful online payment, is in draft state, is not a restaurant order and the pos.config has no trusted config, then the order is deleted from the database, because it was probably added for the online payment flow.

New fields (1)
  • online_account_payment_id Many2one → account.payment
    readonly=True string='Online accounting payment' args: 'account.payment'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (4)
  • has_an_online_payment_provider Boolean
    compute='_compute_has_an_online_payment_provider' readonly=True
  • is_online_payment Boolean
    default=False help='Use this payment method for online payments (payments made on a web page with online payment providers)' string='Online Payment'
  • online_payment_provider_ids Many2many → payment.provider
    domain="[('is_published', '=', True), ('state', 'in', ['enabled', 'test'])]" string='Allowed Providers' args: 'payment.provider'
  • type Selection
    selection_add=[('online', 'Online')]
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (0)

No new fields.

Public methods (0)

No public methods.