[FIX] hr_recruitment: Past application should count archive record
Problem ------- Recruitment pipe is design to work better if you archive the lost/refused candidate rather than moving them in a specific column this practice is reinforced by hr_referral. Therefore, the other application button should take into account archive applicant Solution -------- - count archived applicant - show archived applicant closes odoo/odoo#63982 X-original-commit: f242160eb06067ad56dec1c9acfbfe068ad1c6a1 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
@@ -362,6 +362,9 @@ class Applicant(models.Model):
|
||||
'res_model': self._name,
|
||||
'view_mode': 'kanban,tree,form,pivot,graph,calendar,activity',
|
||||
'domain': [('email_from', 'in', self.mapped('email_from'))],
|
||||
'context': {
|
||||
'active_test': False
|
||||
},
|
||||
}
|
||||
|
||||
def _track_template(self, changes):
|
||||
|
||||
Reference in New Issue
Block a user