Open ikerfah opened 6 years ago
Hello , i'm having a problem when i try to use two @Odoo.domain() in the same OModel
example :
@Odoo.Domain("[['wilaya_id', '=', @wilaya_id]]") OColumn market = new OColumn("Nom Marché", Market.class, OColumn.RelationType.ManyToOne).setRequired(); @Odoo.Domain("[['wilaya', '=', @wilaya_id]]") OColumn commune = new OColumn("Commune", Commune.class,OColumn.RelationType.ManyToOne).setRequired(); OColumn wilaya_id = new OColumn("Wilaya", Wilaya.class,OColumn.RelationType.ManyToOne).setRequired();
if i keep only one of @Odoo.Domain it's works perfectly , when i keep them both only the second get affected by the filter and not both
any help ?
Hello , i'm having a problem when i try to use two @Odoo.domain() in the same OModel
example :
if i keep only one of @Odoo.Domain it's works perfectly , when i keep them both only the second get affected by the filter and not both
any help ?