Payment Provider: Demo

payment_demo
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/19.0/payment_demo
VERSION
VERSION 2.0
CATEGORY
CATEGORYAccounting/Accounting
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo S.A.
MAINTAINERS
MAINTAINERSOdoo S.A.
COMMITTERS
COMMITTERSOdoo Translation Bot, Julien Castiaux, Tiffany Chang (tic), Gorash, Valentin Chevalier, Louis Wicket (wil), Levi Siuzdak (sile), Dylan Kiss (dyki), Valeriya(vchu), Louis (loti), dere-odoo, nihp-odoo, Krzysztof Magusiak (krma), Valeriya (vchu), chpa-odoo
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:51:40
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - payment
    - onboarding
    - web
    - base
    - portal
    - html_editor
    - bus
    - http_routing
    - mail
    - base_setup
    - web_tour
    - auth_signup
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
 

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
express_checkout_form express_checkout_form ir.ui.view qweb New
express_inline_form express_inline_form ir.ui.view qweb New
inline_form inline_form ir.ui.view qweb New
payment_details payment_details ir.ui.view qweb New
payment_provider_form Demo Provider Form payment.provider page Inherits payment.payment_provider_form
payment_token_form Demo Token Form payment.token group Inherits payment.payment_token_form
payment_transaction_form Demo Transaction Form payment.transaction header Inherits payment.payment_transaction_form
token_inline_form token_inline_form ir.ui.view qweb New
Models touched (3)

New fields (1)
  • code Selection
    ondelete={'demo': 'set default'} selection_add=[('demo', 'Demo')]
Public methods (0)

No public methods.

New fields (1)
  • demo_simulated_state Selection
    help='The state in which transactions created from this token should be set.' selection=[('pending', 'Pending'), ('done', 'Confirmed'), ('cancel', 'Canceled'), ('error', 'Error')] string='Simulated State'
Public methods (0)

No public methods.

New fields (1)
  • capture_manually Boolean
    related='provider_id.capture_manually'
Public methods (3)
  • action_demo_set_canceled(self)
    Set the state of the demo transaction to 'cancel'. Note: self.ensure_one() :return: None
  • action_demo_set_done(self)
    Set the state of the demo transaction to 'done'. Note: self.ensure_one() :return: None
  • action_demo_set_error(self)
    Set the state of the demo transaction to 'error'. Note: self.ensure_one() :return: None
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/18.0/payment_demo
VERSION
VERSION 2.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Odoo Translation Bot, Martin Trigaux, Aaron Bohy, Odoo Online, Tiffany Chang (tic), Kishan Gajjar, Antoine Vandevenne (anv), Levi Siuzdak (sile), Dylan Kiss (dyki), Valeriya(vchu), Louis (wil), mathysPaul, kusi-odoo, Valeriya (vchu)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:25:53
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - payment
    - onboarding
    - web
    - base
    - portal
    - web_editor
    - bus
    - html_editor
    - http_routing
    - mail
    - base_setup
    - web_tour
    - auth_signup
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
 

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
express_checkout_form express_checkout_form ir.ui.view qweb New
express_inline_form express_inline_form ir.ui.view qweb New
inline_form inline_form ir.ui.view qweb New
payment_details payment_details ir.ui.view qweb New
payment_provider_form Demo Provider Form payment.provider page Inherits payment.payment_provider_form
payment_token_form Demo Token Form payment.token group Inherits payment.payment_token_form
payment_transaction_form Demo Transaction Form payment.transaction header Inherits payment.payment_transaction_form
token_inline_form token_inline_form ir.ui.view qweb New
Models touched (3)

New fields (1)
  • code Selection
    ondelete={'demo': 'set default'} selection_add=[('demo', 'Demo')]
Public methods (0)

No public methods.

New fields (1)
  • demo_simulated_state Selection
    help='The state in which transactions created from this token should be set.' selection=[('pending', 'Pending'), ('done', 'Confirmed'), ('cancel', 'Canceled'), ('error', 'Error')] string='Simulated State'
Public methods (0)

No public methods.

New fields (1)
  • capture_manually Boolean
    related='provider_id.capture_manually'
Public methods (3)
  • action_demo_set_canceled(self)
    Set the state of the demo transaction to 'cancel'. Note: self.ensure_one() :return: None
  • action_demo_set_done(self)
    Set the state of the demo transaction to 'done'. Note: self.ensure_one() :return: None
  • action_demo_set_error(self)
    Set the state of the demo transaction to 'error'. Note: self.ensure_one() :return: None
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/17.0/payment_demo
VERSION
VERSION 2.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Denis Ledoux, Odoo Online, Tiffany Chang (tic), Gorash, Pierre Paridans, Kishan Gajjar, Antoine Vandevenne (anv), Demesmaeker, Valentin Chevalier, tsm-odoo, Valentin Vallaeys (vava), Dylan Kiss (dyki), Michael (mcm), Horacio Tellez, Valeriya(vchu), Anita (anko), Brieuc-brd, Louis (wil), Bastien PIERRE, Valeriya (vchu)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:02:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - payment
    - onboarding
    - web
    - base
    - portal
    - web_editor
    - bus
    - http_routing
    - mail
    - base_setup
    - web_tour
    - auth_signup
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
 

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
express_checkout_form express_checkout_form ir.ui.view qweb New
express_inline_form express_inline_form ir.ui.view qweb New
inline_form inline_form ir.ui.view qweb New
payment_demo.payment_method_form payment_demo.payment_method_form ir.ui.view qweb Inherits payment.method_form
payment_demo.token_form payment_demo.token_form ir.ui.view qweb Inherits payment.token_form
payment_details payment_details ir.ui.view qweb New
payment_token_form Demo Token Form payment.token group Inherits payment.payment_token_form
payment_transaction_form Demo Transaction Form payment.transaction header Inherits payment.payment_transaction_form
token_inline_form token_inline_form ir.ui.view qweb New
Models touched (3)

New fields (1)
  • code Selection
    ondelete={'demo': 'set default'} selection_add=[('demo', 'Demo')]
Public methods (0)

No public methods.

New fields (1)
  • demo_simulated_state Selection
    help='The state in which transactions created from this token should be set.' selection=[('pending', 'Pending'), ('done', 'Confirmed'), ('cancel', 'Canceled'), ('error', 'Error')] string='Simulated State'
Public methods (0)

No public methods.

New fields (1)
  • capture_manually Boolean
    related='provider_id.capture_manually'
Public methods (3)
  • action_demo_set_canceled(self)
    Set the state of the demo transaction to 'cancel'. Note: self.ensure_one() :return: None
  • action_demo_set_done(self)
    Set the state of the demo transaction to 'done'. Note: self.ensure_one() :return: None
  • action_demo_set_error(self)
    Set the state of the demo transaction to 'error'. Note: self.ensure_one() :return: None
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/16.0/payment_demo
VERSION
VERSION 2.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSVictor Feyens, Romain Estievenart, Antoine Vandevenne (anv), Valentin Chevalier, Valentin Vallaeys (vava), Horacio Tellez, Martin Trigaux (mat)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:47
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - payment
    - portal
    - web
    - base
    - web_editor
    - bus
    - http_routing
    - mail
    - base_setup
    - web_tour
    - auth_signup
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
 

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
inline_form inline_form ir.ui.view qweb New
payment_token_form Demo Token Form payment.token group Inherits payment.payment_token_form
payment_transaction_form Demo Transaction Form payment.transaction header Inherits payment.payment_transaction_form
token_inline_form token_inline_form ir.ui.view qweb New
verified_token_checkmark verified_token_checkmark ir.ui.view qweb Inherits payment.verified_token_checkmark
Models touched (3)

New fields (1)
  • code Selection
    ondelete={'demo': 'set default'} selection_add=[('demo', 'Demo')]
Public methods (0)

No public methods.

New fields (1)
  • demo_simulated_state Selection
    help='The state in which transactions created from this token should be set.' selection=[('pending', 'Pending'), ('done', 'Confirmed'), ('cancel', 'Canceled'), ('error', 'Error')] string='Simulated State'
Public methods (0)

No public methods.

New fields (1)
  • capture_manually Boolean
    related='provider_id.capture_manually'
Public methods (3)
  • action_demo_set_canceled(self)
    Set the state of the demo transaction to 'cancel'. Note: self.ensure_one() :return: None
  • action_demo_set_done(self)
    Set the state of the demo transaction to 'done'. Note: self.ensure_one() :return: None
  • action_demo_set_error(self)
    Set the state of the demo transaction to 'error'. Note: self.ensure_one() :return: None