3.7.0 Margin Module don´t work

The margin module doesnt work any more after upgrade from 3.6.0 to 3.7.0.

When creating a propal (estimate), introduce the buying price and 10% margin but nothing happend, in 3.6.0 dolibarr auto calculates the selling price.

Tried to disable module, as I confirm the configuracion was Ok, but when trying to enable it agin has this error

Error Duplicate entry ‘all–1-100-/margin/index.php-1’ for key ‘idx_menu_uk_menu’

Very urgent please !

Find this info and solution for this error, why it occurs is a mistery, but is ocurring since at last 2.5 one year ago:

http://lists.gnu.org/archive/html/dolibarr-bugtrack/2014-02/msg00061.html

http://www.dolibarr.es/foro/viewtopic.php?f=18&t=1284

Deleting the databse row you can activate the margin module again but, after that, the module doesnt work as expected, not like in previous version 3.6.0.

You can introduce the buying price when creating a new line in a budget, but after save this line you can not modify the buying price, only option is to create a new line with the product or service and delete the previous…

Does this only happend to me? can anybody confirm please?

I found what was causing that problem, in not the database nor the 3.7.0 update is my curiosity (sorry), if this GLOBAL OPTION is set to 1, (tested with Firefox and Chrome, lastest versions).

MAIN_USE_JQUERY_MULTISELECT => Allow to use Ajax when a choice that require multiselect is used (for the moment only external modules uses select box with multiselect values).

The WYSIWYG and margin module doesn´t work, deleting that entry of setting to 0 those modules work again. Hope this could help to others.