Hi,
We have a multi-company setup where all contacts are completely separated from each other. Each contact is linked to a specific company of the multi-company setup and thanks to a record rule we ensure that the contacts are not shared across the companies. The record rule is set on 'res.partner company'. The value is
['|', '|', ('partner_share', '=', False), ('company_id', 'in', company_ids), ('company_id', '=', False)]
However, the automated reconciliation on the bank journal does share the contacts although we do not want that. First the reconciliation looks for a supplier in the own contacts. If it does not find it, then it looks at the contacts of the other company within the multicompany setup. When it finds it there, the supplier is attached to that specific bank journal booking. Because of the record rule above, the user then gets an obvious error that the user has no access to that contact.
The record rule for the reconciliation does not filter on partner_share. The current record rule is set on account.reconcile.model and the value is : ['|', ('company_id', 'in', company_ids), ('company_id', '=', False)] . There is no field in account.reconcile.model where we can define the partner_share. realise this with.
Anyone any idea how to solve this?
Thanks in advance!