Discussion:
[Erp5-dev] Sale Invoice Transaction is not diverging on modification if it has causality - bug or feature?
Łukasz Nowak
2007-10-17 12:52:40 UTC
Permalink
Hello,

If Sale Invoice Transaction is created by starting Sale Packing List
modifying its values (quantity on line, start and stop date) is not
setting Sale Invoice Transaction in divergent state, so it is breaking
rest of simulation related processes (eg. after confirming such
modified invoice Accounting Transaction Lines goes wee-wee - eg. if
dates are changes new Sale Invoice Transaction with Accounting
Transaction Lines will be created).

Attached unit test proves it. It is extended version of previous unit
test I sent to erp5-dev[1].

Is it a bug or feature? Is it possible to add this test to core suite?
Or is it tested already (where then - I wasn't able to find it).

Regards,
Luke

[1] http://mail.nexedi.com/pipermail/erp5-dev/2007-October/001394.html
--
?ukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...''
I am only craftsman. Maybe good one, but only craftsman.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testModifyITWorks.py
Type: text/x-python
Size: 16010 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20071017/3e003f32/attachment.py>
Łukasz Nowak
2007-10-17 14:05:02 UTC
Permalink
Hello,

On 2007-10-17, 14:52:40
Post by Łukasz Nowak
Hello,
(...)

I am sorry. That's my fault. My unit tests were running on old BTs
checkout, which I haven't found. And all of those problems are analysed
on testInvoice.py in ERP5.

Sorry again for the mess.

Regards,
Luke
--
?ukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...''
I am only craftsman. Maybe good one, but only craftsman.
Loading...