odoo/odoo#192418

Created by fw-bot
Merged at 00866349c6bea5351d60ee3eacd4471478f0cff8

Statuses:

label
odoo-dev:saas-17.4-16.0-hr_contract-fix-valid-contract-domain-amah-AtlC-fw
head
ab95f9948b4d5aca1abb6f4139e3f989d5e92fcf
merged
10 months ago by Fun HR, Bertrand Dossogne (bedo)
odoo/odoo
16.0 #192145
17.0 #192394
saas-17.2 #192411
saas-17.4 #192418
18.0 #192423
saas-18.1 #192424
saas-18.2
saas-18.3
saas-18.4
19.0
master #192455

[FW][IMP] hr_contract: fix contract count on stat button

  • add check on employee_id to the contract domain to exclude templates from the contract count on the stat buttons as it gives misleading info about the real contracts count

task-4402795

Forward-Port-Of: #192145