App doesn't show

瀏覽次數:33 次
跳到第一則未讀訊息

Luis Fernandes

未讀,
2014年9月1日 中午12:35:582014/9/1
收件者:erpnext-dev...@googlegroups.com
I make an app and all goes well. 

The problem know is that my app doesn't show in /desk app page. I did clear cache and bench frappe --install_app mytesteapp.

my desktop.py is:

from frappe import _

def get_data():
return {
"Myapp Teste": {
"color": "#FF99FF",
"icon": "icon-magnet",
"type": "module",
"label": _("MyApp Teste")
}
}

Why this app has type and the web_site chat does not?

Anand Doshi

未讀,
2014年9月1日 中午12:48:232014/9/1
收件者:ERPNext Developer's Forum
What's in your apps modules.txt file?

-Anand.


--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/f63983f9-ac7e-4c0b-996a-ace4483fd92a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Luis Fernandes

未讀,
2014年9月1日 下午1:06:522014/9/1
收件者:erpnext-dev...@googlegroups.com
My modules.txt has just: MyApp Teste.
I found the problem i just don't understand it.
if i remove "type" and i add link just like i show bellow i see the icon.

"type": "module" <- remove
"link": "Module/MyApp Teste" <- add

Can you explain the function of type and link, thanks.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsub...@googlegroups.com.

Anand Doshi

未讀,
2014年9月1日 下午1:20:552014/9/1
收件者:ERPNext Developer's Forum
Even "type": "module" should've worked. Will have to look into it.


To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1b2844d6-fb9b-40eb-9911-1aa8d195e04e%40googlegroups.com.

Luis Fernandes

未讀,
2014年9月1日 下午1:22:112014/9/1
收件者:erpnext-dev...@googlegroups.com
Ok thanks.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsubscr...@googlegroups.com.

--
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+unsub...@googlegroups.com.

Abu Sayem

未讀,
2014年9月1日 晚上11:06:072014/9/1
收件者:erpnext-dev...@googlegroups.com
You need to create at least one doctype under it then it will show in all application module in the desk

Luis Fernandes

未讀,
2014年9月2日 清晨5:05:102014/9/2
收件者:erpnext-dev...@googlegroups.com
Thanks Abu Sayem. It is possible to make one app invisible to the /desk? I mean one app that only control another app... a system app without doctype's.

Luis Fernandes

未讀,
2014年9月2日 清晨5:12:422014/9/2
收件者:erpnext-dev...@googlegroups.com
I thinks i know the answer. If i don't make any doctype it work like a system module without frontend. Is this the only away?

MP

未讀,
2014年9月2日 清晨6:39:382014/9/2
收件者:erpnext-dev...@googlegroups.com
Thanks Abu and Luis. This was very helpful for me.
Kind regards,
Mayur Patel
回覆所有人
回覆作者
轉寄
0 則新訊息