# Copyright 2019 ForgeFlow S.L. (https://www.forgeflow.com)
# Copyright 2017-2018 Tecnativa - Pedro M. Baeza
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
    "name": "Purchase Stock Picking Return Invoicing",
    "summary": "Add an option to refund returned pickings",
    "version": "14.0.1.0.0",
    "category": "Purchases",
    "website": "https://github.com/OCA/account-invoicing",
    "author": "ForgeFlow, Tecnativa, Odoo Community Association (OCA)",
    "license": "AGPL-3",
    "installable": True,
    "development_status": "Mature",
    "depends": ["purchase_stock"],
    "data": ["views/account_invoice_view.xml", "views/purchase_view.xml"],
    "maintainers": ["pedrobaeza", "MiquelRForgeFlow"],
}

# Copyright 2019 ForgeFlow S.L. (https://www.forgeflow.com)
# Copyright 2017-2018 Tecnativa - Pedro M. Baeza
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
    "name": "Purchase Stock Picking Return Invoicing",
    "summary": "Add an option to refund returned pickings",
    "version": "14.0.1.1.0",
    "category": "Purchases",
    "website": "https://github.com/OCA/account-invoicing",
    "author": "ForgeFlow, Tecnativa, Odoo Community Association (OCA)",
    "license": "AGPL-3",
    "installable": True,
    "development_status": "Mature",
    "depends": ["purchase_stock"],
    "data": ["views/account_invoice_view.xml", "views/purchase_view.xml"],
    "maintainers": ["pedrobaeza", "MiquelRForgeFlow"],
}

Hide button on proper counter
[FIX] purchase_stock_picking_return_invoicing: Hide button on proper counter

We should hide the view refunds button when there are no refunds, not
when there aren't invoices.

It hasn't been detected till now, because you usually have an invoice
before doing a refund, but in case you include this purchase order
in a vendor refund, you won't get any vendor bill.

TT32388
