Hi, i need to overwrite async apply_discount(pc) on pos_discount module. Can you guys help me how to properly overwrite this ?
Update: i have been following the answer given and when browser loading the page, i found that there are some error:
warning: Some modules could not be started
Missing dependencies: Array [ "point_of_sale.DiscountButton" ]
Non loaded modules: Array [ "custom_module.DiscountButton" ]
Is there any missing code that i need to apply ?
Thanks.