{"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\" readonly=\"state != 'draft'\"/>\n                    <label for=\"purchase_vendor_bill_id\" string=\"Auto-Complete\" class=\"oe_edit_only\" invisible=\"state != 'draft' or move_type != 'in_invoice'\"/>\n                    <field name=\"purchase_vendor_bill_id\" nolabel=\"1\" invisible=\"state != 'draft' or move_type != 'in_invoice'\" readonly=\"state != 'draft'\" class=\"oe_edit_only\" domain=\"partner_id and [('partner_id.commercial_partner_id', '=', commercial_partner_id)] or []\" 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']/list/field[@name='company_id']\" position=\"after\">\n                <field name=\"purchase_line_id\" groups=\"purchase.group_purchase_user\" column_invisible=\"True\"/>\n                <field name=\"purchase_order_id\" groups=\"purchase.group_purchase_user\" column_invisible=\"parent.move_type != 'in_invoice'\" optional=\"hide\"/>\n            </xpath>\n            <xpath expr=\"//field[@name='line_ids']/list/field[@name='company_id']\" position=\"after\">\n                <field name=\"purchase_line_id\" groups=\"purchase.group_purchase_user\" column_invisible=\"True\"/>\n            </xpath>\n            <xpath expr=\"//div[@name='button_box']\" position=\"inside\">\n                <button class=\"oe_stat_button\" name=\"action_purchase_matching\" type=\"object\" groups=\"purchase.group_purchase_user\" icon=\"fa-bullseye\" invisible=\"not partner_id or move_type not in ('in_invoice', 'in_refund') or is_purchase_matched\">\n                    <div class=\"o_field_statinfo\">\n                        <span class=\"o_stat_text\">Purchase Matching</span>\n                    </div>\n                </button>\n                <button class=\"oe_stat_button\" name=\"action_view_source_purchase_orders\" type=\"object\" groups=\"purchase.group_purchase_user\" icon=\"fa-pencil-square-o\" invisible=\"purchase_order_count == 0 or move_type not in ('out_invoice', 'out_refund', 'in_invoice', 'in_refund', 'out_receipt', 'in_receipt')\">\n                    <field string=\"Purchases\" name=\"purchase_order_name\" widget=\"statinfo\" invisible=\"purchase_order_count != 1\"/>\n                    <field string=\"Purchases\" name=\"purchase_order_count\" widget=\"statinfo\" invisible=\"purchase_order_count == 1\"/>\n                </button>\n            </xpath>\n        </data>", "es_ES": "<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\" readonly=\"state != 'draft'\"/>\n                    <label for=\"purchase_vendor_bill_id\" string=\"Autocompletar\" class=\"oe_edit_only\" invisible=\"state != 'draft' or move_type != 'in_invoice'\"/>\n                    <field name=\"purchase_vendor_bill_id\" nolabel=\"1\" invisible=\"state != 'draft' or move_type != 'in_invoice'\" readonly=\"state != 'draft'\" class=\"oe_edit_only\" domain=\"partner_id and [('partner_id.commercial_partner_id', '=', commercial_partner_id)] or []\" placeholder=\"Seleccionar un pedido de compra o una factura antigua\" 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']/list/field[@name='company_id']\" position=\"after\">\n                <field name=\"purchase_line_id\" groups=\"purchase.group_purchase_user\" column_invisible=\"True\"/>\n                <field name=\"purchase_order_id\" groups=\"purchase.group_purchase_user\" column_invisible=\"parent.move_type != 'in_invoice'\" optional=\"hide\"/>\n            </xpath>\n            <xpath expr=\"//field[@name='line_ids']/list/field[@name='company_id']\" position=\"after\">\n                <field name=\"purchase_line_id\" groups=\"purchase.group_purchase_user\" column_invisible=\"True\"/>\n            </xpath>\n            <xpath expr=\"//div[@name='button_box']\" position=\"inside\">\n                <button class=\"oe_stat_button\" name=\"action_purchase_matching\" type=\"object\" groups=\"purchase.group_purchase_user\" icon=\"fa-bullseye\" invisible=\"not partner_id or move_type not in ('in_invoice', 'in_refund') or is_purchase_matched\">\n                    <div class=\"o_field_statinfo\">\n                        <span class=\"o_stat_text\">Conciliación de compra</span>\n                    </div>\n                </button>\n                <button class=\"oe_stat_button\" name=\"action_view_source_purchase_orders\" type=\"object\" groups=\"purchase.group_purchase_user\" icon=\"fa-pencil-square-o\" invisible=\"purchase_order_count == 0 or move_type not in ('out_invoice', 'out_refund', 'in_invoice', 'in_refund', 'out_receipt', 'in_receipt')\">\n                    <field string=\"Compras\" name=\"purchase_order_name\" widget=\"statinfo\" invisible=\"purchase_order_count != 1\"/>\n                    <field string=\"Compras\" name=\"purchase_order_count\" widget=\"statinfo\" invisible=\"purchase_order_count == 1\"/>\n                </button>\n            </xpath>\n        </data>", "pt_PT": "<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\" readonly=\"state != 'draft'\"/>\n                    <label for=\"purchase_vendor_bill_id\" string=\"Completar Automaticamente\" class=\"oe_edit_only\" invisible=\"state != 'draft' or move_type != 'in_invoice'\"/>\n                    <field name=\"purchase_vendor_bill_id\" nolabel=\"1\" invisible=\"state != 'draft' or move_type != 'in_invoice'\" readonly=\"state != 'draft'\" class=\"oe_edit_only\" domain=\"partner_id and [('partner_id.commercial_partner_id', '=', commercial_partner_id)] or []\" placeholder=\"Selecionar uma encomenda ou uma fatura de fornecedor antiga\" 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']/list/field[@name='company_id']\" position=\"after\">\n                <field name=\"purchase_line_id\" groups=\"purchase.group_purchase_user\" column_invisible=\"True\"/>\n                <field name=\"purchase_order_id\" groups=\"purchase.group_purchase_user\" column_invisible=\"parent.move_type != 'in_invoice'\" optional=\"hide\"/>\n            </xpath>\n            <xpath expr=\"//field[@name='line_ids']/list/field[@name='company_id']\" position=\"after\">\n                <field name=\"purchase_line_id\" groups=\"purchase.group_purchase_user\" column_invisible=\"True\"/>\n            </xpath>\n            <xpath expr=\"//div[@name='button_box']\" position=\"inside\">\n                <button class=\"oe_stat_button\" name=\"action_purchase_matching\" type=\"object\" groups=\"purchase.group_purchase_user\" icon=\"fa-bullseye\" invisible=\"not partner_id or move_type not in ('in_invoice', 'in_refund') or is_purchase_matched\">\n                    <div class=\"o_field_statinfo\">\n                        <span class=\"o_stat_text\">Correspondência de compras</span>\n                    </div>\n                </button>\n                <button class=\"oe_stat_button\" name=\"action_view_source_purchase_orders\" type=\"object\" groups=\"purchase.group_purchase_user\" icon=\"fa-pencil-square-o\" invisible=\"purchase_order_count == 0 or move_type not in ('out_invoice', 'out_refund', 'in_invoice', 'in_refund', 'out_receipt', 'in_receipt')\">\n                    <field string=\"Compras\" name=\"purchase_order_name\" widget=\"statinfo\" invisible=\"purchase_order_count != 1\"/>\n                    <field string=\"Compras\" name=\"purchase_order_count\" widget=\"statinfo\" invisible=\"purchase_order_count == 1\"/>\n                </button>\n            </xpath>\n        </data>"}