← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 693492] Re: Manufacturing order form view generates extra hidden fields

 

** Branch linked: lp:openobject-client-web

-- 
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:
  In Progress

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