Based on your requirement the below steps to follow:-
1) Openerp Menu Configuration --> Sales
screen Enable the check box "Allow setting a discount on the sales order lines"
2) Openerp Menu Accounting --> Configuration --> Taxes
Screen add new tax with below details
Tax Type Percentage
0.01860
3) In the Sale Order default code
def _amount_line_tax(self, cr, uid, line, context=None):
val = 0.0
for c in self.pool.get('account.tax').compute_all(cr, uid, line.tax_id, line.price_unit * (1-(line.discount or 0.0)/100.0), line.product_uom_qty, line.product_id, line.order_id.partner_id)['taxes']:
val += c.get('amount', 0.0)
return val
The above code override in custom module as below
def _amount_line_tax(self, cr, uid, line, context=None):
val = 0.0
for c in self.pool.get('account.tax').compute_all(cr, uid, line.tax_id, line.price_unit, line.product_uom_qty, line.product_id, line.order_id.partner_id)['taxes']:
val += c.get('amount', 0.0)
return val
After that create sale order the excepted output will be shown