Technical mailing list archives

technical@mail.odoo.com

Avatar

Re: Put a valid invoice to the draft and validate it again for a new sequence

by
Slim BHIRI
- 02/01/2018 11:44:13
Hello Arnold,

You can just duplicate the cancelled invoice in step 1 and let the FAC/001 cancelled BUT I don't see why you are needing that while invoice sequences should have no gaps by gouvernement law and cancellation should be made with an invoice refund.

Hope that helps !

-------- Original message --------
From: Arnold KOUYA <arnoldkouya@gmail.com>
Date: 2/1/18 2:05 PM (GMT+01:00)
To: Technical <technical@mail.odoo.com>
Subject: Put a valid invoice to the draft and validate it again for a new sequence

Hello Everyone ,

How are you, I hope super good;)

I have a problem this afternoon, here it is, I want:
1 - Put an invoice (FAC / 001) in the draft after it has been validated.
2 - And then validate it so that it takes the new sequence number (FAC / 002)
via a module

I was able to realize the (1),  but If you have suggestions do not hesitate to help me.

Thank you


--
___________________________________________________________________________________
Welly Arnold KOUYA
Facebook : arcenterTwitter : arnoldkouya,

Tel : (225) 49 11 95 98/08 19 18 05

_______________________________________________
Mailing-List: https://www.odoo.com/groups/technical-62
Post to: mailto:technical@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

Follow-Ups