mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
On the commercial entity, the count shows all contracts of child partners. However clicking on the action might show no contract, as the action only restricted the domain to the partner itself. We extract the domain into a function to share it in both cases.