[trunk] - ir.actions.act_window - missing required flag on several fields (res_model, context, view_type, ...)
Bug #580218 reported by
Ferdinand
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Low
|
Olivier Dony (Odoo) |
Bug Description
Currently the following fields are required for ir.actions.
- res_model
- context
- view_type
- view_mode
- type (but is redundant and readonly)
Marking them explicitly as required will provide a safeguard for OpenERP admins.
Related branches
summary: |
- trunk - ir.actions.act_window - context must be at least {} + [trunk] - ir.actions.act_window - missing required flag on several + fields (res_model, context, view_type, ...) |
Changed in openobject-server: | |
status: | Invalid → Confirmed |
importance: | Wishlist → Low |
description: | updated |
To post a comment you must log in.
On Friday 14 May 2010, you wrote:
> Public bug reported:
>
> context field must not be empty - and should issue an user friendly
> error message
>
> the problem is that sometimes the context has to be deleted manually -
> as this is not done automatically if context tag is removed from xml
> file
Do you mean it's the issue where xml updates change the action but forget to
update/reset the context field at it?
So, you want the xml files to remove the context (or put a new one), when they
are loaded, right?
If that's the case, the problem may lie in the way xml files are loaded. That's
a more tricky thing. We might want a mechanism to say "if you reload field1,
field2 from xml, then at least reset field3, field4 to default"..