c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #09799
[Bug 693492] Re: Manufacturing order form view generates extra hidden fields
Hello Fabien Meghazi (OpenERP),
Its fixed in trunk web-client. Please update your code.
Revision-info:
4193 sma@xxxxxxxxxxx-20101228064605-dm3lyk9euczxo9vv
Thanks.
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/693492
Title:
Manufacturing order form view generates extra hidden fields
Status in OpenObject Web Client:
Fix Released
Bug description:
In the manufacturing order form in edit mode, in the tab "Scheduled Products", the generated html of the one2many contains a hidden field for each row with the same input name. This cause the web client to send an array of values to the orm which cause an error.
<tr class="grid-row grid-row-even" record="63">
---> <input type="hidden" name="product_uos_qty" class="hidden" value="0.00"
kind="float" id="product_uos_qty" value="0.00"/>
<input type="hidden" name="product_uos" class="hidden" value=""
kind="many2one" relation="product.uom" id="product_uos" value=""/>
Concerned mako : listgrid.mako :
% for field, field_attrs in hiddens:
${data[field].display()}
% endfor
References