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
})
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
0
Nov 23
|
38 | ||
Open popup when point of sale is loaded
Diselesaikan
|
|
1
Mei 23
|
2495 | |
|
0
Feb 16
|
5601 | ||
Odoo 14: Reload Point Of Sale
Diselesaikan
|
|
1
Apr 24
|
2021 | |
Create sales order from pos session
Diselesaikan
|
|
1
Feb 22
|
5260 |