1b.app
Link copied -

The system adds 2 expected payments (OP) although there is a prohibition in action / finance_expected_percent_amount

Here is an example of the process https://baza.cn.ua/admin/customorder/order/46975/payment/
in which the system added
Adding an OP occurs according to the procedure https://baza.cn.ua/admin/shop/workflow/12/procedure/161/?status=0
In the actions, there is a checkbox "Do not create new ones, as already є vouching payments, creating dієyu" (2_checkexisting)
If you delete all OP and start the procedure in manual mode via the button, then it adds one payment, as needed, and calling the procedure again does not add OP
I assume that since the procedure is launched at the stage https://baza.cn.ua/admin/shop/workflowstatus/118/action/new/ into which the system can immediately transfer after the starting stage (under conditions), then the system may be stupid somewhere
Please fix the bug
Original question is available on version: ru

Answers:

The action implements a check in which process and at what stage the expected payment was created.
If you have created an expected payment, after the status has changed, it means that a new expected payment will be created when the procedure is started.
23.07.2021, 12:54
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment