account-closing icon indicating copy to clipboard operation
account-closing copied to clipboard

[14.0] [FIX] account_fiscal_year_closing - create/write

Open mde-scopea opened this issue 11 months ago • 3 comments

When creating new fiscal year closing with an account mapping (with destination account) in moves configuration, an issue is raised at save (Issue https://github.com/OCA/account-closing/issues/280).

But when coming from a template (selecting template on screen), Mapping data are used as an Array instead instead of simple id (due to many inside another many).

The current code manage only case from template.

This PR take into account this particularity (and mangage other way), check the type before taking the id of the array.

mde-scopea avatar Mar 14 '24 11:03 mde-scopea

Bug also on v16.0 #248

mde-scopea avatar Mar 14 '24 11:03 mde-scopea

I confirm the bug and fix. Please merge this.

lk-eska avatar May 10 '24 07:05 lk-eska

There hasn't been any activity on this pull request in the past 4 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 PR to never become stale, please ask a PSC member to apply the "no stale" label.

github-actions[bot] avatar Sep 08 '24 12:09 github-actions[bot]

Would you please merge this?

lk-eska avatar Oct 13 '24 13:10 lk-eska