-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
NEW : Reverse movement product consumption #20564
NEW : Reverse movement product consumption #20564
Conversation
Can you paste a screenshot that show the new rendering of the page, and check that there is a tooltip when you put the mous on the icon to explain the rule so for example "Delete line and revert stock" in the title of the link so user understand that action will not only remove the line but also change the stock ? |
if ($this->status < 0) { | ||
$this->error = 'ErrorDeleteLineNotAllowedByObjectStatus'; | ||
return -2; | ||
} | ||
|
||
return $this->deleteLineCommon($user, $idline, $notrigger); | ||
$productstatic = new Product($this->db); | ||
$fk_movement = GETPOST('fk_movement', 'int'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You must not use GETPOST in a class
Hi, |
NEW
Addition of a trash icon on the lines of consumed products.
If I delete a product line it does the reverse stock movement and the line is removed.
If I delete the product global line and there are consumed product lines, the product global line is removed and reverse stock movements of all consumed lines are performed.