hi all , iam using odoo 11 community edition when i try to create down payments , its showing some error in the core module which i didnt make any changes ,
Error:
Odoo Server Error
Traceback (most recent call last):
File "/odoo/intrans/odoo/http.py", line 653, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/odoo/intrans/odoo/http.py", line 312, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/odoo/intrans/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/odoo/intrans/odoo/http.py", line 695, in dispatch
result = self._call_function(**self.params)
File "/odoo/intrans/odoo/http.py", line 344, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/odoo/intrans/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/odoo/intrans/odoo/http.py", line 337, in checked_call
result = self.endpoint(*a, **kw)
File "/odoo/intrans/odoo/http.py", line 939, in __call__
return self.method(*args, **kw)
File "/odoo/intrans/odoo/http.py", line 517, in response_wrap
response = f(*args, **kw)
File "/odoo/intrans/addons/web/controllers/main.py", line 938, in call_button
action = self._call_kw(model, method, args, {})
File "/odoo/intrans/addons/web/controllers/main.py", line 926, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/odoo/intrans/odoo/api.py", line 699, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/odoo/intrans/odoo/api.py", line 690, in call_kw_multi
result = method(recs, *args, **kwargs)
File "/odoo/intrans/addons/sale/wizard/sale_make_invoice_advance.py", line 172, in create_invoices
self._create_invoice(order, so_line, amount)
File "/odoo/intrans/addons/sale/wizard/sale_make_invoice_advance.py", line 118, in _create_invoice
'sale_order_id': order.sale_orders.id,
AttributeError: 'sale.order' object has no attribute 'sale_orders'
can someone help me with this