Skip to content
Advertisement

How to override js method in Odoo 15?

Can anyone give me minimal code so that any method I can override for JS method?

JavaScript

Advertisement

Answer

You need to extend in-place a class in the registry, it is documented in the point of sale ClassRegistry.

Example

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement