Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
3 Besvarelser
5974 Visninger

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​​.

Avatar
Kassér

Your question is unclear. Please fix it.

Bedste svar

Hi,

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

Avatar
Kassér
Forfatter

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

Bedste svar

<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>

 

 

Avatar
Kassér
Forfatter

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.

Bedste svar

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

Avatar
Kassér
Forfatter

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.

Related Posts Besvarelser Visninger Aktivitet
0
mar. 15
3605
2
mar. 15
6016
0
maj 15
5661
1
mar. 15
4298
0
mar. 15
4334