I have a model called
ng.worksheet and it has these two fields:
'machine_id': fields.many2one('ng.machine', 'SzÃ©ria szÃ¡m', ondelete='cascade', ), 'worksheet_history_ids' : fields.one2many('ng.worksheet', 'machine_id', 'Munkalap'),
and as for the view i have this:
<page string="GÃ©p TÃ¶rtÃ©net"> <field name="worksheet_history_ids" /> </page>
I wish to make it so that if on the row I'm viewing, has a
machine_id set i wish to view all the other
ng.worksheet rows that has the same
Is this possible?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 1/9/14, 4:34 AM|
|Seen: 725 times|
|Last updated: 3/16/15, 8:10 AM|