Purchase Indent multi-company
['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
Purchase Indent Line multi-company
['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
Purchase Indent multi-branch
['|', ('branch_id', '=', False), '|', ('branch_id', '=', user.default_branch_id.id),
('branch_id', 'in', user.branch_ids.ids)]
Purchase Indent Line multi-branch
['|', ('branch_id', '=', False), '|', ('branch_id', '=', user.default_branch_id.id),
('branch_id', 'in', user.branch_ids.ids)]