コード例 #1
0
ファイル: reload_print_format.py プロジェクト: rafuru/erpnext
def execute():
    from webnotes.modules.import_file import import_files

    import_files(
        [
            ["selling", "Print Format", "Quotation Classic"],
            ["selling", "Print Format", "Quotation Modern"],
            ["selling", "Print Format", "Quotation Spartan"],
            ["selling", "Print Format", "Sales Order Classic"],
            ["selling", "Print Format", "Sales Order Modern"],
            ["selling", "Print Format", "Sales Order Spartan"],
        ]
    )

    import_files(
        [
            ["stock", "Print Format", "Delivery Note Classic"],
            ["stock", "Print Format", "Delivery Note Modern"],
            ["stock", "Print Format", "Delivery Note Spartan"],
        ]
    )

    import_files(
        [
            ["accounts", "Print Format", "Sales Invoice Classic"],
            ["accounts", "Print Format", "Sales Invoice Modern"],
            ["accounts", "Print Format", "Sales Invoice Spartan"],
        ]
    )
コード例 #2
0
def execute():
    from webnotes.modules.import_file import import_files
    import_files([["selling", "Print Format", "Quotation Classic"],
                  ["selling", "Print Format", "Quotation Modern"],
                  ["selling", "Print Format", "Quotation Spartan"],
                  ["selling", "Print Format", "Sales Order Classic"],
                  ["selling", "Print Format", "Sales Order Modern"],
                  ["selling", "Print Format", "Sales Order Spartan"]])

    import_files([["stock", "Print Format", "Delivery Note Classic"],
                  ["stock", "Print Format", "Delivery Note Modern"],
                  ["stock", "Print Format", "Delivery Note Spartan"]])

    import_files([["accounts", "Print Format", "Sales Invoice Classic"],
                  ["accounts", "Print Format", "Sales Invoice Modern"],
                  ["accounts", "Print Format", "Sales Invoice Spartan"]])
コード例 #3
0
def reload_doc(module, dt=None, dn=None, force=True):
    from webnotes.modules.import_file import import_files
    return import_files(module, dt, dn, force)
コード例 #4
0
ファイル: __init__.py プロジェクト: Yellowen/wnframework
def reload_doc(module, dt=None, dn=None, force=True):
	from webnotes.modules.import_file import import_files
	return import_files(module, dt, dn, force)