It is not clear to me from trial and error if the gsuite integration supports full jinjia2 templating or only variables.
David
It is not clear to me from trial and error if the gsuite integration supports full jinjia2 templating or only variables.
David
Ping, still can’t understand this…
For example, i cannot get the following to work in the gsuite template
{{frappe.utils.today()}}
Or other similar functions. Why?
David
Have you say a screenshot to detail your experiments or target use case problem?
That would help as a forum learning dialogue - I did discover this Google GSuite
frappe@erpnext:~/frappe-bench$ find . -name '*gsuite*.py'
./apps/frappe/frappe/integrations/doctype/gsuite_templates/gsuite_templates.py
./apps/frappe/frappe/integrations/doctype/gsuite_templates/test_gsuite_templates.py
./apps/frappe/frappe/integrations/doctype/gsuite_settings/gsuite_settings.py
Too bad the gsuite test is simply a ‘pass’ so that is not encouraging
For now i’ve got variables, but can’t get frappe.utils or other functions to work
For/if should work if i remember correctly
“Too bad the gsuite test is simply a ‘pass’ so that is not encouraging”
Your case might be a prime candidate for the first test - probably no test here since the first test can be hardest to pull together