← Back to team overview

openerp-dev-web team mailing list archive

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

 

Fabien Meghazi (OpenERP) (fme) has assigned this bug to you for OpenObject Web Client:

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

** Affects: openobject-client-web
     Importance: Medium
     Assignee: OpenERP SA's Web Client R&D (openerp-dev-web)
         Status: Confirmed

-- 
Manufacturing order form  view generates extra hidden fields
https://bugs.launchpad.net/bugs/693492
You received this bug notification because you are a member of OpenERP SA's Web Client R&D, which is a bug assignee.



References