Fall 4602: Neue Schnittstellenfelder, retailer auch bei create_company mitgeben.

develop
Roman Widmann 2018-02-09 15:26:11 +01:00
parent c30788af16
commit b6532b0ac5
2 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@ values = {
"date_vat_check": "2017-08-04",
"active": True,
"retail_partner_id": "A144S3",
"retailer": False,
}
res_partner_obj = odoo.env['res.partner']

View File

@ -203,7 +203,7 @@ class Partner(models.Model):
elif self.env.context.get('sst_11', False):
common_list.extend(['name', 'ref', 'partner_sector_id', 'comment', 'vat', 'property_payment_term_id',
'property_pricelist_id', 'date_vat_check', 'active', 'property_product_pricelist',
'retail_partner_id'])
'retail_partner_id', 'retailer'])
return common_list
else:
return super(Partner, self)._get_specified_fields()