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 ?
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
})
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
0
nov. 23
|
38 | |||
|
1
mai 23
|
3985 | |||
|
0
feb. 16
|
7452 | |||
|
Odoo 14: Reload Point Of Sale
Rezolvat
|
1
apr. 24
|
3983 | ||
|
Create sales order from pos session
Rezolvat
|
1
feb. 22
|
7015 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.