Sale Return

25 views
Skip to first unread message

Nicolas Évrard

unread,
Feb 15, 2012, 10:08:23 AM2/15/12
to try...@googlegroups.com
Hello,

We are going to add a return feature to the sale module.
This feature will make possible to create sale of a new type "Return".

When adding lines to a sale of type Return the sale object will
generate a new return shipment and then a credit note.

Eventually someone can mix a sale with both sale lines and return
lines. In that case the system will create either a credit note or an
invoice (according to the sign of the total) and will create both a
shipment and a return shipment.

--
Nicolas Évrard

B2CK SPRL
rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
E-mail/Jabber: nicolas...@b2ck.com
Website: http://www.b2ck.com/

signature.asc

Cédric Krier

unread,
Feb 15, 2012, 10:33:40 AM2/15/12
to try...@googlegroups.com
On 15/02/12 16:08 +0100, Nicolas Évrard wrote:
> Hello,
>
> We are going to add a return feature to the sale module.
> This feature will make possible to create sale of a new type "Return".
>
> When adding lines to a sale of type Return the sale object will
> generate a new return shipment and then a credit note.
>
> Eventually someone can mix a sale with both sale lines and return
> lines. In that case the system will create either a credit note or an
> invoice (according to the sign of the total) and will create both a
> shipment and a return shipment.

When the invoice method will be "on shipment", I think the sale must
*always* make an invoice when the shipment is sent and a credit note
when the "return shipment" is received.


--
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4


4000 Liège
Belgium
Tel: +32 472 54 46 59

Email/Jabber: cedric...@b2ck.com
Website: http://www.b2ck.com/

Albert Cervera i Areny

unread,
Feb 15, 2012, 10:34:24 AM2/15/12
to try...@googlegroups.com

A Dimecres, 15 de febrer de 2012 16:08:23, Nicolas �vrard va escriure:

> Hello,

>

> We are going to add a return feature to the sale module.

> This feature will make possible to create sale of a new type "Return".

>

> When adding lines to a sale of type Return the sale object will

> generate a new return shipment and then a credit note.

>

> Eventually someone can mix a sale with both sale lines and return

> lines. In that case the system will create either a credit note or an

> invoice (according to the sign of the total) and will create both a

> shipment and a return shipment.


This sounds very, very well.


--

Albert Cervera i Areny

http://www.NaN-tic.com

Tel: +34 93 553 18 03


http://twitter.com/albertnan

http://www.nan-tic.com/blog

Sharoon Thomas

unread,
Feb 15, 2012, 10:49:42 AM2/15/12
to try...@googlegroups.com

On Feb 15, 2012, at 10:08 AM, Nicolas Évrard wrote:

> Hello,
>
> We are going to add a return feature to the sale module.
> This feature will make possible to create sale of a new type "Return".
>
> When adding lines to a sale of type Return the sale object will
> generate a new return shipment and then a credit note.
>
> Eventually someone can mix a sale with both sale lines and return
> lines. In that case the system will create either a credit note or an
> invoice (according to the sign of the total) and will create both a
> shipment and a return shipment.
>

Great Feature, looking forward to it.

Thanks,

Sharoon Thomas
http://openlabs.co.in

signature.asc

Albert Cervera i Areny

unread,
Feb 15, 2012, 11:05:20 AM2/15/12
to try...@googlegroups.com

A Dimecres, 15 de febrer de 2012 16:33:40, C�dric Krier va escriure:

> On 15/02/12 16:08 +0100, Nicolas �vrard wrote:

> > Hello,

> >

> > We are going to add a return feature to the sale module.

> > This feature will make possible to create sale of a new type "Return".

> >

> > When adding lines to a sale of type Return the sale object will

> > generate a new return shipment and then a credit note.

> >

> > Eventually someone can mix a sale with both sale lines and return

> > lines. In that case the system will create either a credit note or an

> > invoice (according to the sign of the total) and will create both a

> > shipment and a return shipment.

>

> When the invoice method will be "on shipment", I think the sale must

> *always* make an invoice when the shipment is sent and a credit note

> when the "return shipment" is received.


I disagree. Although in our experience this is the most usual behaviour I think we should be able to work both ways: create a single document or create two of them.


BTW, We should eventually implement the same for purchases, I think.

Cédric Krier

unread,
Feb 15, 2012, 11:11:25 AM2/15/12
to try...@googlegroups.com
On 15/02/12 17:05 +0100, Albert Cervera i Areny wrote:
> A Dimecres, 15 de febrer de 2012 16:33:40, Cédric Krier va escriure:

> > On 15/02/12 16:08 +0100, Nicolas Évrard wrote:
> > > Hello,
> > >
> > > We are going to add a return feature to the sale module.
> > > This feature will make possible to create sale of a new type "Return".
> > >
> > > When adding lines to a sale of type Return the sale object will
> > > generate a new return shipment and then a credit note.
> > >
> > > Eventually someone can mix a sale with both sale lines and return
> > > lines. In that case the system will create either a credit note or an
> > > invoice (according to the sign of the total) and will create both a
> > > shipment and a return shipment.
> >
> > When the invoice method will be "on shipment", I think the sale must
> > *always* make an invoice when the shipment is sent and a credit note
> > when the "return shipment" is received.
>
> I disagree. Although in our experience this is the most usual behaviour I
> think we should be able to work both ways: create a single document or create
> two of them.

How can you make differently? The both shipment will always be validated
at different moment.

Dr. Axel Braun

unread,
Feb 15, 2012, 11:31:10 AM2/15/12
to try...@googlegroups.com
Hi,

Am Mittwoch, 15. Februar 2012 schrieb Nicolas Évrard:

> We are going to add a return feature to the sale module.
> This feature will make possible to create sale of a new type "Return".
>
> When adding lines to a sale of type Return the sale object will
> generate a new return shipment and then a credit note.

..with optional goods reciept?



> Eventually someone can mix a sale with both sale lines and return
> lines. In that case the system will create either a credit note or an
> invoice (according to the sign of the total) and will create both a
> shipment and a return shipment.

Not a good idea, I would keep both transactions separate: Return should be a
sales order type, not a sales line item type.

My 2c
Axel

--
Dr.-Ing. Axel K. Braun
Mobile: +49.173.7003.154
VoIP/Skype: axxite
PGP Fingerprint: CB03 964D 1CFA E87B AA63 53F3 1BD6 F53A EB48 EF22
Public Key available at http://www.axxite.com/axel....@gmx.de.asc

This mail was *not scanned* before sending.
It was sent from a secure Linux-Desktop:
IBM ThinkPad Z60m
OS: openSUSE 11.3 (i586)
Kernel: 2.6.34.10-0.6-desktop
KDE: 4.6.5 (4.6.5) "release 8"

Cédric Krier

unread,
Feb 15, 2012, 11:45:44 AM2/15/12
to try...@googlegroups.com
On 15/02/12 17:31 +0100, Dr. Axel Braun wrote:
> > Eventually someone can mix a sale with both sale lines and return
> > lines. In that case the system will create either a credit note or an
> > invoice (according to the sign of the total) and will create both a
> > shipment and a return shipment.
>
> Not a good idea, I would keep both transactions separate: Return should be a
> sales order type, not a sales line item type.

I have often hear this kind of request. Users don't want to
switch/encode many documents for the same customer transaction.

--
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4


4000 Liège
Belgium
Tel: +32 472 54 46 59

Nicolas Évrard

unread,
Feb 15, 2012, 11:51:30 AM2/15/12
to try...@googlegroups.com
* Dr. Axel Braun [2012-02-15 17:31 +0100]:

>> We are going to add a return feature to the sale module.
>> This feature will make possible to create sale of a new type "Return".
>>
>> When adding lines to a sale of type Return the sale object will
>> generate a new return shipment and then a credit note.
>
>..with optional goods reciept?

I don't understand.

>> Eventually someone can mix a sale with both sale lines and return
>> lines. In that case the system will create either a credit note or an
>> invoice (according to the sign of the total) and will create both a
>> shipment and a return shipment.
>
>Not a good idea, I would keep both transactions separate: Return should be a
>sales order type, not a sales line item type.

The idea would be to use negative quantities to specify that the line
is a return/sale (according to the type of the sale). I admit that
find it ugly too but people might want it.

signature.asc

Dr. Axel Braun

unread,
Feb 15, 2012, 11:56:53 AM2/15/12
to try...@googlegroups.com
Am Mittwoch, 15. Februar 2012 schrieb Cédric Krier:
> > > Eventually someone can mix a sale with both sale lines and return
> > > lines. In that case the system will create either a credit note or an
> > > invoice (according to the sign of the total) and will create both a
> > > shipment and a return shipment.
> >
> >
> >
> > Not a good idea, I would keep both transactions separate: Return should
> > be a sales order type, not a sales line item type.
>
> I have often hear this kind of request. Users don't want to
> switch/encode many documents for the same customer transaction.

And it is not good practice: You may want to create a return with reference to
a sales order. If you have both transactions in the same document you may mix
up things.

Cédric Krier

unread,
Feb 15, 2012, 12:03:28 PM2/15/12
to try...@googlegroups.com
On 15/02/12 17:56 +0100, Dr. Axel Braun wrote:
> Am Mittwoch, 15. Februar 2012 schrieb Cédric Krier:
> > > > Eventually someone can mix a sale with both sale lines and return
> > > > lines. In that case the system will create either a credit note or an
> > > > invoice (according to the sign of the total) and will create both a
> > > > shipment and a return shipment.
> > >
> > >
> > >
> > > Not a good idea, I would keep both transactions separate: Return should
> > > be a sales order type, not a sales line item type.
> >
> > I have often hear this kind of request. Users don't want to
> > switch/encode many documents for the same customer transaction.
>
> And it is not good practice: You may want to create a return with reference to
> a sales order. If you have both transactions in the same document you may mix
> up things.

You will not mix up things because you will have the lines > 0 and the
lines < 0.

Dr. Axel Braun

unread,
Feb 15, 2012, 11:59:59 AM2/15/12
to try...@googlegroups.com
Am Mittwoch, 15. Februar 2012 schrieb Nicolas Évrard:
> >> We are going to add a return feature to the sale module.
> >> This feature will make possible to create sale of a new type "Return".
> >>
> >> When adding lines to a sale of type Return the sale object will
> >> generate a new return shipment and then a credit note.
> >
> >..with optional goods reciept?
>
> I don't understand.

You have to have a goods receipt for the returned good in order to release the
credit note. Not just the returns order.

Dominique Chabord

unread,
Feb 16, 2012, 7:49:40 AM2/16/12
to try...@googlegroups.com

Le 15/02/2012 16:08, Nicolas �vrard a �crit :


> Hello,
>
> We are going to add a return feature to the sale module.
> This feature will make possible to create sale of a new type "Return".

At first this sounds odd to me.

>
> When adding lines to a sale of type Return the sale object will
> generate a new return shipment and then a credit note.

This makes more sens to me. There are indeed two independent features here.
Why would they be mixed in a single module ?
shipment-to-invoice and return-to-credit conversion would be nice
without this module

>
> Eventually someone can mix a sale with both sale lines and return
> lines. In that case the system will create either a credit note or an
> invoice (according to the sign of the total) and will create both a
> shipment and a return shipment.

Is it consistent ? The customer can return something that was shipped to
him, not necessarily something he bought.
>
my 2c
--
Dominique Chabord - SISalp

Cédric Krier

unread,
Feb 18, 2012, 9:56:39 AM2/18/12
to try...@googlegroups.com
On 15/02/12 16:08 +0100, Nicolas Évrard wrote:
> Hello,
>
> We are going to add a return feature to the sale module.
> This feature will make possible to create sale of a new type "Return".
>
> When adding lines to a sale of type Return the sale object will
> generate a new return shipment and then a credit note.
>
> Eventually someone can mix a sale with both sale lines and return
> lines. In that case the system will create either a credit note or an
> invoice (according to the sign of the total) and will create both a
> shipment and a return shipment.

By the way, there was already a feature request on
https://bugs.tryton.org/issue1795


--
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4


4000 Liège
Belgium
Tel: +32 472 54 46 59

Reply all
Reply to author
Forward
0 new messages