<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <type name="Magento\Backend\Block\Widget\Context">
        <plugin name="add_custom_button_sales_view" type="Yeboyebo\Albaran\Plugin\Widget\Context" sortOrder="1"/>
    </type>
    <preference for="Magento\Sales\Model\Order\Pdf\Invoice" type="Yeboyebo\Albaran\Model\Order\Pdf\Invoice"/>
</config>