Commit 7556d561 by François C.

Revert "Hot fix : start shelf labels auto print only is RECEPTION_SHELF_LABEL_PRINT set to TRUE"

This reverts commit 535002df.
parent 535002df
Pipeline #2948 failed with stage
in 1 minute 17 seconds
......@@ -261,8 +261,7 @@ class CagetteReception(models.Model):
new_x_reception_status += '/error_uprice'
if new_x_reception_status == '':
new_x_reception_status = 'done'
if getattr(settings, 'RECEPTION_SHELF_LABEL_PRINT', False) is True:
self.print_shelf_labels_for_updated_prices(price_update['lines'])
self.print_shelf_labels_for_updated_prices(price_update['lines'])
if result != 'already done':
self.o_api.update('purchase.order', [self.id], {'x_reception_status': new_x_reception_status})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment