← Back to team overview

openerp-india team mailing list archive

[Bug 1003719] Re: xml inherit_id should check for duplicate fields

 

Hello Ferdinand ,

I have checked this issue with latest trunk .
I have create view A , B , C   as you mention in bug report.But it will not add a field when 
its duplicate. it will raise an warning massage and neglect the duplicate field.

I have created object :
 Class               Field  
1)  A_A             A , B, C 
2)  B_B             B1 , D1
3)  C_C             C1

After that I have created a view:

1) Create view A_A .
2) Create inherited view B_B(A_A)  and add B1 , D1.
3) Create inherited view C_C(A_A)  and add c1.

After that I have add field B1 again B_B.

So Its Give me a Warning Message  ....

 View Error!

 Form view has duplicate field: b1
 Model: B.B 
 View: a.a.form
 The duplicated fields will be simply ignored.

So It does not give me a warning in c Because last changes done at B_B.
and it does not affect of C.
 
So would you please elaborate more regarding this issue.

Thanks and waiting for reply!





** Changed in: openobject-server
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1003719

Title:
  xml inherit_id should check for duplicate fields

Status in OpenERP Server:
  Incomplete

Bug description:
  to reproduce

  view A has field x
  view B inherits view A and adds field B1
  view C inherits view B and adds field C1 <field name="inherit_id"uld not load

  now view B is changed to inherit field B1 and C1

  view C should not load, but report duplicate field error
  

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1003719/+subscriptions


References