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
})
Özel özelliklerden yararlanmak ve harika topluluğumuzla etkileşime geçmek için bugün bir hesap oluşturun!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
0
Kas 23
|
38 | |||
|
1
May 23
|
3976 | |||
|
0
Şub 16
|
7419 | |||
|
Odoo 14: Reload Point Of Sale
Çözüldü
|
1
Nis 24
|
3946 | ||
|
1
Şub 22
|
6953 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.