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
})
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل| المنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
|---|---|---|---|---|
|
0
نوفمبر 23
|
38 | |||
|
1
مايو 23
|
3184 | |||
|
0
فبراير 16
|
6432 | |||
|
Odoo 14: Reload Point Of Sale
تم الحل
|
1
أبريل 24
|
2817 | ||
|
1
فبراير 22
|
5988 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.