← Back to team overview

credativ team mailing list archive

[Bug 921390] [NEW] on save readonly elements (populated via default_get method) are not saved

 

You have been subscribed to a public bug:

I have custom entity with o2m on res.partner and when I am on the
res.partner view and create a new record for the custom entity, I use
default_get method to populate certain fields ( don't want the user to
modify them but want them to be displayed to the user) and keep them
readonly.

The field gets stored in the buffer as it show up on the tree view when
I say save on the child form. But when I hit save on the main
res.partner form, the value dis-appears. I did a debug_rpc_answer to
check and it seems the UI is dropping it at the save time.

Can this be fixed?

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
on save readonly elements (populated via default_get method) are not saved 
https://bugs.launchpad.net/bugs/921390
You received this bug notification because you are a member of OpenERP Framework Experts, which is subscribed to OpenERP Server.