hi,
I've got a table, agreement_account_periodical_invoice, which contains records.
when i search this table, using search() like this:
agreement_model = self.pool.get('account.periodical_invoice.agreement')
agreement_ids = agreement_model.search(cr,uid,[])
agreement_ids should contain ALL ids from that table, right?
My problem is that it returns an EMPTY list?!
And when i use browse i do get a record???
agreement = agreement_model.browse(cr,uid,[1])
The documentation tells that specifying an empty list in search() returns all records?? Or is my english that bad i don't understand the sentence 'all records'?
if i check the table with an sql-client, the record (1) is really there. Why isn't search() showing that existing id??