# Purchase order, use code as free

**URL:** <https://www.dolibarr.org/forum/t/purchase-order-use-code-as-free/18442>\
**Category:** CRM/SRM Modules\
**Created:** [January 27, 2020, 9:03pm UTC](https://www.dolibarr.org/forum/t/purchase-order-use-code-as-free/18442 "2020-01-27T21:03:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrgonzalezrios](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/jrgonzalezrios/32/4133_2.png) [@jrgonzalezrios](https://www.dolibarr.org/forum/u/jrgonzalezrios)\
**Post date:** [January 27, 2020, 9:03pm UTC](https://www.dolibarr.org/forum/t/purchase-order-use-code-as-free/18442/1 "2020-01-27T21:03:29Z")

</div>

Hi, I want to be able to set New Purchase Orders’s generated code as a free code (leopard).  
With de default instalation I am able to set it as : Muget or Orchidee.

Hold could I be able to have the Leopard (free) option?

---

<div class="post-metadata">

**Author:** ![ksar](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/ksar/32/514_2.png) [@ksar](https://www.dolibarr.org/forum/u/ksar)\
**Post date:** [January 27, 2020, 10:43pm UTC](https://www.dolibarr.org/forum/t/purchase-order-use-code-as-free/18442/2 "2020-01-27T22:43:55Z")

</div>

Hi,

Sorry but I do not understand your question, could you please explain a bit more ?

---

<div class="post-metadata">

**Author:** ![jrgonzalezrios](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/jrgonzalezrios/32/4133_2.png) [@jrgonzalezrios](https://www.dolibarr.org/forum/u/jrgonzalezrios)\
**Post date:** [January 28, 2020, 1:02am UTC](https://www.dolibarr.org/forum/t/purchase-order-use-code-as-free/18442/3 "2020-01-28T01:02:22Z")

</div>

Hi,  
When you create a new Purchase Order to a vendor, Dolibarr allows you to set a Purchase Order number.  
First it creates a Draft with a default (PROV{x}) number.  
Then when you press the button “Validate and Aprove”, It will asign you a new Purchase order number.

This is the part where I want to be able to asig a free Purchase order number. In the admin area It allows me to set it to Muget or Orchidee maskara type only.

---

<div class="post-metadata">

**Author:** ![ksar](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/ksar/32/514_2.png) [@ksar](https://www.dolibarr.org/forum/u/ksar)\
**Post date:** [January 28, 2020, 9:40am UTC](https://www.dolibarr.org/forum/t/purchase-order-use-code-as-free/18442/4 "2020-01-28T09:40:31Z")

</div>

Hi,

No it is not possible.  
On V11, you could have the possibility for invoice only : [Modifying Invoice Numbers](https://www.dolibarr.org/forum/t/modifying-invoice-numbers/18277/4)

---

<div class="post-metadata">

**Author:** ![jrgonzalezrios](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/jrgonzalezrios/32/4133_2.png) [@jrgonzalezrios](https://www.dolibarr.org/forum/u/jrgonzalezrios)\
**Post date:** [January 28, 2020, 5:47pm UTC](https://www.dolibarr.org/forum/t/purchase-order-use-code-as-free/18442/5 "2020-01-28T17:47:40Z")

</div>

Thanks for your quick reply. Could you explain to me the reason for this? I was actually trying to change this behavior by changing the code, but maybe you could tell me why I should not force this.

Thanks for your help

---

<div class="post-metadata">

**Author:** ![Rasheednoorpk](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/rasheednoorpk/32/2996_2.png) [@Rasheednoorpk](https://www.dolibarr.org/forum/u/Rasheednoorpk)\
**Post date:** [April 13, 2020, 7:14pm UTC](https://www.dolibarr.org/forum/t/purchase-order-use-code-as-free/18442/6 "2020-04-13T19:14:43Z")

</div>

Hi for me there is no option showing after I have created draft for purchase of a product inmean it does not show validate option.
