fix sst-14

develop
Andreas Osim 2019-02-25 09:24:48 +01:00
parent 66e1486f55
commit d190216099
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ class Partner(models.Model):
'is_retailer', 'name2', 'carrier_id', 'collective_bill', 'fiscal_position', 'partner_flash']) 'is_retailer', 'name2', 'carrier_id', 'collective_bill', 'fiscal_position', 'partner_flash'])
return common_list return common_list
elif self.env.context.get('sst_14', False): elif self.env.context.get('sst_14', False):
common_list = ['firstname', 'lastname', 'midname', 'email', 'company_odoo_id', 'portal_id', 'opt_out'] common_list = ['firstname', 'lastname', 'midname', 'email', 'company_odoo_id', 'portal_id', 'opt_out', 'property_product_pricelist']
return common_list return common_list
elif self.env.context.get('delivery_partner', False): elif self.env.context.get('delivery_partner', False):
common_list = ['firstname', 'lastname', 'midname', 'street', 'street2', 'zip', 'city', 'country_id', 'fax', common_list = ['firstname', 'lastname', 'midname', 'street', 'street2', 'zip', 'city', 'country_id', 'fax',