コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
5796 ビュー

Hello, I have a bit of a problem with editable one2many fields on openerp 6.1

I need to on click of the save button on an editable tree line the system automatically save that line on the database, pretty much like the previous versions of Openerp.

アバター
破棄
最善の回答

Hi,

due to the code in web client (create a virtual id for the line which is changed to real id only when form is saved) and onchange method return (can't return a view or action), it is not possible, this is logical, lines are saved only when form is saved. The best way I find for 6.1 is to add a button update which return an action ir.actions.act_window, just on click to do (not two for save the form and edit in case where you want to save multi lines).

Bye.

アバター
破棄
関連投稿 返信 ビュー 活動
3
12月 21
29844
2
3月 15
7095
1
5月 21
3592
1
1月 20
7437
9
9月 19
28675