814
814
if not product_data.get('status', False):
815
815
product_data.update({'status': product.active and 1 or 2})
818
group_shop_ids = self.pool.get('external.shop.group').search(cr,uid,[('referential_id', '=', external_referential_id)])
819
product_data.update({'websites': [x['code'] for x in self.pool.get('external.shop.group').read(cr, uid, group_shop_ids, ['code'])]})
821
817
if not product_data.get('description', False):
822
818
product_data.update({'description': product.description or _("description")})