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.inherit res.partner Customers ir.actions.act_window res.partner form kanban,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.
↧