Hi,
I need to add a new field in sale.rental.schedule module because I want to group by a custom field that I have in the Sales Order.
I added the field as follow:
Related Field: order_id.my_field
Then I tried to group by "my_field" and I got the following error:
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/http.py", line 639, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/odoo/src/odoo/odoo/http.py", line 315, in _handle_exception
raise exception.with_traceback(None) from new_cause
psycopg2.errors.UndefinedColumn: column sale_rental_schedule.my_field does not exist
LINE 1: ...sale_rental_schedule"."card_name" as "card_name", "sale_rent...
Thanks for your help!