Manufacturing order form view generates extra hidden fields

Bug #693492 reported by Fabien Meghazi (OpenERP)
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
Medium
OpenERP R&D Web Team

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

Changed in openobject-client-web:
assignee: nobody → OpenERP SA's Web Client R&D (openerp-dev-web)
importance: Undecided → Medium
status: New → Confirmed
Changed in openobject-client-web:
status: Confirmed → In Progress
Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

Hello Fabien Meghazi (OpenERP),

Its fixed in trunk web-client. Please update your code.

Revision-info:
4193 <email address hidden>

Thanks.

Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

Hello Quentin THEURET,

We have fixed the problem with above revision in comment #3.

Thanks for reporting.

Changed in openobject-client-web:
status: In Progress → Fix Released
milestone: none → 6.0-rc2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.