# OpenERP Discount configuration for sale orders

**URL:** <https://talk.openmrs.org/t/openerp-discount-configuration-for-sale-orders/12534>\
**Category:** Bahmni\
**Tags:** openerp, bahmni\
**Created:** [July 24, 2017, 3:57am UTC](https://talk.openmrs.org/t/openerp-discount-configuration-for-sale-orders/12534 "2017-07-24T03:57:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![soopafly](https://talk.openmrs.org/letter_avatar/soopafly/32/5_5575768a8748004e209b776fc1b2916d.png) [@soopafly](https://talk.openmrs.org/u/soopafly)\
**Post date:** [July 24, 2017, 3:57am UTC](https://talk.openmrs.org/t/openerp-discount-configuration-for-sale-orders/12534/1 "2017-07-24T03:57:21Z")

</div>

Hi Everyone i have a concern regarding OpenERP Discount configuration. I’m using Bahmni version 0.89 And when I try to configure Discount heads in OpenERP, in the “ **Discount Account Head** ” field of the quotation or sale order, the account list is empty. I configured several accounts for categorising discount heads, but nothing is working. Can you help me find a solution ? Find below a screenshot of what i’m talking about.

 ![](https://talk.openmrs.org/uploads/default/original/2X/1/1dd61588b0a322783fbe1a7e9f9402730b52c254.png)Here are the accounts that i’ve created ![](https://talk.openmrs.org/uploads/default/original/2X/5/5f937983cb0bb1849d2049fef08f03634cd5f78e.png)

---

<div class="post-metadata">

**Author:** ![pkanchankar](https://talk.openmrs.org/user_avatar/talk.openmrs.org/pkanchankar/32/687_2.png) [@pkanchankar](https://talk.openmrs.org/u/pkanchankar)\
**Post date:** [July 24, 2017, 6:05am UTC](https://talk.openmrs.org/t/openerp-discount-configuration-for-sale-orders/12534/2 "2017-07-24T06:05:50Z")

</div>

hi @soopaflyIn Bahmni Pharmacy module to be able to give discounts, OpenERP expects an Account called “Discounts” to be present as Parent account.

To setup follow these steps: Goto Accounting \> Accounts \> Accounts Search for “Discounts”. If not present, create it -

```
Goto Accounting > Accounts > Accounts > Create
Enter Account Code e.g. 222 or Disc
Enter Account Name - Discounts
Choose Parent e.g. Overheads or Cost of Sales
Internal Type - View
Account Type - Expense View
Save

```

Once setup you need to make this “Discounts” account as the parent of Discount accounts that you have created e.g. “Needy Discount”.

Edit your Discount Accounts as follows:

> - Choose Parent - Discounts
> - Internal Type - Regular
> - Account Type - Expense
> - Save

---

<div class="post-metadata">

**Author:** ![soopafly](https://talk.openmrs.org/letter_avatar/soopafly/32/5_5575768a8748004e209b776fc1b2916d.png) [@soopafly](https://talk.openmrs.org/u/soopafly)\
**Post date:** [July 24, 2017, 11:43am UTC](https://talk.openmrs.org/t/openerp-discount-configuration-for-sale-orders/12534/3 "2017-07-24T11:43:08Z")

</div>

Thank you very much Pankaj, It’s OK now! i was missing the final “ **s** ” in the name “ **Discounts** ”

 ![](https://talk.openmrs.org/uploads/default/original/2X/9/90a6d872de9eb7cefe0ed0ce43e4b47fb457c884.png)
