コード例 #1
0
def _load_partner_identification_data(cr):
    try:
        from openupgradelib import load_data
        load_data(cr, "l10n_id_partner_identification_kependudukan",
                  "/data/res_partner_id_category_data.xml")
    except:
        return
コード例 #2
0
def _load_partner_identification_data(cr):
    try:
        from openupgradelib import load_data

        load_data(
            cr,
            "partner_identification_cpa_firm_license",
            "/data/res_partner_id_category_data.xml",
        )
    except Exception:
        return
コード例 #3
0
def _load_partner_identification_data(cr):
    try:
        from openupgradelib import load_data

        load_data(
            cr,
            "l10n_id_partner_identification_bpjs",
            "/data/res_partner_id_category_data.xml",
        )
    except Exception:
        return