Closed dceevp closed 7 years ago
hi.... i look arround others files and i think so maybe like this on file hotel_reservation.py line 414
'price_unit': self.pool.get('product.pricelist').price_get(self._cr, self._uid, [reservation.pricelist_id], r.product_id.id, 1, reservation.partner_id)[reservation.pricelist_id],
But, i get the following error
File "/odoo/odoo-server/openerp/sql_db.py", line 220, in execute res = self._obj.execute(query, params) ValueError: "can't adapt type 'product.pricelist'" while evaluating u'_create_folio()'
could anyone help me?
@dceevp We will check this today itself and shall respond back.
Hi, Thanks for reply
I found a solution, i don't know if this is the best, but it's work for me. On hotel_reservation.py I add the following code, Line 411,
Now, the reservation room use my pricelist
Pricelist
reservation line with local amount
hotel folio with price fixed
Folio details
Sales and invoice work fine.
Hi,
I have a problem with Odoo 9.0 and Hotel management System V9.0. I have a price list for each room category, but on reservation and create folio from reservation, the system only use de base price instead the price in price list.
Could you help me where i can modified the code to resolve this?
thanks
I add some images
Pricelist (set room to $70, base price for room 35 000 local currency)
Info on reservation room
Nice App :D