Odoo Help

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 866 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"/>

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

Question tools

1 follower(s)

Stats

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