Hi all:
I try to add the standard_price in the tree view in edition view
inventory -> reporting -> Inventory Report
If i add<field name="standard_price" /> I get the following error
Error while validating view: Field "standard_price" does not exist in model "stock.quant" View name: stock.quant.tree.editable Error context: view: ir.ui.view(974,) xmlid: stock.view_stock_quant_tree_editable view.model: stock.quant
So how can i add the standard_price from product.template ?
Any help welcome.
If you are trying it do it from the front end then Niyas's answer is suitable, for future reference before trying to add a field in the list view you can first check whether the field is present in the model or not, to do so activate the developer mode then click on the ladybug icon and select the option of view fields and it'll display all the fields present for that model.