Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: POS Viva Wallet

Entity: pos.payment.method

Compute Method: _compute_viva_wallet_webhook_endpoint

Inputs Method Outputs
web_base_url = self.get_base_url()
self.viva_wallet_webhook_endpoint = f"{web_base_url}/pos_viva_wallet/notification?company_id={self.company_id.id}&token={self.viva_wallet_webhook_verification_key}"

Back to entity