Hi,
I need to rewrite the function _onCarrierUpdateAnswer which is in the module website_sale_delivery.For this purpose i have written the code like below
odoo.define('test_module.checkout', function (require) {
'use strict';
var DeliverYPay = require('website_sale_delivery.checkout')
console.log(DeliverYPay)
});
But the console returns me a undefined value.Is there anything wrong in my code.
Thanks