IMP sale_payment_deposit Implement flat deposit on Payment Terms and implement functionality on sale order and account invoice.

This commit is contained in:
Bhoomi
2019-09-05 10:38:02 -04:00
committed by Bhoomi Vaishnani
parent b4ae26f874
commit ce5fbc02f1
3 changed files with 10 additions and 4 deletions

View File

@@ -5,7 +5,9 @@ class AccountPaymentTerm(models.Model):
_inherit = 'account.payment.term'
deposit_percentage = fields.Float(string='Deposit Percentage',
help='Require deposit when paying on the front end.')
help='Require Percentage deposit when paying on the front end.')
deposit_flat = fields.Float(string='Deposit Flat',
help='Require Flat deposit when paying on the front end.')
class PaymentTransaction(models.Model):