Browse Source

Description added

master
cybroodoo 9 years ago
parent
commit
1bb0b63a88
  1. 2
      sale_discount_total/models/sale.py
  2. BIN
      sale_discount_total/static/description/Discount_inv_amnt.png
  3. BIN
      sale_discount_total/static/description/Discount_so_perc.png
  4. 28
      sale_discount_total/static/description/index.html

2
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)]}, ),

BIN
sale_discount_total/static/description/Discount_inv_amnt.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

BIN
sale_discount_total/static/description/Discount_so_perc.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

28
sale_discount_total/static/description/index.html

@ -0,0 +1,28 @@
<section class="oe_container">
<div class="oe_row">
<h2 class="oe_slogan">Discount On Sale</h2>
<!--<h3 class="oe_slogan">It Fits Your Sales Approach</h3>-->
<div>
<p>
This module allows you to mention discount on Total of sale order and Total of Customer Invoice in two ways
</p>
<p>
1. As percentage<br>
Select 'Percentage' from Discount type and give discount percentage as Discount rate.
System will update the value of Discount and Total
</p>
<p>
2. As amount<br>
Select 'Amount' from Discount type and give discount amount as Discount rate.
System will update the value of Discount and Total
</p>
<p>
These Details are also updated in Printable PDF Reports.
</p>
</div>
<div class="oe_row_img oe_centered oe_mt32">
<img class="oe_picture oe_screenshot" src="Discount_so_perc.png">
<img class="oe_picture oe_screenshot" src="Discount_inv_amnt.png">
</div>
</div>
</section>
Loading…
Cancel
Save