Browse Source

Merge pull request #311 from legalsylvain/8.0_FIX_pos_pricelist_unknown_field

[FIX] pos_pricelist do not load unexisting field #131
pull/312/head
Pedro M. Baeza 6 years ago
committed by GitHub
parent
commit
796d642ab6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pos_pricelist/static/src/js/models.js

2
pos_pricelist/static/src/js/models.js

@ -746,7 +746,7 @@ function pos_pricelist_models(instance, module) {
'pricelist_id', 'pricelist_id',
'date_start', 'date_start',
'date_end', 'date_end',
'items'],
],
domain: function (self) { domain: function (self) {
var pricelist_ids = _.map(_.keys(self.db.pricelist_by_id), function(el){return parseInt(el)}); var pricelist_ids = _.map(_.keys(self.db.pricelist_by_id), function(el){return parseInt(el)});
return [ return [

Loading…
Cancel
Save