[FIX] Fixed sidebar padding problem
[odoo/odoo.git] / addons / account_payment / account_invoice.py
old mode 100755 (executable)
new mode 100644 (file)
index 1f882b4..fd78786
@@ -42,7 +42,7 @@ class Invoice(osv.osv):
         return res
 
     _columns = {
-        'amount_to_pay': fields.function(_amount_to_pay, method=True,
+        'amount_to_pay': fields.function(_amount_to_pay,
             type='float', string='Amount to be paid',
             help='The amount which should be paid at the current date\n' \
                     'minus the amount which is already in payment order'),