[Trunk/7.0] Bad view O2M with attribute delete

Bug #1126027 reported by wowas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Fix Committed
Low
OpenERP R&D Web Team

Bug Description

When apply attribute delete="False" to O2M widget, then it get bad look.

<field name="meter_ids" >
    <tree string="Meters" editable="bottom" create="false" delete="false">
       <field name="name"/>
       <field name="date"/>
       <field name="value"/>
       <field name="total_value"/>
       <field name="meter_uom"/>
       <field name="utilization"/>
    </tree>
</field>

Because it hide "thead" and "tbody" table column, but don't hide "tfoot".
Please see screenshot in attch.

Related branches

Revision history for this message
wowas (wowas18) wrote :
description: updated
Revision history for this message
wowas (wowas18) wrote :

Need add class to
\openerp\addons\web\static\src\xml\base.xml
in line 723 :
<td t-if="options.deletable" class="oe_list_record_delete"/>

summary: - Bad view O2M with attribute delete
+ [Trunk/7.0] Bad view O2M with attribute delete
Changed in openerp-web:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
Revision history for this message
Darshan Kalola(OpenERP) (dka-openerp) wrote :

Hello,

  It has been fixed in https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-1126027-darshan branch.
  Revision number : 3686
  Revision ID: <email address hidden>

  It will be available in trunk soon.

Thanks,
Darshan.

Changed in openerp-web:
status: Confirmed → In Progress
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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