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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
pos_pricelist/static/src/js/models.js
|
|
@ -746,7 +746,7 @@ function pos_pricelist_models(instance, module) { |
|
|
|
'pricelist_id', |
|
|
|
'date_start', |
|
|
|
'date_end', |
|
|
|
'items'], |
|
|
|
], |
|
|
|
domain: function (self) { |
|
|
|
var pricelist_ids = _.map(_.keys(self.db.pricelist_by_id), function(el){return parseInt(el)}); |
|
|
|
return [ |
|
|
|