Hi all,
in my custom employe module I had a m2m structure:
class hr_employe_custom_model(models.Model):
_inherit = 'hr.employee'
qualification = fields.Many2many(comodel_name='hr.qualification')
which is
class Qualification(models.Model):
_name = "hr.qualification"
_order = "qual_type"
name = fields.Char()
date_begin = fields.Date()
date_duedate = fields.Date()
qual_type = fields.Many2one("hr.qualification_category")
class qualification_category(models.Model):
_name = "hr.qualification_category"
name = fields.Char()
1. I intend to filter qualification m2m based on a specific qual_type string. However,
domain="[('qual_type', 'ilike', 'B3')]">
actually doesn't apply at all?
2. Is there any way to add date_begin / date_duedate / qual_type as selectable field in a Custom Filter?
Regards,
Matthias