Odoo Help



seifeddine Euchi
on 6/15/15, 5:10 AM 409 views

after the generate the set and get for my class entrprise and lanuch the odoo server ./odoo.py i have a bug the bug is filed not exist the get method is  

def get_ent_description(self):

return self.__ent_description

and  the definition in  the XML fil is

<record model="ir.ui.view" id="Entreprise_tree_view">

<field name="name">Entreprise.tree</field>

<field name="model">fs_calcul_cout_de_revient.entreprise</field>

<field name="type">tree</field>

<field name="arch" type="xml">

<tree string="tree_entreprise">

<field name="get_name(fs_calcul_cout_de_revient.entreprise)"/>

<field name="get_ent_description(fs_calcul_cout_de_revient.entreprise)"/>

<field name="get_ent_form_juridique(fs_calcul_cout_de_revient.entreprise)"/>

<field name="get_ent_etablissement(fs_calcul_cout_de_revient.entreprise)"/>

<field name="get_ent_rue(fs_calcul_cout_de_revient.entreprise)"/>

<field name="get_ent_region(fs_calcul_cout_de_revient.entreprise)"/>

<field name="get_ent_ville(fs_calcul_cout_de_revient.entreprise)"/>

<field name="get_ent_pays(fs_calcul_cout_de_revient.entreprise)"/>

<field name="get_ent_code_postal(fs_calcul_cout_de_revient.entreprise)"/>

<field name="get_ent_telephone(fs_calcul_cout_de_revient.entreprise)"/>

<field name="get_ent_fax(fs_calcul_cout_de_revient.entreprise)"/>

<field name="get_ent_mail(fs_calcul_cout_de_revient.entreprise)"/>

<field name="get_ent_site(fs_calcul_cout_de_revient.entreprise)"/>




help plz

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


Odoo Training Center

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

Test it now

Question tools

1 follower(s)


Asked: 6/15/15, 5:10 AM
Seen: 409 times
Last updated: 6/15/15, 5:10 AM