--
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 post to this group, send email to erpnext-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/1n1BtvOdB-AJ.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Soren,Welcome to the forum :) and thanks for your encouragement.Those actions are a part of the system and are not configurable. You can also setup workflows using Setup > Workflow.Here is the link to a slightly oldish video - but you should get the idea.best,Rushabh
On Fri, Apr 19, 2013 at 10:32 PM, Sören H. Biere <Kon...@shb-technologie.de> wrote:
Hi,I'm currently eveluating erpnext and at first i want to say i'm very enthused by this great erp.The configuration seems to me much faster and 'straight forward' then in a lot of other systems.Now there are some actions on top of a documents detailview i don't know how they're meant to be customized.For example on an submitted sales order i'm abled to trigger following actions:Print View/Cancel/Send SMS/Make Delivery/Make Material anfordern/Make Invoice/Stop!- how should i translate them- on some, like submit, permissions seem to be applied but how do i remove/add this actions in general?What may i have missed?Kind regards from Germany,Sören
--
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.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/1n1BtvOdB-AJ.
For more options, visit https://groups.google.com/groups/opt_out.
if(doc.docstatus == 1 && doc.status!='Order Lost') {
cur_frm.add_custom_button('in Bestellung umwandeln', cur_frm.cscript['Make Sales Order']);
cur_frm.add_custom_button('Auftrag verloren', cur_frm.cscript['Declare Order Lost']);
}
--
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 post to this group, send email to erpnext-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/LppW1PD1Z28J.
--
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 post to this group, send email to erpnext-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/vgTEf6XS-LQJ.
Hi Soren,Translation happens at runtime.For translation, we need to wrap message strings in wn._("message") for javascript and webnotes._("""message""") for python code.The translate code parses such files and extracts messages which are wrapper within wn._() and webnotes._(). And makes it available for translation.Only those message enclosed within these underscore methods (wn._ and webnotes._) invoke translation.Thanks,Anand.
On 22-Apr-2013, at 2:45 PM, Sören H. Biere <Kon...@SHB-Technologie.de> wrote:
Thanks,could you also give me hint why /public/js/all-app.min.js isn't translated?I played a little with the translate.py so the messaged get exported and can be build in the message filesbut aren't respected when the app is displayed.For the moment i can't make real contributions but does it make sense to fork and add the possibility to translate where its's still missing?To give you the pull-request afterwards?regards Sören--
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.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/6gks0MQvLkEJ.
--
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 post to this group, send email to erpnext-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/zssgET3Hx5sJ.
Soren,It does not replace in the code, but all the app translatable texts are loaded during the application "boot" process (server.py?cmd=startup)Also see "load_translations" method in "lib/webnotes/boot.py" for more idea.Translations for DocTypes are loaded with the doctype in the "wn.model.with_doctype" method.This is then appended to wn.translations and then the _ method replaces as required.Hope this helpsbest,Rushabh
On Mon, Apr 22, 2013 at 5:51 PM, Sören H. Biere <Kon...@shb-technologie.de> wrote:
I'm really sorry für stealing your time but i don't see it.I sum up: in my freshly build all-app.min.js i have wrapped text like wn._("View Details").Now i'm expecting the Translation-function to cache and replace View Details with its translation but it doesn't although it obviously does anywhere else but all-app.min.js.Thanks Sören
--
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.
To post to this group, send email to erpnext-dev...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/zssgET3Hx5sJ.
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/msg/erpnext-developer-forum/-/1ozZrdcg8bMJ.
--
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 post to this group, send email to erpnext-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/DguJiX17MkwJ.