[Erp5-dev] problem with matrixbox in paysheet transaction
Bartek Gorny
bartek at redpoint.mn.pl
Mon Jun 19 18:29:53 CEST 2006
Hello
There is something wrong with matrixbox in PaySheetLine_viewQuantity -
it seems that TALES in editable controls is ignored.
There is an editable control "matrixbox_quantity", which has a default
value set in TALES as "python:cell.getProperty('quantity')". When
viewed, the control comes up empty. Now, if I set its default value
statically (in 'Edit' tab), the value is duly shown in every cell. But
if I set it in TALES, even as something as simple as "python:123", it
comes up blank. But it is blank only in cells - if I unhide the
control, so that it shows above the matrixbox, it displays '123'...
A similar matrixbox in SaleSupplyLine_viewBasePrice works ok. I spent
a few hours trying to figure out what's the difference between the
two, and I can't find anything. And there's no messages in the log.
What's wrong, then???
Bartek
--
"Software is largely a service industry operating under the persistent
but unfounded delusion that it is a manufacturing industry."
Eric S.Raymond, "The Magic Cauldron"
More information about the Erp5-dev
mailing list