mithin
February 22, 2016, 11:55am
#1
Hi I’m trying to configure Address Template to remove country and state.
More like
Address Line 1
Address Line 2
City, Pin Code
Email
I did see a lot of posts about changing the template in as per jinja template, it is not reflecting in quotation / invoice etc.,
What i did was change the address template, Add Address in print format.
The change will not affect existing quotations, it will appear in the new quotation.
Sangram
February 22, 2016, 1:04pm
#3
@mithin
Create Custom Print Format for Quotation.
Using jinja script fetch the required field from Address.
e.g.
{{frappe.db.get_value("Address", doc.customer_address, "address_title")}}
1 Like
mithin
February 23, 2016, 10:00am
#4
Thanks for the reply,
I think i messed up something in the installation. The pdf is not being generated now. The ones that come in email is not aligned and misses the letterhead logo.
Can i move the data to a different installation.
mithin
February 23, 2016, 12:48pm
#5
OK some how managed to get pdf working.
Now the alignment has become a big issue. @Sangram please advice.
Thanks in advance.
Sangram
February 23, 2016, 1:51pm
#6
mithin
February 23, 2016, 8:25pm
#7
Hi @Sangram ,
Thanks for the reply, this problem is happening in standard print format also.
Sangram
February 24, 2016, 5:26am
#8
@mithin
Use Bootstrap grid System and CSS for Design it will help you.
for that go through following link
getbootstrap.com
bootstrap_grid_system