← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 752354] Re: Name field is required and readonly in External Referentials

 

Hello Amit,


I tried the fix on my side but it did not solve the problem.

My analysis is that there is a bug in the web client while rendering the
xml view. I explain :

I changed the xml view with id=base_external_referentials.external_referential_form_view in base_external_referentials_view.xml from 
<field name="name" attrs="{'readonly':[('mapping_ids','!=',[])]}"/>
to
<field name="name" attrs="{'readonly':[('mapping_ids','=',[])]}"/>

The effect of this modification was that the fiel became required and not readonly in the web client.
But in the GTK client, the name field became required and readonly.

Thanks.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/752354

Title:
  Name field is required and readonly in External Referentials

Status in OpenERP Modules (addons):
  Fix Released
Status in OpenERP Web Client:
  New

Bug description:
  I am trying to create a new External Referential in
  Administration/Customization/Database Structure/External Referentials
  > New.

  In the web client the name field is required and readonly. As a
  consequence I can not create the object.

  When using the GTK client the name field is only required. I can use
  the GTK client as a workaround for creating a new external referential
  but I also think this bug is worth reporting.

  The versions I am using are :
   - base_external_referentials : 5092.1.95 
   - server version : 6.0.2
   - client-web version : 6.0.2
   - client version : 6.0.2



References