تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
5958 أدوات العرض

I've added a couple of fields in this code:

  <tree string="Sales Order Lines" editable="bottom">

   <field name="x_ancho" invisible="1"/>
   <field name="x_alto" invisible="1"/>

</tree>

 

but when you add a product from the sales quotation line, the agrege camposque me appear as disabled and can not enable them to be able to enter values​​.

الصورة الرمزية
إهمال

Your question is unclear. Please fix it.

أفضل إجابة

Hi,

Remove <invisible="1"> from both of these fields.

الصورة الرمزية
إهمال
الكاتب

Thanks for the replies mates, I've fixed the error and apparently did not see that when creating both fields select the option to read only which did not allow me to edit them.

try with readonly="0". That might help you

أفضل إجابة

<tree string="Sales Order Lines" editable="bottom">

   <field name="x_ancho" invisible="0"/>
   <field name="x_alto" invisible="0"/>

</tree>

 

 

or

<tree string="Sales Order Lines" editable="bottom">

   <field name="x_ancho"/>
   <field name="x_alto"/>

</tree>

 

 

الصورة الرمزية
إهمال
الكاتب

Thanks for the replies mates, I've fixed the error and apparently did not see that when creating both fields select the option to read only which did not allow me to edit them.

أفضل إجابة

Disabled view, like editbox, means that the field has readonly property. Check your model definition.

الصورة الرمزية
إهمال
الكاتب

Thanks for the replies mates, I've fixed the error and apparently did not see that when creating both fields select the option to read only which did not allow me to edit them.

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 15
3580
2
مارس 15
5998
0
مايو 15
5652
1
مارس 15
4280
0
مارس 15
4327