Skip to content

Conversation

@lmarion-source
Copy link

  • Add the possibility to create several cutoff with the same date

If the box is not checked in configurations, the uniqueness is checked at the cutoff level (as previously done). If we need to create several cutoff at the same date for different journals/accounts, we can check the box and the check will be done at the cutoff line level.

Business case can be :

  • One user (A) creates a cutoff for some account moves. Another user (B) creates other moves, then wants to see those moves in a cutoff.
    However, B does not want to interfere with the cutoff A already made. B creates a new cutoff with the same date as the one of A, and when he generates lines,
    only retrieves the one that were not already in the cutoff of A.

  • One user wants to create several cutoff at the same date, but for different journals/accounts

@OCA-git-bot
Copy link
Contributor

Hi @jbaudoux, @alexis-via,
some modules you are maintaining are being modified, check this out!

@lmarion-source
Copy link
Author

@jbaudoux I was not able to re-open the #310 so I did a new one and add a configuration for the business case I have. This way the original behaviour stays the same

Copy link

@acsonefho acsonefho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM

Copy link
Contributor

@jbaudoux jbaudoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you need to make one commit per module

…ff date at line level + Add the possibility to create several cutoff with the same date + Add a configuration to check cutoff date unicity either on lines or on the whole cutoff

Business case can be :

- One user (A) creates a cutoff for some account moves. Another user (B) creates other moves, then wants to see those moves in a cutoff.
      However, B does not want to interfere with the cutoff A already made. B creates a new cutoff with the same date as the one of A, and when he generates lines,
      only retrieves the one that were not already in the cutoff of A.

- One user wants to create several cutoff at the same date, but for different journals/accounts
…toff date unicity either on lines or on the whole cutoff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants