Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Tryton Tryton
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 790
    • Issues 790
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 77
    • Merge requests 77
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Tryton
  • TrytonTryton
  • Issues
  • #10961
Closed
Open
Created Nov 16, 2021 by Korbinian Preisler@timitos

Misconfigured adjustment period can break general ledger

If you have

  • fiscalyear from 2021-01-01 to 2021-12-31
  • monthly accounting periods
  • an adjustment period with start date 2021-01-01 and end date 2021-12-31

and you select the adjustment period as end period on the general ledger account form view the method get_periods_ids() from 'account.general_ledger.account' does not return proper period ids for computation of the account values.

I think that it was not intended to allow such configurations for the adjustment period. So maybe we need to add some constraints to prevent misconfiguration.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking