many2many trees don't resepect create, delete, edit attributes

Bug #1179839 reported by Holger Brunn (Therp) on 2013-05-14
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Confirmed
Medium
OpenERP's Framework R&D
Odoo Web (MOVED TO GITHUB)
Fix Committed
Medium
Nicolas Vanhoren (OpenERP)
OpenERP Community Backports (Server)
Status tracked in 7.0
7.0
Undecided
Unassigned
OpenERP Community Backports (Web)
Status tracked in 7.0
7.0
Undecided
Unassigned

Bug Description

The treeview for many2many fields disables checking for those attributes in
http://bazaar.launchpad.net/~openerp/openerp-web/7.0/view/head:/addons/web/static/src/js/view_form.js#L4369

Am I missing something or can we just drop this function?

Related branches

Hello Holger,

I have checked your Issue with latest revision. But It's seems fine. That's why I have attached screen capture for your reference. so wold you please check It again and notify us where you have faced the problem.

Thanks and waiting for your reply!

Changed in openerp-web:
status: New → Incomplete
Holger Brunn (Therp) (hbrunn) wrote :

To clarify:
I want to _disable_ this buttons. So in my own module, I write
<field name="my_many2many_field">
<tree create="false">
....
</tree>
</field>

And this only works with the merge linked.

Hello Holger,

Yes, I have faced the same problem while apply this scenario.
Nice caught..!!!

Thank you.

Changed in openerp-web:
status: Incomplete → Confirmed
importance: Undecided → Medium
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
Changed in openerp-web:
status: Confirmed → In Progress

Hello,

       It has been fixed in https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-1179839-bth branch.

Thanks.

Changed in openerp-web:
status: In Progress → Fix Committed

Hi Bhumi Thakkar, did you see the attached proposal from Therp? Very similar to yours ;-)

Changed in openerp-web:
assignee: OpenERP R&D Web Team (openerp-dev-web) → Nicolas (OpenERP) (niv-openerp)
Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Medium
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers