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

View 17.0
Inputs Method Outputs
  • company_id
  • company_id.id
  • viva_wallet_webhook_verification_key
- 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}"
  • viva_wallet_webhook_endpoint

Back to entity