Odoo-mobile / framework

Odoo Mobile Framework
https://play.google.com/store/apps/dev?id=8607973775002477408
Other
327 stars 374 forks source link

Update functional method #300

Open AsKaeternam opened 7 years ago

AsKaeternam commented 7 years ago

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();