Quantcast
Channel: OpenERP Help - Individual question feed
Viewing all articles
Browse latest Browse all 224

View invisible fields shown with defaults?

$
0
0
I've modified a view so some fields aren't shown when a given field is disabled (particularly, `is_company` from `res.partner`). I've made a custom view that only shows Customers, and in my domain they're only Companies (there can never be a Person as a Customer). I've set `'default_is_company' : 0` in the action's `context`, but when I try to create a new Client (pressing the Create button), the fields that should be hidden are shown. res.partner.address.form1.inheritres.partner
Customersir.actions.act_windowres.partnerformkanban,form,tree{ 'search_default_customer':1, 'default_customer':1, 'default_is_company':1 } __IMAGE LINK:__ http :// i43.tinypic.com/28cn8s0.png If I edit an existing entity (even a new one created with this buggy form), the fields are correctly hidden. Any idea what's wrong with this? I'm using OpenERP 7.0-20130623-231037, in Spanish as you can see.

Viewing all articles
Browse latest Browse all 224