don't update data table after during/after update module
This bug report was converted into a question: question #202936: don't update data table after during/after update module.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
OpenERP 6.1.
I write and install simple module for test api.
When i add new field in class and viewform system don't update current fields( i change help notation) and don't add new field in data tables, in following gui view can't find new data field and don't work.
Example code.
simpleunit.py:
<...>
class simpleunit(
_name=
_descriptio
_columns={
}
simpleunit()
<....>
simpleunit_
<...>
<record model="ir.ui.view" id="simple_
<field name="name"
<field name="model"
<field name="type"
<field name="arch" type="xml">
</record>
<...>
New code for update module:
simpleunit.py:
simpleunit.py:
<...>
class simpleunit(
_name=
_descriptio
_columns={
}
simpleunit()
<....>
when i update this module change not commit and gui not find `field new_field`.
affects: | openobject-library → openobject-addons |
affects: | openobject-addons → openobject-server |
if i make new inherit class then i can add new field in subclass and they update through standart update wizzard(web or gtk-client) without error and after that they displayed in view form.