Hi,

I've created a report.

my classes are:



class rentcar_contrat(osv.osv):
   _name='rentcar.contrat'
   _columns= {
      
      'contrat_id': 
fields.float('contrat_id',required=True),
      'client_id': 
fields.many2one('rentcar.client','client_id',required=True),
   }


class rentcar_client(osv.osv):
   _name = 'rentcar.client'
   _inherits = {'res.partner' : 'partner_id'}
   _columns = {

      'partner_id' : 
fields.many2one('res.partner','partner_id'),
     
 'address_id':fields.many2one('res.partner.address','partner_id'),
      'contrat': 
fields.one2many('rentcar.contrat','client_id','Contrat'),
      
   }


my aim is to print the informations of the client addresses, so  in my .sxw 
file i made a call to the name of client address but I've nothing scanned on 
the screen: 


[[ repeatIn(objects, 'o') ]]

[[o.client_id.address_id.name]]



can you correct it please for favor

thank you




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=35932#35932

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to