/desk page like pos

I. I made everything like POS i have identical in structure .json file. I made this page for the demo app website_chat, just for testing. My website_chat.json is:

{
 "content": null, 
 "creation": "2014-09-12 13:34:05.926191", 
 "docstatus": 0, 
 "doctype": "Page", 
 "icon": "icon-th", 
 "modified": "2014-09-12 14:12:24.829153", 
 "modified_by": "Administrator", 
 "module": "Website Chat", 
 "name": "website-chat", 
 "owner": "Administrator", 
 "page_name": "WebSite-Chat", 
 "roles": [
  {
   "role": "Website Chat Agent"
  }, 
  {
   "role": "All"
  }, 
  {
   "role": "Sales User"
  }
 ], 
 "script": null, 
 "standard": "Yes", 
 "style": null, 
 "title": "Chat"
}

identical to the POS page. And yet i can't see the icon in /desk. I put the same code of pos.'s (but i adapted) in my file website_chat.js.

What is missing?

Thanks.



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/bf84c885-4e3c-4707-abc6-8f88d049d39d%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
I figured it out. Everything is ok. I notes that i have to change the desktop.json file too,  and add this:

"Chat": {
"color": "#589494",
"icon": "icon-th",
"type": "page",
"link": "website-chat"
}
Thanks anyway.

Sexta-feira, 12 de Setembro de 2014 14:29:52 UTC+1, Luis Fernandes escreveu:
I. I made everything like POS i have identical in structure .json file. I made this page for the demo app website_chat, just for testing. My website_chat.json is:

{
 "content": null, 
 "creation": "2014-09-12 13:34:05.926191", 
 "docstatus": 0, 
 "doctype": "Page", 
 "icon": "icon-th", 
 "modified": "2014-09-12 14:12:24.829153", 
 "modified_by": "Administrator", 
 "module": "Website Chat", 
 "name": "website-chat", 
 "owner": "Administrator", 
 "page_name": "WebSite-Chat", 
 "roles": [
  {
   "role": "Website Chat Agent"
  }, 
  {
   "role": "All"
  }, 
  {
   "role": "Sales User"
  }
 ], 
 "script": null, 
 "standard": "Yes", 
 "style": null, 
 "title": "Chat"
}

identical to the POS page. And yet i can't see the icon in /desk. I put the same code of pos.'s (but i adapted) in my file website_chat.js.

What is missing?

Thanks.



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/8e6f1435-01cc-45a5-8899-02414c00b1a4%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
You have to sync the database

bench frappe sitename --latest 

@rushabh_mehta
via mobile

On 12-Sep-2014, at 6:59 PM, Luis Fernandes <lu...@gmail.com> wrote:

I. I made everything like POS i have identical in structure .json file. I made this page for the demo app website_chat, just for testing. My website_chat.json is:

{
 "content": null, 
 "creation": "2014-09-12 13:34:05.926191", 
 "docstatus": 0, 
 "doctype": "Page", 
 "icon": "icon-th", 
 "modified": "2014-09-12 14:12:24.829153", 
 "modified_by": "Administrator", 
 "module": "Website Chat", 
 "name": "website-chat", 
 "owner": "Administrator", 
 "page_name": "WebSite-Chat", 
 "roles": [
  {
   "role": "Website Chat Agent"
  }, 
  {
   "role": "All"
  }, 
  {
   "role": "Sales User"
  }
 ], 
 "script": null, 
 "standard": "Yes", 
 "style": null, 
 "title": "Chat"
}

identical to the POS page. And yet i can't see the icon in /desk. I put the same code of pos.'s (but i adapted) in my file website_chat.js.

What is missing?

Thanks.



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/bf84c885-4e3c-4707-abc6-8f88d049d39d%40googlegroups.com.

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



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/7C772FAD-35C9-4E1D-8780-C3BE814E8E07%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.
I. thanks for answer, but that was not necessary. 

Was enough to put the following in desktop.json.

"Chat": {
"color": "#589494",
"icon": "icon-th",
"type": "page",
"link": "website-chat"
}


Sexta-feira, 12 de Setembro de 2014 17:28:42 UTC+1, rushabh escreveu:
You have to sync the database

bench frappe sitename --latest 

@rushabh_mehta
via mobile

On 12-Sep-2014, at 6:59 PM, Luis Fernandes <lu...@gmail.com> wrote:

I. I made everything like POS i have identical in structure .json file. I made this page for the demo app website_chat, just for testing. My website_chat.json is:

{
 "content": null, 
 "creation": "2014-09-12 13:34:05.926191", 
 "docstatus": 0, 
 "doctype": "Page", 
 "icon": "icon-th", 
 "modified": "2014-09-12 14:12:24.829153", 
 "modified_by": "Administrator", 
 "module": "Website Chat", 
 "name": "website-chat", 
 "owner": "Administrator", 
 "page_name": "WebSite-Chat", 
 "roles": [
  {
   "role": "Website Chat Agent"
  }, 
  {
   "role": "All"
  }, 
  {
   "role": "Sales User"
  }
 ], 
 "script": null, 
 "standard": "Yes", 
 "style": null, 
 "title": "Chat"
}

identical to the POS page. And yet i can't see the icon in /desk. I put the same code of pos.'s (but i adapted) in my file website_chat.js.

What is missing?

Thanks.



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/bf84c885-4e3c-4707-abc6-8f88d049d39d%40googlegroups.com.

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



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/f163ad7c-6755-4d90-b2ec-9cd3a66bb73d%40googlegroups.com.

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