remove raise

This commit is contained in:
Barnabé 2021-09-14 16:30:39 +02:00
parent 04d2bbd60a
commit f0638e82ac

View File

@ -711,7 +711,7 @@ class Admin::PriceDocumentsController < ApplicationController
new_pl = pl.dup
new_pl.price_line_ref_id = pl.id
new_pl.ac_block_type = nil
raise
if price_document.reliquat and @p_customer_sheet
bls = PriceDocument.where(:bon_de_commande_achat_id => @past_price_document.id, :price_document_type => PriceDocumentType.find_by_label("Bon de réception achat"))