Test that landed cost relation is cleared when copying invoices

issue6531
review42371002
This commit is contained in:
Sergi Almacellas Abellana committed 2017-06-02 14:15:18 +02:00
1 parent a2d6cb4da3
commit 08bbb75a5e
1 file changed
+7
@@ -149,3 +149,10 @@ Check move unit price is 101::
>>> move.reload()
>>> move.unit_price
Decimal('101.0000')
Landed cost is cleared when duplicated invoice::
>>> copy_invoice = invoice.duplicate()
>>> landed_cost.reload()
>>> len(landed_cost.invoice_lines)
1