|
| 1 | +# -*- coding: utf-8 -*- |
| 2 | +############################################################################## |
| 3 | +# |
| 4 | +# Copyright (C) 2015 ADHOC SA (http://www.adhoc.com.ar) |
| 5 | +# All Rights Reserved. |
| 6 | +# |
| 7 | +# This program is free software: you can redistribute it and/or modify |
| 8 | +# it under the terms of the GNU Affero General Public License as |
| 9 | +# published by the Free Software Foundation, either version 3 of the |
| 10 | +# License, or (at your option) any later version. |
| 11 | +# |
| 12 | +# This program is distributed in the hope that it will be useful, |
| 13 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | +# GNU Affero General Public License for more details. |
| 16 | +# |
| 17 | +# You should have received a copy of the GNU Affero General Public License |
| 18 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | +# |
| 20 | +############################################################################## |
| 21 | +{ |
| 22 | + "name": "Account Voucher Constraints", |
| 23 | + 'version': '8.0.0.0.0', |
| 24 | + 'category': 'Localization/Argentina', |
| 25 | + 'sequence': 14, |
| 26 | + 'author': 'ADHOC SA', |
| 27 | + 'website': 'www.adhoc.com.ar', |
| 28 | + 'license': 'AGPL-3', |
| 29 | + 'summary': '', |
| 30 | + "description": """ |
| 31 | +Account Voucher Constraints |
| 32 | +=========================== |
| 33 | +Add to cash/bank journals a field "voucher_amount_restriction" with values: |
| 34 | +* Can't be 0 (default): Voucher must have amount specified |
| 35 | +* Must be 0 |
| 36 | +If you want to use voucher only for reconciliation we suggest you to create a |
| 37 | +journal called "Reconciliations" with option "Must be 0" |
| 38 | + """, |
| 39 | + "depends": [ |
| 40 | + "account_voucher", |
| 41 | + ], |
| 42 | + 'external_dependencies': { |
| 43 | + }, |
| 44 | + "data": [ |
| 45 | + 'views/account_journal_view.xml', |
| 46 | + ], |
| 47 | + 'demo': [ |
| 48 | + ], |
| 49 | + 'test': [ |
| 50 | + ], |
| 51 | + 'installable': True, |
| 52 | + 'auto_install': False, |
| 53 | + 'application': False, |
| 54 | +} |
0 commit comments