oca-ocb-accounting/odoo-bringout-oca-ocb-account_lock
Ernad Husremovic 8e05e720e1 Fix hr_payroll_clone: AttributeError, add journal/work_type support, use standard wizard
- Fix AttributeError: hr.payslip.run has no company_id field
- Change batch name format from MM/YYYY to YYYY-MM (remove 'Payslips' prefix)
- Add journal_id field and copy from previous batch
- Add work_type_id support (Redovni rad/Regular work) in timesheet generation
- Add duplicate check for existing timesheets to prevent duplication
- Use standard Odoo hr.payslip.employees wizard for payslip generation
- Update version to 16.0.1.1.0

🤖 assisted by claude

🤖 assisted by claude
2025-11-04 22:43:26 +01:00
..
account_lock Fix hr_payroll_clone: AttributeError, add journal/work_type support, use standard wizard 2025-11-04 22:43:26 +01:00
doc update submodule l10n_ba_edi 2025-08-30 19:42:50 +02:00
pyproject.toml Initial commit: Accounting packages 2025-08-29 15:20:47 +02:00
README.md Initial commit: Accounting packages 2025-08-29 15:20:47 +02:00

Irreversible Lock Date

Make the lock date irreversible:

* 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.
* 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.
* Any new All Users Lock Date must be posterior (or equal) to the previous one.

Installation

pip install odoo-bringout-oca-ocb-account_lock

Dependencies

This addon depends on:

  • account

Manifest Information

  • Name: Irreversible Lock Date
  • Version: 1.0
  • Category: Accounting/Accounting
  • License: LGPL-3
  • Installable: False

Source

Based on OCA/OCB branch 16.0, addon account_lock.

License

This package maintains the original LGPL-3 license from the upstream Odoo project.

Documentation

  • Overview: doc/OVERVIEW.md
  • Architecture: doc/ARCHITECTURE.md
  • Models: doc/MODELS.md
  • Controllers: doc/CONTROLLERS.md
  • Wizards: doc/WIZARDS.md
  • Install: doc/INSTALL.md
  • Usage: doc/USAGE.md
  • Configuration: doc/CONFIGURATION.md
  • Dependencies: doc/DEPENDENCIES.md
  • Troubleshooting: doc/TROUBLESHOOTING.md
  • FAQ: doc/FAQ.md