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.com

Entity: pos.payment.method

Compute Method: _compute_viva_com_webhook_endpoint

Inputs Method Outputs
web_base_url = self.get_base_url()
self.viva_com_webhook_endpoint = (
            f"{web_base_url}/pos_viva_com/notification?company_id={self.company_id.id}"
            f"&token={self.viva_com_webhook_verification_key}"
        )

Back to entity