adapt SST_14 with 'property_product_pricelist'
							parent
							
								
									f8a95767ad
								
							
						
					
					
						commit
						cd85a5c6b0
					
				|  | @ -350,11 +350,11 @@ 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', | ||||||
|                            'phone', 'mobile', 'email', 'portal_id'] |                            'phone', 'mobile', 'email', 'portal_id', 'property_product_pricelist'] | ||||||
|             return common_list |             return common_list | ||||||
|         else: |         else: | ||||||
|             return super(Partner, self)._get_specified_fields() |             return super(Partner, self)._get_specified_fields() | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue