Hi,
I'm trying to create a new field for a list view that simply multiplies the "shipping_weight" field by 0.4536
Reason is that I have 2 businesses on the database, no.1 primarily uses pounds as the weight and no.2 uses Kg.
Unfortunately Odoo doesn't allow each company to use a different primary UoM.
When arranging freight for company no.2 its in Kg with the haulier so I just want to multiply the "shipping_weight" * 0.4536 to roughly convert Lb to Kg.
I have created a floating field in studio called "x_studio_weight_kg_1" and thought it would be something simple in the compute field like;
result = shipping_weight * 0.45359
or
for record in self:
record[x_studio_weight_kg_1] = shipping_weight * 0.45359
but evidently its something else, any help would be appreciated.