i have a customers in my odoo 8.0 software and all of them have a tags.i would like when i create a contact(child_ids) have automatically the same tags(category_id) of his customer.
i use this code but it doesn't work:
def _get_default_tags(self):
return self.pool.get('res.partner.category').search(crself.env.cr, self.env.uid, [])