Read permission for child table

Hello All,
   We have implemented locking/unlocking feature depending on "Locked" field value in responsive UI for custom doctype.

1) If the value of this field is Yes then total form will read only for all user except administrator.
2) According to condition We have used set_field_permlevel('daily_expenses',1);
3) All fields of this form get read only if form is locked except child table.
4) Child tables add rows functionality is disabled, but existing rows are editable.

Please find the attachment.

What should i do?

Thank you

Regards,
Gangadhar kadam



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
Did you set the permlevel of the table doctype fields to 1 also?


On 24-Sep-2013, at 7:35 PM, gangadhar kadam <em...@gmail.com> wrote:

Hello All,
   We have implemented locking/unlocking feature depending on "Locked" field value in responsive UI for custom doctype.

1) If the value of this field is Yes then total form will read only for all user except administrator.
2) According to condition We have used set_field_permlevel('daily_expenses',1);
3) All fields of this form get read only if form is locked except child table.
4) Child tables add rows functionality is disabled, but existing rows are editable.

Please find the attachment.

What should i do?

Thank you

Regards,
Gangadhar kadam




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.

    < read only table.png>



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.