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

Is there a way to make many2many in an inline tree be usable?

v8
By
Kit Sunde
on 9/18/14, 1:38 PM 591 views

I have a tree view with a many2many field require_weekday:

<record model="ir.ui.view"
       id="sale_order_email_collection_form">
 <field name="name">sale.order_email.collection.form</field>
 <field name="model">sale.order_email.collection</field>
 <field name="arch" type="xml">
   <form string="Collection">
     <group>
       <field name="name"/>
     </group>
     <field name="emails">
       <tree string="Lines" editable="bottom">
         <field name="required_weekday"/>
       </tree>
     </field>
   </form>
 </field>
</record>

When I click the many2many field it looks asbolutely horrendus with some blue text overlaying the tree view making it impossible to tell what's going on. Is it possible to make it work decent? https://www.dropbox.com/s/2pjyjtockogkgva/Screenshot 2014-09-19 01.34.23.png?dl=0

0
Kit Sunde
On 11/5/14, 4:04 AM

The many2many_tags fits much nicer into the use case and doesn't have visual issues when used inline.

<field name="fields_name" widget="many2many_tags"/>

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

1 follower(s)

Stats

Asked: 9/18/14, 1:38 PM
Seen: 591 times
Last updated: 3/16/15, 8:10 AM