Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

15.0 mig purchase stock picking return invoicing #1162

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
0a67946
purchase_stock_picking_return_invoicing
JordiBForgeFlow Feb 16, 2017
d46ffba
OCA Transbot updated translations from Transifex
oca-transbot Mar 25, 2017
c9adca6
[9.0][FIX] purchase_stock_picking_return_invoicing
MiquelRForgeFlow Jun 30, 2017
a6bf8b2
[10.0][MIG] purchase_stock_picking_return_invoicing: Migration to 10.0
MiquelRForgeFlow Jul 25, 2017
491d0ea
[IMP] purchase_stock_picking_return_invoicing: Cleanup
pedrobaeza Dec 18, 2017
52300a4
OCA Transbot updated translations from Transifex
oca-transbot Apr 14, 2018
0bc3005
[IMP] purchase_stock_picking_returm_invoicing: Improve perf for qty_r…
pedrobaeza Jun 27, 2018
fb08e31
[MIG] purchase_stock_picking_return_invoicing: Migration to 11.0
pedrobaeza Jun 27, 2018
e835e13
Translated using Weblate (German)
rschnapka Oct 11, 2018
bbd62f3
[UPD] Update purchase_stock_picking_return_invoicing.pot
oca-travis Oct 11, 2018
d616099
Update translation files
oca-transbot Nov 25, 2018
e43c2b5
[FIX] purchase_stock_picking_return_invoicing: Remove extra buggy com…
pedrobaeza Jan 3, 2019
de671b5
[11.0][add][purchase_stock_picking_return_invoicing_force_invoiced]
JordiBForgeFlow Jul 4, 2019
c36bc8e
[12.0][MIG] purchase_stock_picking_return_invoicing
AdriaGForgeFlow Jul 9, 2019
f743543
[UPD] Update purchase_stock_picking_return_invoicing.pot
oca-travis Jul 19, 2019
8e704cb
Update translation files
oca-transbot Jul 20, 2019
1a91361
[UPD] README.rst
OCA-git-bot Jul 29, 2019
fb89fcd
Translated using Weblate (German)
marylla Aug 23, 2019
a281f71
Translated using Weblate (Portuguese (Brazil))
Sep 3, 2019
1388d7f
[IMP][12.0] purchase_stock_picking_return_invoicing: ease multi refund
chienandalu Oct 31, 2019
7608e6c
[UPD] Update purchase_stock_picking_return_invoicing.pot
oca-travis Nov 12, 2019
692d52a
purchase_stock_picking_return_invoicing 12.0.1.0.1
OCA-git-bot Nov 12, 2019
8e3cbb6
Update translation files
oca-transbot Nov 12, 2019
a25aba4
Translated using Weblate (Portuguese (Brazil))
Nov 24, 2019
9744a91
[13.0][IMP] purchase_stock_picking_return_invoicing: black, isort
kittiu Feb 6, 2020
f88233e
[13.0][MIG] purchase_stock_picking_return_invoicing
kittiu Feb 10, 2020
836b703
[UPD] Update purchase_stock_picking_return_invoicing.pot
oca-travis Nov 17, 2020
f05e83a
[UPD] README.rst
OCA-git-bot Nov 17, 2020
9fbf9dc
Update translation files
oca-transbot Nov 22, 2020
1b86c97
Translated using Weblate (Spanish)
anasuarez1 Mar 10, 2021
8292b12
[MIG] purchase_stock_picking_return_invoicing: Migration to 14.0
mariadforgeflow Aug 25, 2021
0473736
[UPD] Update purchase_stock_picking_return_invoicing.pot
oca-travis Oct 8, 2021
da8aa31
[UPD] README.rst
OCA-git-bot Oct 8, 2021
dd1ca0f
[FIX] purchase_stock_picking_return_invoicing: Hide button on proper …
pedrobaeza Oct 13, 2021
eecca5c
[UPD] README.rst
OCA-git-bot Nov 11, 2021
7ec192d
[UPD] README.rst
OCA-git-bot Nov 11, 2021
5b2ebd7
[FIX] purchase_stock_picking_return_invoicing: Invalid invisible attr…
pedrobaeza Nov 29, 2021
702a0e1
Translated using Weblate (Portuguese (Brazil))
Feb 1, 2022
7e8c56d
[IMP] : black, isort, prettier
26hpredraglazarevic May 17, 2022
0ea1009
[MIG] purchase_stock_picking_return_invoicing: Migration to 15.0
26hpredraglazarevic May 17, 2022
57e1a71
Added a maintainer in manifest file
26hpredraglazarevic May 18, 2022
5dd3994
[15][IMP] purchase_stock_picking_return_invoicing: pylint
26hpredraglazarevic May 24, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
159 changes: 159 additions & 0 deletions purchase_stock_picking_return_invoicing/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
=======================================
Purchase Stock Picking Return Invoicing
=======================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
:target: https://odoo-community.org/page/development-status
:alt: Mature
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--invoicing-lightgray.png?logo=github
:target: https://github.com/OCA/account-invoicing/tree/14.0/purchase_stock_picking_return_invoicing
:alt: OCA/account-invoicing
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-invoicing-14-0/account-invoicing-14-0-purchase_stock_picking_return_invoicing
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/95/14.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module extends the functionality of purchase orders to better manage
supplier returns and refunds.

In the purchase order you are able to display, for each line:

* Billed Quantity and Refunded Quantity, as separate fields.

* Received Quantity and Returned Refundable Quantity, as separate fields.

You have the option to create a vendor bill or a refund. In the bill or refund
the correct quantity will be proposed, based on those fields.

**Table of contents**

.. contents::
:local:

Usage
=====

Case 1: When you return to a supplier some products, and you have not yet
received the bill from the supplier

#. Go to *Purchases > Purchase > Purchase Orders > Create*.
#. Choose a supplier and add a product whose *Control Purchase Bills* is
*On received quantities*, and input some quantity to purchase.
#. Confirm the purchase order.
#. Go to *Shipment > Validate > Apply* so as to receive the quantities ordered.
#. Press the button *Return*.
#. In the wizard *Reverse Transfer* set *Quantity* to the quantity to be
returned. Press *Return* to complete the wizard. **IMPORTANT**: You have to
mark "To refund (Update SO/PO)" check before pressing the button.
#. On the return picking press *Validate > Apply*.
#. Go back to the purchase order. You will notice that the field *Returned
Qty* is now the quantity that was returned.
#. Press the button *Create Bill* to create the vendor bill.
#. The proposed vendor bill will be proposed for the difference between the
received and the returned quantity.

Case 2: When you return to a supplier some products, and you have already
received a bill from the supplier.

#. Go to *Purchases > Purchase > Purchase Orders > Create*.
#. Choose a supplier and add a product whose *Control Purchase Bills* is
*On received quantities*, and input some quantity to purchase.
#. Confirm the purchase order.
#. Go to *Shipment > Validate > Apply* so as to receive the quantities ordered.
#. Go back to the purchase order. Press the button *Create Bill* to create
the vendor bill.
#. The proposed vendor bill will be proposed for the quantity received. The
*Billing Status* is now 'Fully Billed'
#. Go to the original incoming shipment
#. Press the button *Return*.
#. In the wizard *Reverse Transfer* set *Quantity* to the quantity to be
returned. Press *Return* to complete the wizard. **IMPORTANT**: You have to
mark "To refund (Update SO/PO)" check before pressing the button.
#. On the return picking press *Validate > Apply*.
#. Go back to the purchase order. It will have *Billing Status* as 'Waiting
Bills'. You will notice that the field *Returned Qty* is now the quantity
that was returned.
#. Press the button *Refunds* to create the vendor refund bill.
#. The proposed vendor refund bill will be proposed for the quantity that is
to be refunded.
#. If you back to the purchase order, you will notice that *Billing Status*
is now 'Fully Billed', even when the quantity ordered does not match
with the quantity invoiced, because you did return some products.

Remark: If you accept that you will not claim for a refund for the quantity
returned to the supplier, just leave without checking the mark
"To refund (Update SO/PO)" on the return dialog.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-invoicing/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/account-invoicing/issues/new?body=module:%20purchase_stock_picking_return_invoicing%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* ForgeFlow
* Tecnativa

Contributors
~~~~~~~~~~~~

* Forgeflow <https://www.forgeflow.com>:

* Jordi Ballester Alomar <[email protected]>

* Tecnativa <https://www.tecnativa.com>

* Pedro M. Baeza

* Ecosoft <https://ecosoft.co.th>

* Kitti Upariphutthiphong

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-pedrobaeza| image:: https://github.com/pedrobaeza.png?size=40px
:target: https://github.com/pedrobaeza
:alt: pedrobaeza
.. |maintainer-MiquelRForgeFlow| image:: https://github.com/MiquelRForgeFlow.png?size=40px
:target: https://github.com/MiquelRForgeFlow
:alt: MiquelRForgeFlow

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-pedrobaeza| |maintainer-MiquelRForgeFlow|

