Hello community ,
I'm trying to extend this class to add some functions exports.Order = Backbone.Model.extend({ it is difrrent from the most of the classes how we can extend this type of classes ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello community ,
I'm trying to extend this class to add some functions exports.Order = Backbone.Model.extend({ it is difrrent from the most of the classes how we can extend this type of classes ?
I've found a solution for people who need this:
var models = require('point_of_sale.models');
models.Order = models.Order.extend({
// your code here
})
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
0
nov. 23
|
38 | ||
|
1
mei 23
|
2508 | ||
|
0
feb. 16
|
5616 | ||
Odoo 14: Reload Point Of Sale
Opgelost
|
|
1
apr. 24
|
2036 | |
Create sales order from pos session
Opgelost
|
|
1
feb. 22
|
5275 |