Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_config_settings_view_form_menu res.config.settings.view.form.inherit.pos_online_payment.view res.config.settings form Inherits point_of_sale.res_config_settings_view_form
HTTP endpoints (2)
Route(s)HandlerAuthTypeMethodsFlags
(inherited route override) PaymentPortalSelfOrder.pos_order_pay inherited http ALL
(inherited route override) PaymentPortalSelfOrder.pos_order_pay_confirmation inherited http ALL sudo
Models touched (6)

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 (1)
  • self_order_online_payment_method_id Many2one → pos.payment.method
    domain=[('is_online_payment', '=', True)] help='The online payment method to use when a customer pays a self-order online.' readonly=False store=True string='Self Online Payment' args: 'pos.payment.method'
Public methods (1)
  • has_valid_self_payment_method(self)

New fields (1)
  • use_self_order_online_payment Boolean
    compute='_compute_use_self_order_online_payment' readonly=True store=True
Public methods (4)
  • create(self, vals_list)
    @api.model_create_multi
  • get_and_set_online_payments_data(self, next_online_payment_amount=False)
  • get_order_to_print(self)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • pos_self_order_online_payment_method_id Many2one
    readonly=False related='pos_config_id.self_order_online_payment_method_id'
Public methods (0)

No public methods.

Loading…

Loading…