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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
3
dez. 21
|
29856 | ||
|
2
mar. 15
|
7105 | ||
one2many fields doesn't work properly
Resolvido
|
|
1
mai. 21
|
3612 | |
|
1
jan. 20
|
7445 | ||
|
9
set. 19
|
28688 |