Master intercompany rules tpa

https://www.odoo.com/web#id=6962&view_type=form&model=project.task&action=333&active_id=131
https://pad.odoo.com/p/r.IOcwt0uWZx1OKJiT
Some typical issues here
- in the comment, you say it return company_id, I suppose an int
- "if company_ids"': you return a browse record
- "else": you do not return anything; the convention for a void id is False in odoo.