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
})
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
0
พ.ย. 23
|
38 | |||
|
Open popup when point of sale is loaded
แก้ไขแล้ว
|
1
พ.ค. 23
|
3221 | ||
|
0
ก.พ. 16
|
6461 | |||
|
Odoo 14: Reload Point Of Sale
แก้ไขแล้ว
|
1
เม.ย. 24
|
2842 | ||
|
Create sales order from pos session
แก้ไขแล้ว
|
1
ก.พ. 22
|
6016 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.