-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BOM creation, when you save the line it is not displayed until page refresh. #14326
Comments
+1 |
Further confirm that this bug is still available in 12.0.2 |
+1 |
Ok, dont know why this issue has been closed but the problem still partially exist on 12.0.3. The issue have been corrected on the line update but not on the line add. Fortunately it's an easy fix, edit the file : /dolibar_root_folder/htdocs/bom/bom_card.php Around line 181 / 186, change :
To
If you are on a version prior to 12.0.3 do the same thing around lines 223 / 229. |
Simon3P that did the job, thanks for the easy fix. Hope this will be included in the next release |
While the above code works their is still a redirecting issue when reloading the page. |
Bug
In module MRP, creating or modifying a BOM, new lines doesn't show until page refresh. Modifying existing line doesn't show new values on save until page refresh.
Environment
Expected and actual behaviour
Added or saved lines will show right away.
Steps to reproduce the behavior
Go to MRP -> New bill of material -> Input name, product ant qty -> Create.
On the next screen, try add à new line (select à product, set qty and other values -> Click ADD button). The new line form is reset but the line (despite being correctly writed to database) does not show in the card. Reloading the BOM will show the line (Refreshing the page or navigate away and come back to this BOM).
Similar thing happen when modifying an existing line. New values doesn't show until page relaod.
The text was updated successfully, but these errors were encountered: