Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem while creating a new reservation #89

Closed
LF2T opened this issue Feb 20, 2017 · 1 comment
Closed

Problem while creating a new reservation #89

LF2T opened this issue Feb 20, 2017 · 1 comment

Comments

@LF2T
Copy link

LF2T commented Feb 20, 2017

Hello guys,
Every time I try to create a new reservation it gives this error :

File "C:\Users\Ismail\workspace\odoo-8.0-20160916\openerp\addons\hotel_reservation\models\hotel_reservation.py", line 321, in set_to_draft_reservation
self.delete_workflow(cr, uid, [reservation.id])
ValueError: "global name 'cr' is not defined" while evaluating
u'set_to_draft_reservation()'

even when i try to update the module with demo data it gives :

ValueError: "global name 'cr' is not defined" while evaluating

Thnx

@JayVora-SerpentCS
Copy link
Owner

@LF2T It has been fixed, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants