Skip to Content
Menu
This question has been flagged

Hello,

we have the following scenario: Our ODOO is connected to Shopify.

A sales order is created (e.g S0001). The sales order is $100.

  1. A Delivery Outbound  is created (OUT/0001).
  2. The customer returns the pair for exchange. 
  3. We record the returned orders as Inbound (IN/0001).
  4. We create an new exchange order with the Sales value $0 . (e. S00002). 
  5. A Delivery Outboung is created (OUT/0002).

Until now all is good. 

The problem is that when i create the Inbound (IN/00001), the systems shows me the button "Create Invoice" for the Sales Order S00001. If i click "Create Invocie", it will create a Credit Note for the Inbound (IN/0001) of the value of $100.

In the accounting. it shows like that there has been no sales done.

Does anyone has the same situation ? Can i somehow configure ODOO, that is does not show me the "Create Invoice" in certain cases (e.g. on certain tags ?). 

If i do an stock adjustment instead of Inbound for the returned pair, it would not show me the "Create Invoice". But that lead to the problem that i loose the connection which pair has been returned for which customer.

Any idea is welcome :)

Avatar
Discard

Please post the edition (Community, Enterprise) and version (16.0, 17.0, 18.0) of Odoo you are working with, together with the names of any and all custom modules installed (there is more than one Shopify connector) in order to give readers more chance of helping you.

Author

We are on ODOO V14 Entreprise Edition

Best Answer

Instead of creating a new sales order, make a copy of the original outbound delivery to send the returned item back to your customer.  It should update the sales order with qty delivered.

Avatar
Discard
Author

Yes, that how we did it in the past. But as we are connected to Shopify and a thirs party Return application, Shopify creates a new Sales order. I cannot change that part.

I hoped i can do some configuration in ODOO.

Then the problem seems to be in Shopify. But another option: When you make a return, you should get a pop up in Odoo that ask if you want to update the sales order or not. If you don't update the sales order, the result should be that invoiced and delivered qty remains the same. And credit note is not relevant directly.

Author

That would be a solution. But how do i get the pop up when i want to update the sales order ? I have never seen this window.

When you create a return, open the outbound delivery an press 'Return'. The pop up should appear.

Author

Wonderful. Just saw the checkbox what you meant. You made my day :) . Many thanks Lars.

Author

Hi Lars,
i had a funny situation today. Very proud, i explained my finance colleague how to fix the credit note issue. But then she tried and could not see the "Update quantities in SO/PO" checkbox.

It took me a while to understand that the checkbox is only visible when having the debug mode activated.

I tried to look into the stock.picking.form View if i see any invisible='0' for the field to_refund. But i could not find anything.

Do you know how to make this field visible outside the debug mode ?

Thanks

Strange. And did not know, since I always use Developer mode. But I found it.
In the view "Return lines" there is inherited a view "stock.return.picking.stock.account.form"
In this view you find the following code:
<?xml version="1.0"?>
<xpath expr="//field[@name='product_return_moves']/tree" position="inside">
<field name="to_refund" groups="base.group_no_one"/>
</xpath>

group_no_one does not exist in authorisations.

I deleted: groups="base.group_no_one" from the view, and the field is available for all inventory users.

Author

Excellent. It works. Many thanks :)

Related Posts Replies Views Activity
1
Jul 25
448
2
Jun 25
1098
2
Dec 24
3805
2
Aug 24
1490
1
May 24
1442