Private
Project *Project Tracker » Odoo ERP Phase 2
Tracker *3.Defect 4.New Request 5.Change Request 6.Support
Subject *
Description Edit ผิดพลาด: Odoo Server Error Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 237, in _dispatch result = request.dispatch() File "/usr/lib/python3/dist-packages/odoo/http.py", line 696, in dispatch result = self._call_function(**self.params) File "/usr/lib/python3/dist-packages/odoo/http.py", line 370, in _call_function return checked_call(self.db, *args, **kwargs) File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper return f(dbname, *args, **kwargs) File "/usr/lib/python3/dist-packages/odoo/http.py", line 358, in checked_call result = self.endpoint(*a, **kw) File "/usr/lib/python3/dist-packages/odoo/http.py", line 919, in __call__ return self.method(*args, **kw) File "/usr/lib/python3/dist-packages/odoo/http.py", line 544, in response_wrap response = f(*args, **kw) File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1374, in call_button action = self._call_kw(model, method, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1362, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/api.py", line 404, in call_kw result = _call_kw_multi(method, model, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/api.py", line 391, in _call_kw_multi result = method(recs, *args, **kwargs) File "/mnt/extra-addons/hrdi_erp2/tk_hotel_management/wizards/book_rooms_wizard.py", line 140, in action_create_hotel_room_bookings room_line_id._onchange_get_per_night_room_charges() File "/mnt/extra-addons/hrdi_erp2/tk_hotel_custom/models/hotel_room_details.py", line 43, in _onchange_get_per_night_room_charges total_price += base_price Exception The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/http.py", line 652, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python3/dist-packages/odoo/http.py", line 317, in _handle_exception raise exception.with_traceback(None) from new_cause NameError: name 'base_price' is not defined Screenshot 2568-07-30 at 01.19.02 
Status Closed
Priority *Low Normal High Urgent Immendiate
Assignee Anucha TaowkaenAphichat SaengphengChanannaphat Kosithirantrakuleye eyeIze PohnchitaJindaporn Prombudjiraporn daengtaNalita MeeleNattawat SrijindawanPloytawan Pinmaspraves tasingRachanit SrisawatRedmine AdminSarunyu KaosaoyManagementodoo teamSpport Odooอรแยม
Target version on process
Parent task
Start date
Due date
Estimated time Hours
% Done0 % 10 % 20 % 30 % 40 % 50 % 60 % 70 % 80 % 90 % 100 %
Story points
Checklist Cancel