A Dijous, 19 de juliol de 2012 08:52:39, Cédric Krier va escriure: > On 17/07/12 19:28 +0200, Raimon Esteve wrote: > > Hello, > > > > Is it available in XML report definition about group option? I try > > some reports only available group users. > > > > For example: > > <record model="ir.action.report" id="report_shipment_out_test"> > > > > <field name="name">Group Test</field> > > ..... > > <field name="group">stock_test.group_stock_test</field> <= > > > > is available some option? > > > > </record> > > > > In this example, "Group Test" report only available "group_stock_test" > > group users. How to do it? > > xxx2Many fields are not supported in XML. You must create the record on > the right Model. > Here, the Model is 'ir.action-res.group'.
Raimon, If I remember correctly this is on purpose because otherwise the relation has no entry on "ir.model.data" and thus can cause issues in case of update. -- Albert Cervera i Areny http://www.NaN-tic.com Tel: +34 93 553 18 03 http://twitter.com/albertnan http://www.nan-tic.com/blog -- [email protected] mailing list
