diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/AMOUNT_FIX_GUIDE.md b/AMOUNT_FIX_GUIDE.md old mode 100644 new mode 100755 diff --git a/CHANGELOG.md b/CHANGELOG.md old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/__init__.py b/__init__.py old mode 100644 new mode 100755 diff --git a/__manifest__.py b/__manifest__.py old mode 100644 new mode 100755 index ad51deb..0a64f69 --- a/__manifest__.py +++ b/__manifest__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- { 'name': 'Vendor Payment Diff Amount', - 'version': '17.0.2.1.0', + 'version': '19.0.2.1.0', 'category': 'Accounting/Accounting', 'summary': 'Support multiple payment deductions for vendor payments (withholding tax, fees, etc.)', 'description': """ diff --git a/fix_amount_issue.py b/fix_amount_issue.py old mode 100644 new mode 100755 diff --git a/models/__init__.py b/models/__init__.py old mode 100644 new mode 100755 diff --git a/models/account_batch_payment.py b/models/account_batch_payment.py old mode 100644 new mode 100755 diff --git a/models/account_payment.py b/models/account_payment.py old mode 100644 new mode 100755 diff --git a/models/payment_deduction_line.py b/models/payment_deduction_line.py old mode 100644 new mode 100755 index 889daa5..c0a5d68 --- a/models/payment_deduction_line.py +++ b/models/payment_deduction_line.py @@ -58,7 +58,7 @@ class PaymentDeductionLine(models.Model): 'account.account', string='Deduction Account', required=True, - domain="[('account_type', 'not in', ['asset_cash', 'asset_cash_bank', 'asset_receivable', 'liability_payable']), ('deprecated', '=', False)]", + domain="[('account_type', 'not in', ['asset_cash', 'asset_cash_bank', 'asset_receivable', 'liability_payable'])]", help='Account where the deduction will be recorded (use tax payable or expense accounts, NOT payable/receivable accounts)', ) name = fields.Char( diff --git a/security/ir.model.access.csv b/security/ir.model.access.csv old mode 100644 new mode 100755 diff --git a/tests/__init__.py b/tests/__init__.py old mode 100644 new mode 100755 diff --git a/tests/test_account_payment.py b/tests/test_account_payment.py old mode 100644 new mode 100755 diff --git a/tests/test_batch_payment_integration.py b/tests/test_batch_payment_integration.py old mode 100644 new mode 100755 diff --git a/views/account_batch_payment_views.xml b/views/account_batch_payment_views.xml old mode 100644 new mode 100755 index 06011fb..69f0356 --- a/views/account_batch_payment_views.xml +++ b/views/account_batch_payment_views.xml @@ -1,15 +1,15 @@ - + account.batch.payment.form.inherit.diff.amount account.batch.payment - + - + @@ -17,7 +17,7 @@ - +
@@ -32,13 +32,13 @@ - + - + diff --git a/views/account_payment_views.xml b/views/account_payment_views.xml old mode 100644 new mode 100755 index 2286184..22b39b5 --- a/views/account_payment_views.xml +++ b/views/account_payment_views.xml @@ -12,14 +12,14 @@ invisible="payment_type != 'outbound'" readonly="state != 'draft'" nolabel="1"> - + - +