[7.0][Trunk][Typo error]purchase/purchase_view.xml 'attr' should be 'attrs'

Bug #1250305 reported by Joshua Jan(SHINEIT)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 2

Bug Description

Hi all,

This bug in trunk(revision 8969), 7.0(revision 9573)
<field name="origin" attr="{'invisible': [('origin','=',False)]}"/>
should be
<field name="origin" attrs="{'invisible': [('origin','=',False)]}"/>

P.S I hope this small modification will be release soon. Thank you.

Best Regards
Joshua

Related branches

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
开阖软件 Jeff Wang (jeff.osbzr.com) wrote :

I concern about the design, why we need to hide this field when it is blank ?

origin field is used to show what is the related document who generated current one, most of the time it filled by system(in mrp scheduler), but it is a free inputted field, user may want to edit it manually.

With this design, for all the manually created purchase order, user will never got a chance to fill in this "origin" field.

Revision history for this message
Martin Trigaux (OpenERP) (mat-openerp) wrote :

Hello,

Thanks for the report, this was fixed in 7.0 at revision 9661.

@Jeff you are right it will not be possible to set a value to this origin field but on the other hand the field what is the point to fill a field "source document" if there is no document or to put a wrong document. For simplification of the interface, we try to avoid unnecessary fields.

Regards

Changed in openobject-addons:
status: Confirmed → Fix Released
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.