[Erp5-dev] Production (MRP) problems
Jérôme Perrin
jerome at nexedi.com
Mon May 28 17:07:01 CEST 2007
Le vendredi 25 mai 2007 13:11, Łukasz K. Nowak a écrit :
> Hello,
>
> Dnia 25-05-2007, pią o godzinie 11:50 +0200, Jérôme Perrin napisał(a):
> > Ah, I know this bug, catalog tool now automatically converts dicts passed
> > as keyword arguments to a Query, and it fails if it cannot be converted
> > to Query. Before, dicts were simply ignored if the keyword argument was
> > not a valid key (related key or catalog column).
> > IIRC this script receives the activity_kw dict in **kw, and pass it to
> > portal_catalog.
>
> Well. I'd like to help, but only what I can provide is test, which is
> doing exactly whats described in HowToMinimalProductionScenario[1].
>
> It is passing on our archaic 10526 revision.
Thanks,
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.
Jérome
More information about the Erp5-dev
mailing list