This module is part of the `OCA/account-invoicing <https://github.com/OCA/account-invoicing/tree/14.0/purchase_stock_picking_return_invoicing>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions purchase_stock_picking_return_invoicing/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
18 changes: 18 additions & 0 deletions purchase_stock_picking_return_invoicing/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 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": "15.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", "26hpredraglazarevic"],
}
73 changes: 73 additions & 0 deletions purchase_stock_picking_return_invoicing/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_stock_picking_return_invoicing
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-24 18:04+0000\n"
"PO-Revision-Date: 2017-03-24 18:04+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: purchase_stock_picking_return_invoicing
#: model:ir.model.fields,field_description:purchase_stock_picking_return_invoicing.field_purchase_order__invoice_refund_count
msgid "# of Invoice Refunds"
msgstr ""

#. module: purchase_stock_picking_return_invoicing
#: model_terms:ir.ui.view,arch_db:purchase_stock_picking_return_invoicing.purchase_order_view_form_inherit
msgid "Create Refund"
msgstr ""

#. module: purchase_stock_picking_return_invoicing
#: model:ir.model,name:purchase_stock_picking_return_invoicing.model_account_move
msgid "Journal Entries"
msgstr ""

#. module: purchase_stock_picking_return_invoicing
#: model:ir.model,name:purchase_stock_picking_return_invoicing.model_purchase_order
msgid "Purchase Order"
msgstr ""

#. module: purchase_stock_picking_return_invoicing
#: model:ir.model,name:purchase_stock_picking_return_invoicing.model_purchase_order_line
msgid "Purchase Order Line"
msgstr ""

#. module: purchase_stock_picking_return_invoicing
#: model:ir.model.fields,field_description:purchase_stock_picking_return_invoicing.field_purchase_order_line__qty_refunded
msgid "Refunded Qty"
msgstr ""

#. module: purchase_stock_picking_return_invoicing
#: model_terms:ir.ui.view,arch_db:purchase_stock_picking_return_invoicing.purchase_order_view_form_inherit
msgid "Refunds"
msgstr ""

#. module: purchase_stock_picking_return_invoicing
#: model:ir.model.fields,field_description:purchase_stock_picking_return_invoicing.field_purchase_order_line__qty_returned
msgid "Returned* Qty"
msgstr ""

#. module: purchase_stock_picking_return_invoicing
#: model_terms:ir.ui.view,arch_db:purchase_stock_picking_return_invoicing.view_invoice_supplier_purchase_form
msgid "Select a purchase order or an old bill"
msgstr ""

#. module: purchase_stock_picking_return_invoicing
#: model:ir.model.fields,help:purchase_stock_picking_return_invoicing.field_purchase_order_line__qty_returned
msgid "This is ONLY the returned quantity that is refundable."
msgstr ""

#~ msgid "Invoice"
#~ msgstr "فاتورة"
72 changes: 72 additions & 0 deletions purchase_stock_picking_return_invoicing/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_stock_picking_return_invoicing
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-24 18:04+0000\n"
"PO-Revision-Date: 2017-03-24 18:04+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"Language: bg\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: purchase_stock_picking_return_invoicing
#: model:ir.model.fields,field_description:purchase_stock_picking_return_invoicing.field_purchase_order__invoice_refund_count
msgid "# of Invoice Refunds"
msgstr ""

#. module: purchase_stock_picking_return_invoicing
#: model_terms:ir.ui.view,arch_db:purchase_stock_picking_return_invoicing.purchase_order_view_form_inherit
msgid "Create Refund"
msgstr ""

#. module: purchase_stock_picking_return_invoicing
#: model:ir.model,name:purchase_stock_picking_return_invoicing.model_account_move
msgid "Journal Entries"
msgstr ""

#. module: purchase_stock_picking_return_invoicing
#: model:ir.model,name:purchase_stock_picking_return_invoicing.model_purchase_order
msgid "Purchase Order"
msgstr ""

#. module: purchase_stock_picking_return_invoicing
#: model:ir.model,name:purchase_stock_picking_return_invoicing.model_purchase_order_line
msgid "Purchase Order Line"
msgstr ""

#. module: purchase_stock_picking_return_invoicing
#: model:ir.model.fields,field_description:purchase_stock_picking_return_invoicing.field_purchase_order_line__qty_refunded
msgid "Refunded Qty"
msgstr ""

#. module: purchase_stock_picking_return_invoicing
#: model_terms:ir.ui.view,arch_db:purchase_stock_picking_return_invoicing.purchase_order_view_form_inherit
msgid "Refunds"
msgstr ""

#. module: purchase_stock_picking_return_invoicing
#: model:ir.model.fields,field_description:purchase_stock_picking_return_invoicing.field_purchase_order_line__qty_returned
msgid "Returned* Qty"
msgstr ""

#. module: purchase_stock_picking_return_invoicing
#: model_terms:ir.ui.view,arch_db:purchase_stock_picking_return_invoicing.view_invoice_supplier_purchase_form
msgid "Select a purchase order or an old bill"
msgstr ""

#. module: purchase_stock_picking_return_invoicing
#: model:ir.model.fields,help:purchase_stock_picking_return_invoicing.field_purchase_order_line__qty_returned
msgid "This is ONLY the returned quantity that is refundable."
msgstr ""

#~ msgid "Invoice"
#~ msgstr "Фактура"
Loading