[dabo-users] Can't make sense of the api comment

2013-11-28 Thread Ricardo Aráoz
In the Bizobj API docs I find: lookupPKWithAdd(self, field, val) Runs a lookup in the specified field for the desired value. If found, returns the PK for that record. If not found, a new record is created with the 'field' column populated with 'val', and the new record's PK is returned. None of

[dabo-users] Bug in Bizobj.lookupPKWithAdd()

2013-11-28 Thread Ricardo Aráoz
lookupPKWithAdd adds a record to the Bizobj, but in this case it raises IvaFc.FacturaId may not be NULL. As you can see below this Bizobj is a child Bizobj with FillLinkFromParent set to True, so FacturaId should have been automatically added (as it effectively is when new() is issued). For