Odoo Help

Welcome!

This community 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.

0

problems with context in the pop up

By
Dércio Duvane
on 5/6/13, 12:29 PM 443 views

hay gays... iam traying to pass a value from the context in a pop up...like is showed obove

"<form string="Lancamentos" >="" <group="" col="6"> <field name="conta_id"/> <field name="valor_origem"/> <field name="plano_centro_id" invisible="1"/> <field name="natureza"/> <field colspan="6" name="lancamentos_reflexao_custo_ids" widget="one2many_list" nolabel="1" domain="['movimento_reflexao_id', '=', active_id]" context="{'movimento_reflexao_id': active_id}"> <tree editable="bottom"> <field name="conta_origem_id" invisible="1"/> <field name="plano_centro_id" on_change="on_change_plano(plano_centro_id)"/> <field name="centro_id"/> <field name="percentagem"/> <field name="valor" ref="valor_origem"/> <field name="natureza"/> <field name="parente_sup" invisible="1"/> </tree> </field> <label string="" colspan="3"/> <newline/> <label string="" colspan="5"/> <button string="Guardar" name="actualizar" type="object"/> </group> </form>"

but my context always become empty... can you give me a solution???

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 5/6/13, 12:29 PM
Seen: 443 times
Last updated: 3/16/15, 8:10 AM