account-financial-tools icon indicating copy to clipboard operation
account-financial-tools copied to clipboard

Consistency in locking modules

Open feketemihai opened this issue 7 years ago • 1 comments

Hi all,

as far as i've seen there are multiple modules that threat locking in accounting on branch 10.0

account_lock_date_update - For this one i made a PR for migration to 11.0, because this is the standard Odoo locking mechanism, but input is not present in community .

account_journal_lock_date account_move_locking account_permanent_lock_move account_permanent_lock_move_update

For the rest i suggest to consolidate them:

  • account_move_locking to be included in account_journal_lock_date, first module beside adding a "locked" (Which threats account moves for permanent locking.) field on account.move, adds also a wizard to lock move lines by journal between two dates. The module account_journal_lock_date adds a lock date per journal.
  • account_permanent_lock_move_update and account_permanent_lock_move, they add a permanent date in company which restricts account move prior to this date.

I made a PR #615 to consolidate these modules, meaning that you can lock each journal separately with a permanency lock option. You can lock each account move separately depending on journal settings. Similar to company permanent_lock_date, you can lock all journal on that date with permanency option.

Please review it.

@OCA/accounting-maintainers @astirpe @benwillig

feketemihai avatar Feb 14 '18 08:02 feketemihai

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

github-actions[bot] avatar Aug 07 '22 12:08 github-actions[bot]