(odoo 10)I tried to create a primary form that inherits the vendor bills form to hide the field 'purchase_id'.
The problem is that the system raised error saying the field was not found in the parent.
The field 'purchase_id' is originally in an extension view of the parent. I tried inheriting from the parent and the extension but both doesn't work. Can anyone help?
Here is the code:
....
Here is the parent:
...
Here is the extension where the 'purchase_id' is
....