changeset 4c762b9f3e90 in modules/stock_product_location:default
details:
https://hg.tryton.org/modules/stock_product_location?cmd=changeset;node=4c762b9f3e90
description:
Prevent assign unknown attributes on Model
by adding __slots__ on proteus classes.
issue6573
review254081002
diffstat:
tests/scenario_stock_product_location.rst | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diffs (13 lines):
diff -r 1a776b4cc67c -r 4c762b9f3e90 tests/scenario_stock_product_location.rst
--- a/tests/scenario_stock_product_location.rst Mon May 06 15:17:01 2019 +0200
+++ b/tests/scenario_stock_product_location.rst Sat Sep 07 23:38:20 2019 +0200
@@ -103,9 +103,6 @@
>>> Shipment_out_Return = Model.get('stock.shipment.out.return')
>>> shipment_out_return = Shipment_out_Return()
>>> shipment_out_return.customer = customer
- >>> shipment_out_return.supplier = supplier
- >>> shipment_out_return.from_location = output_loc
- >>> shipment_out_return.to_location = supplier_loc
>>> shipment_out_return.save()
Add one shipment return line::