diff --git a/hotel_roommatik/models/roommatik.py b/hotel_roommatik/models/roommatik.py index 4bc380f7f..d03680cc3 100755 --- a/hotel_roommatik/models/roommatik.py +++ b/hotel_roommatik/models/roommatik.py @@ -99,7 +99,7 @@ class RoomMatik(models.Model): return json_response @api.model - def _rm_add_payment(self, code, payment): + def rm_add_payment(self, code, payment): apidata = self.env['account.payment'] return apidata.sudo().rm_checkin_partner(code, payment) # Debug Stop -------------------