I made changes in the FormView of res.partner.form
and it works like I want.
After that, I updated modules from launchpad and the changes was gone!
How can I update modules without loss the changes I made? I must redo it again every time?
I know now that the file XML where is stored the form also can be 'updated' but I'm sure it must be a way to work with no pain.
All the changes I made only add 'attrs' (required
and visible
) to some fields to make it required or not and visible or not if is_company
is true.
attrs="{'invisible': [('is_company','=', True)]}
I don't need add new fields to de form (by now), so I wan't edit source code if I don't need. All changes are made through the web client.
Any comment?