summaryrefslogtreecommitdiff
path: root/addons/project_long_term/project_long_term_view.xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-06-22 10:54:32 +0200
committerXavier Morel <xmo@openerp.com>2012-06-22 10:54:32 +0200
commit5182068b43ce8683f56d2e60d09c8b1197890a89 (patch)
treeb0305793a832bf8d24433e6b8faf02228c707ea6 /addons/project_long_term/project_long_term_view.xml
parent5179f7293c46eb05ceafe16e4e11aa50ec72d553 (diff)
[FIX] ensure containing form is saved when triggering an action from an editable o2m list
After opening a record with a list o2m, editing said list o2m and saving a row, clicking the action button would lose all data explicitly changed: the o2m would just call the action without saving the form's current state, so the corresponding server method would only be able to use data previously saved. Fixed by overriding do_button_action, and only calling the _super() method after the parent form has announced it is saved (either because nothing was changed or because it did indeed save itself). bzr revid: xmo@openerp.com-20120622085432-mh3977uygua5bypn
Diffstat (limited to 'addons/project_long_term/project_long_term_view.xml')
0 files changed, 0 insertions, 0 deletions