Filter on onetomany list [Closed]
The Question has been closed for reason: duplicate questionby
We have a onetomany called x_mainid added to the res.partner model, which is related to the another model called x_maintenance. We need to filter the maintenance records being show on the partner screen, as they are being shown as a onetomany field list within a page on the partner screen.
For example, within the model x_maintenance there is field called archive. It is a bolean that is ticked to archive the maintenance information. The idea being is that we want to filter the list within the partner screen. Not showing any records that are ticked as archive.
I assume I need to use domain facility, but not sure where.
About This Community
|Asked: 11/15/13, 9:15 AM|
|Seen: 631 times|
|Last updated: 3/16/15, 8:10 AM|