modifying columns which are included in a view fails
Bug #853198 reported by
Ferdinand
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP's Framework R&D |
Bug Description
Example
DETAIL: cannot alter type of a column used by a view or rule DETAIL: rule _RETURN on view hr_expense_report depends on column "unit_amount"
IMHO if this type of error occurs the dependent view must be deleted using
- tools.drop_
and the operation must be reexecuted to allow clean automated installation
otherwise the
- tools.drop_
has to be included in a module which is installed independant of the one creating the view.
which has some advantages for the devloper to know but
To post a comment you must log in.
.... but this is not a general vaild solution, because no module developer can know about all views installed in a system.
but I am not sure that a view deleted this way will be reinstalled automatically