Odoo Help


access to child fields on xml ?

on 7/16/13, 1:27 PM 905 views

class task(osv.osv): _inherit = "project.task" _description = "Project task BCA TEST" _columns = { 'next_task_ids': fields.many2many('project.task', 'project_task_rel_bca', 'prv_task_id', 'next_task_id', 'Next Tasks', states={'cancelled':[('readonly',True)]}), 'previous_task_ids': fields.many2many('project.task', 'project_task_rel_bca', 'next_task_id', 'prv_task_id', 'Previous Tasks', states={'cancelled':[('readonly',True)]}), }

class project_task_rel_bca(osv.osv): #_inherit = "project_task_rel_bca" _name = 'project.task.rel.bca'
#_description = 'Project rel Tasks BCA TEST' _columns = { 'generation': fields.char('generation',size=6) }

project_task_rel_bca() <record id="view_task_form2_bca" model="ir.ui.view"> <field name="name">project.task.form.bca</field> <field name="model">project.task</field> <field eval="1" name="priority"/> <field name="arch" type="xml"> <form string="Project" version="7.0"> <field name="previous_task_ids">
<tree string="test" editable="top"> <field name="name"/> <field name="project_id"/> <field name="user_id"/> <field name="progress" widget="progressbar"/> HELP INSERT => <field name="generation"/> </tree> </field> </form> </record>

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: 7/16/13, 1:27 PM
Seen: 905 times
Last updated: 3/16/15, 8:10 AM