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
})
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy| Aiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
|---|---|---|---|---|
|
0
marrask. 23
|
38 | |||
|
Open popup when point of sale is loaded
Ratkaistu
|
1
toukok. 23
|
3991 | ||
|
0
helmik. 16
|
7464 | |||
|
Odoo 14: Reload Point Of Sale
Ratkaistu
|
1
huhtik. 24
|
3984 | ||
|
Create sales order from pos session
Ratkaistu
|
1
helmik. 22
|
7026 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.