__manifest__.py 736 B

1234567891011121314151617
  1. # -*- coding: utf-8 -*-
  2. # Part of Odoo. See LICENSE file for full copyright and licensing details.
  3. {
  4. 'name': 'Irreversible Lock Date',
  5. 'version': '1.0',
  6. 'category': 'Accounting/Accounting',
  7. 'description': """
  8. Make the lock date irreversible:
  9. * You cannot set stricter restrictions on accountants than on users. Therefore, the All Users Lock Date must be anterior (or equal) to the Invoice/Bills Lock Date.
  10. * You cannot lock a period that has not yet ended. Therefore, the All Users Lock Date must be anterior (or equal) to the last day of the previous month.
  11. * Any new All Users Lock Date must be posterior (or equal) to the previous one.
  12. """,
  13. 'depends': ['account'],
  14. 'license': 'LGPL-3',
  15. }