We can adding new fields by inherit the corresponding model in the python and you have to add the new fields, once this is done, you can inherit the view and add the new field or existing fields to the view.
2. We can adding new fields by inherit the corresponding model
in the python and you have to add the new fields, once this is
done, you can inherit the view and add the new field or
existing fields to the view.
3. ● Consider a situation where we need to add a new field in product which specifies the
product is available or not.
● For doing this, we need to inherit the model
○ In python file: inherit the model and specify the new field
4. ○ Make sure to verify the ‘ Model ’ and ‘ External ID ’ of the view that we want to add
the new field
5. ○ In xml file: Specify the external id as ‘ref’ and the path where we want to place the
field