{"en_US": "<data><!-- Auto-complete could be done from either a bill either a purchase order -->\n            <field name=\"invoice_vendor_bill_id\" position=\"after\">\n                <t groups=\"purchase.group_purchase_user\">\n                    <field name=\"purchase_id\" invisible=\"1\"/>\n                    <label for=\"purchase_vendor_bill_id\" string=\"Auto-Complete\" class=\"oe_edit_only\" attrs=\"{'invisible': ['|', ('state','!=','draft'), ('move_type', '!=', 'in_invoice')]}\"/>\n                    <field name=\"purchase_vendor_bill_id\" nolabel=\"1\" attrs=\"{'invisible': ['|', ('state','!=','draft'), ('move_type', '!=', 'in_invoice')]}\" class=\"oe_edit_only\" domain=\"partner_id and [('company_id', '=', company_id), ('partner_id.commercial_partner_id', '=', commercial_partner_id)] or [('company_id', '=', company_id)]\" placeholder=\"Select a purchase order or an old bill\" context=\"{'show_total_amount': True}\" options=\"{'no_create': True, 'no_open': True}\"/>\n                </t>\n            </field>\n            <label name=\"invoice_vendor_bill_id_label\" position=\"attributes\">\n                <attribute name=\"groups\">!purchase.group_purchase_user</attribute>\n            </label>\n            <field name=\"invoice_vendor_bill_id\" position=\"attributes\">\n                <attribute name=\"groups\">!purchase.group_purchase_user</attribute>\n            </field>\n            <!-- Add link to purchase_line_id to account.move.line -->\n            <xpath expr=\"//field[@name='invoice_line_ids']/tree/field[@name='company_id']\" position=\"after\">\n                <field name=\"purchase_line_id\" groups=\"purchase.group_purchase_user\" invisible=\"1\"/>\n                <field name=\"purchase_order_id\" groups=\"purchase.group_purchase_user\" attrs=\"{'column_invisible': [('parent.move_type', '!=', 'in_invoice')]}\" optional=\"hide\"/>\n            </xpath>\n            <xpath expr=\"//field[@name='line_ids']/tree/field[@name='company_id']\" position=\"after\">\n                <field name=\"purchase_line_id\" groups=\"purchase.group_purchase_user\" invisible=\"1\"/>\n            </xpath>\n            <xpath expr=\"//div[@name='button_box']\" position=\"inside\">\n                <button class=\"oe_stat_button\" name=\"action_view_source_purchase_orders\" type=\"object\" groups=\"purchase.group_purchase_user\" icon=\"fa-pencil-square-o\" attrs=\"{'invisible': ['|', ('purchase_order_count', '=', 0), ('move_type', 'not in', ('out_invoice', 'out_refund', 'in_invoice', 'in_refund', 'out_receipt', 'in_receipt'))]}\">\n                    <field string=\"Purchases\" name=\"purchase_order_count\" widget=\"statinfo\"/>\n                </button>\n            </xpath>\n        </data>", "vi_VN": "<data><!-- Auto-complete could be done from either a bill either a purchase order -->\n            <field name=\"invoice_vendor_bill_id\" position=\"after\">\n                <t groups=\"purchase.group_purchase_user\">\n                    <field name=\"purchase_id\" invisible=\"1\"/>\n                    <label for=\"purchase_vendor_bill_id\" string=\"Tự động hoàn thành\" class=\"oe_edit_only\" attrs=\"{'invisible': ['|', ('state','!=','draft'), ('move_type', '!=', 'in_invoice')]}\"/>\n                    <field name=\"purchase_vendor_bill_id\" nolabel=\"1\" attrs=\"{'invisible': ['|', ('state','!=','draft'), ('move_type', '!=', 'in_invoice')]}\" class=\"oe_edit_only\" domain=\"partner_id and [('company_id', '=', company_id), ('partner_id.commercial_partner_id', '=', commercial_partner_id)] or [('company_id', '=', company_id)]\" placeholder=\"Chọn đơn mua hàng hoặc một hóa đơn cũ\" context=\"{'show_total_amount': True}\" options=\"{'no_create': True, 'no_open': True}\"/>\n                </t>\n            </field>\n            <label name=\"invoice_vendor_bill_id_label\" position=\"attributes\">\n                <attribute name=\"groups\">!purchase.group_purchase_user</attribute>\n            </label>\n            <field name=\"invoice_vendor_bill_id\" position=\"attributes\">\n                <attribute name=\"groups\">!purchase.group_purchase_user</attribute>\n            </field>\n            <!-- Add link to purchase_line_id to account.move.line -->\n            <xpath expr=\"//field[@name='invoice_line_ids']/tree/field[@name='company_id']\" position=\"after\">\n                <field name=\"purchase_line_id\" groups=\"purchase.group_purchase_user\" invisible=\"1\"/>\n                <field name=\"purchase_order_id\" groups=\"purchase.group_purchase_user\" attrs=\"{'column_invisible': [('parent.move_type', '!=', 'in_invoice')]}\" optional=\"hide\"/>\n            </xpath>\n            <xpath expr=\"//field[@name='line_ids']/tree/field[@name='company_id']\" position=\"after\">\n                <field name=\"purchase_line_id\" groups=\"purchase.group_purchase_user\" invisible=\"1\"/>\n            </xpath>\n            <xpath expr=\"//div[@name='button_box']\" position=\"inside\">\n                <button class=\"oe_stat_button\" name=\"action_view_source_purchase_orders\" type=\"object\" groups=\"purchase.group_purchase_user\" icon=\"fa-pencil-square-o\" attrs=\"{'invisible': ['|', ('purchase_order_count', '=', 0), ('move_type', 'not in', ('out_invoice', 'out_refund', 'in_invoice', 'in_refund', 'out_receipt', 'in_receipt'))]}\">\n                    <field string=\"Mua hàng\" name=\"purchase_order_count\" widget=\"statinfo\"/>\n                </button>\n            </xpath>\n        </data>"}