Odoo Ayuda

0

1
1 Respuesta
2
Yug Faa Marruecos
10/7/13 11:11

Yes you can define a new save button

On header put this :

<header>
<button string="Save" type="object" name="save"/>
<header>

On save method on python object put this

def save(self, cr, uid, ids, context):
    return True

You can return in place of True a window action with the actual ID, if you want to leave the edit mode.

1 Comentario
Laura Intan Indonesia
11/7/13 2:22

Can I just use existing save method? Do you know what method they are calling to save a form, especially for a project form? I really appreciate your help. Thank you

Realizar una pregunta
Writer
Etiquetas
Keep Informed
2 seguidor(es)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now