[Erp5-dev] Production (MRP) problems

Łukasz Nowak lukasz.nowak at ventis.com.pl
Fri Jul 13 13:01:09 CEST 2007


Hello,

On 2007-05-28, 17:07:01
Jérôme Perrin <jerome at nexedi.com> wrote:

> If it can help you, I checked in the quick workaround I made for
> erp5_payroll on our instance is
> http://svn.erp5.org?rev=14636&view=rev 
> 
> The problem is that all keywords arguments passed to
> DeliveryBuilder.build are passed to the "select movement list"
> script. The workflow script passes explanation_uid, so I hardcoded
> explanation_uid here :/. IMHO we should restore "ignore unknown keys"
> behaviour on catalog, and pass **kw.

Ok - understood a little and I was able to create patch for production
packing list and report builders - attached. I've patched issue with
ProductionOrder_zSelectMovement which returns not only Simulation
Movement - sorry, I'm not able (for now...) to patch
ProductionOrder_zSelectMovement to return only Simulation Movement, so
I've patched test function in builder to check object's portal_type.

Also patch to testProductionOrder.py which checks if system is able to
build production packing list and reports attached.

I'd be glad if that patches would be commited.

Thanks,
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...''
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testProductionOrder.py-checks-we-are-able-to-build-production-packing-list-and-reports.patch
Type: text/x-patch
Size: 1117 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20070713/6210d906/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TransformationRule_selectMovement.kw_and_test.patch
Type: text/x-patch
Size: 1143 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20070713/6210d906/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TransformationSourcingRule_selectMovement.kw_and_test.patch
Type: text/x-patch
Size: 1486 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20070713/6210d906/attachment-0002.bin>


More information about the Erp5-dev mailing list