I use a functional method to store the country name and display it in a custom view, but I've a problem when I update the country_id with public boolean update(int row_id, OValues values) { , the country_name is not updated ?
There is a good way to update the name without setting it manually ?
Thank you in advance for your answers
@Odoo.Functional(method = "storeCountryName", store = true, depends = {"country_id"}) OColumn country_name = new OColumn("Country Name", OVarchar.class) .setLocalColumn();
Hello dear,
I use a functional method to store the country name and display it in a custom view, but I've a problem when I update the country_id with
public boolean update(int row_id, OValues values) {
, the country_name is not updated ?There is a good way to update the name without setting it manually ?
Thank you in advance for your answers
@Odoo.Functional(method = "storeCountryName", store = true, depends = {"country_id"}) OColumn country_name = new OColumn("Country Name", OVarchar.class) .setLocalColumn();