Hellooooooooo!
I already have « database id » and « code » columns in my product.template.product.tree view. I'm very happy of this.
But I would also want an « external id » column. How could I make it?
An idea?
Thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hellooooooooo!
I already have « database id » and « code » columns in my product.template.product.tree view. I'm very happy of this.
But I would also want an « external id » column. How could I make it?
An idea?
Thanks
The external_id is stored in a separate table from product.template. The separate table is ir_model_data.
So you cannot just add it to your existing tree view definition.
To make the external_id to show in your tree view you must:
So you'll have few steps to do to get that to show.
It is much simpler to just use the export option and select the "id" column which will cause the external ID to be exported. Then view it in a spreadsheet.
<field name="default_code"/>
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up