~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to sale_override/wizard/split_order_line.py

UF-998 [FIX] FO/PO duplication: distrib and dates removed
lp:~unifield-team/unifield-wm/uf_998_po_so_copy

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
 
52
52
        if isinstance(ids, (int, long)):
53
53
            ids = [ids]
54
 
 
 
54
        context['keepDateAndDistrib'] = True
55
55
        for split in self.browse(cr, uid, ids, context=context):
56
56
            # Check if the sum of new line and old line qty is equal to the original qty
57
57
            if split.new_line_qty > split.original_qty: