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

[FIX] Check account analytic on PO line candidate search.

Open adrienpeiffer opened this issue 3 years ago • 3 comments

Currently we search on SO analytic account during the PO candidate search phase. If there is a PO for the selected supplier but there is no lines with the current analytic account, the po is ne selected The verification of the analytic account should only be done during the Detection phase of a candidate purchase line. At this moment we can check if the candidate line has the same analytic account and if so, select it or ignore it.

Video link to see the current behavior : https://youtu.be/Q4DXCCMzt0c

adrienpeiffer avatar Apr 01 '22 13:04 adrienpeiffer

So you expect in the video that the third sales order to generate a third PO line in the PO that was already created, right? I agree that behavior makes more sense

AaronHForgeFlow avatar Apr 01 '22 14:04 AaronHForgeFlow

Exactly, in this situation, it's not necessary to create a new purchase order because we already have an existing one for the same supplier.

adrienpeiffer avatar Apr 04 '22 06:04 adrienpeiffer

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 Aug 07 '22 12:08 github-actions[bot]