diff --git a/sale_discount_total/models/sale.py b/sale_discount_total/models/sale.py index d07f29394..e7d9b2f56 100644 --- a/sale_discount_total/models/sale.py +++ b/sale_discount_total/models/sale.py @@ -41,7 +41,7 @@ class SaleOrder(osv.Model): _columns = { 'discount_type': fields.selection([ ('percent', 'Percentage'), - ('amount', 'Amount')], 'Discount Type'), + ('amount', 'Amount')], 'Discount type'), 'discount_rate': fields.float('Discount Rate', digits_compute=dp.get_precision('Account'), readonly=True, states={'draft': [('readonly', False)], 'sent': [('readonly', False)]}, ), diff --git a/sale_discount_total/static/description/Discount_inv_amnt.png b/sale_discount_total/static/description/Discount_inv_amnt.png new file mode 100644 index 000000000..7272d74e2 Binary files /dev/null and b/sale_discount_total/static/description/Discount_inv_amnt.png differ diff --git a/sale_discount_total/static/description/Discount_so_perc.png b/sale_discount_total/static/description/Discount_so_perc.png new file mode 100644 index 000000000..50821f6f7 Binary files /dev/null and b/sale_discount_total/static/description/Discount_so_perc.png differ diff --git a/sale_discount_total/static/description/index.html b/sale_discount_total/static/description/index.html new file mode 100644 index 000000000..6b1a15a21 --- /dev/null +++ b/sale_discount_total/static/description/index.html @@ -0,0 +1,28 @@ +
+
+

Discount On Sale

+ +
+

+ This module allows you to mention discount on Total of sale order and Total of Customer Invoice in two ways +

+

+ 1. As percentage
+ Select 'Percentage' from Discount type and give discount percentage as Discount rate. + System will update the value of Discount and Total +

+

+ 2. As amount
+ Select 'Amount' from Discount type and give discount amount as Discount rate. + System will update the value of Discount and Total +

+

+ These Details are also updated in Printable PDF Reports. +

+
+
+ + +
+
+