Create Print Format Using Awesomebar Create.Print.Designer.Format.mov Using Print Page Create.Print.Designer.Format.mov Static & Dynamic Image Static Image Static.Image.mov Dynamic Image Dynamic.Image.mov Static & Dynamic Text Dynamic Text Dynamic.Text.mov Static Text Static.Text.mov ...
When you email any document (like Sales Order/Invoice) from ERPNext, it is sent in the PDF or HTML format. The file is sent in PDF by default. If you wish to send a document in the HTML format, just uncheck the option "Send Print as PDF". 1.2 Repeat Header and Footer in PDF Th...
in run_all run_patch(patch) skip_failing = False patch_type = <PatchType.post_model_sync: 'post_model_sync'> executed = {'frappe.patches.v15_0.set_file_type', 'erpnext.patches.v11_0.remove_modules_setup_page', 'erpnext.patches.v11_0.refactor_naming_series', 'frappe.patches.v14_0...
utils import formatdate msg = """Oops! Your subscription expired on %s.""" % formatdate(conf.expires_on) if 'System Manager' in webnotes.user.get_roles(): msg += """Just drop in a mail at support@erpnext.com and we will guide you to get your account re-activated.""" else: ms...
.format(formatdate(filters.year_end_date))) filters.to_date = filters.year_end_date 开发者ID:drukhil,项目名称:erpnext,代码行数:34,代码来源:asset_register.py 示例4: get_balance ▲点赞 1▼ defget_balance(self):ifnotself.get('accounts'):msgprint(_("'Entries' cannot be empty"), raise...
attachments = [frappe.attach_print(new_rv.doctype, new_rv.name, file_name=new_rv.name, print_format=new_rv.recurring_print_format)]) 开发者ID:chabito79,项目名称:erpnext,代码行数:7,代码来源:recurring_document.py 示例3: prepare_message ...
浏览完整代码来源:utils.py项目:Anilps/erpnext 示例3 defvalidate_filters(filters):ifnotfilters.fiscal_year:frappe.throw(_("Fiscal Year {0} is required").format(filters.fiscal_year))fiscal_year=frappe.db.get_value("Fiscal Year",filters.fiscal_year,["year_start_date","year_end_date"],as_dic...
"options": "Print Format", "reqd": 1, "unique": 1 }, { "depends_on": "eval:doc.pdf_page_size==\"Custom\"", "fieldname": "custom_width", "fieldtype": "Data", "label": "Custom Page Width (in mm)" }, { "depends_on": "eval:doc.pdf_page_size==\"Custom\"", "fieldna...
开发者ID:kardmode,项目名称:erpnext,代码行数:33,代码来源:project.py 示例2: get_ftv_member ▲点赞 6▼ defget_ftv_member():val=frappe.db.sql("select defkey,defvalue from `tabDefaultValue` where defkey in ('Cells','Senior Cells','PCFs','Churches','Group Churches','Zones','Regions') ...
.format(formatdate(filters.year_end_date))) filters.to_date = filters.year_end_date 开发者ID:drukhil,项目名称:erpnext,代码行数:34,代码来源:asset_register.py 示例4: get_balance ▲点赞 1▼ defget_balance(self):ifnotself.get('accounts'):msgprint(_("'Entries' cannot be empty"), raise...