~mga/openobject-addons/account_india

« back to all changes in this revision

Viewing changes to hotel_reservation/hotel_reservation.py

  • Committer: Fabien Pinckaers
  • Date: 2008-12-14 16:48:05 UTC
  • Revision ID: fp@tinyerp.com-20081214164805-el7vuhu6p54ftv5y
improvements

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
#                                                                                           
129
129
#                                                                                                  
130
130
                                                                       })
131
 
            cr.execute('insert into hotel_folio_reservation_rel (order_id,invoice_id) values (%d,%d)', (reservation.id, folio))   
 
131
            cr.execute('insert into hotel_folio_reservation_rel (order_id,invoice_id) values (%s,%s)', (reservation.id, folio))   
132
132
            self.write(cr, uid, ids, {'state':'done'})
133
133
        return True
134
134
hotel_reservation()