I've enabled discount per so line and invoice line. It is working fine. The only issue is I don't want it to be %, instead whatever the user input is there should be deducted from the product price. Just a flat discount based on user input not percentage base. I don't get which python file is handling it.
I'm working with OpenERP 7