@kolate_sambhaji i understand, but like i have tried to use the below in sales order and its not working:
{{ doc.create_date}}
{{ doc.billing_address}}
{{ doc.billing}}
{{doc.Customer_purchase_order_date}}
{{ doc.get_formatted(“posting_date”) }}
just another question please, @kolate_sambhaji is there away to change the variables, like the one for now i want to change is doc.shipping_address, when i use it, it will get me the address and fax and phone…etc but what i need is only the address…
i tried to change in the address template but it didn’t change…
@ramielian you can not change variable name as it is actual column name in database, but you can always change Label in print and form.
To print address, you can set address template to remove fax and phone.
Also when you change address template, changes will apply on new transaction only, so you need to create new invoice to test address template change.
hi, sorry i have another one question please @kolate_sambhaji
i am trying to get the sales person name from sales team but its not working, i have tried two methods (which is only i know) as the following:
{{doc.sales_person}}
{% set cc = frappe.get_doc(“Sales”, doc.sales_team) %}
{{cc.sales_person}}
Can this be used in auto email alerts to set CC. When PO is submitted, an email is to be sent to the supplier automatically. Actually had to set To: to the supplier, but I find only 2 options: owner/customer, hence trying to use CC. Thanks in advance.