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
11월 23
|
38 | ||
|
1
5월 23
|
2799 | ||
|
0
2월 16
|
5957 | ||
|
1
4월 24
|
2369 | ||
|
1
2월 22
|
5617 |