TypeError: object of type 'BrowseRecordIterator' has no len()
Bug #1379411 reported by
Quentin THEURET @Amaris
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OERPLib |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
We cannot check the length of a 'BrowseRecordIt
To reproduce:
len(self.
To post a comment you must log in.
Hi Quentin! Ça va ? :)
Indeed, I will fix that. As a workaround, you can do this:
>>> len(self. get('purchase. order') .browse( 1).order_ lines.ids)
Otherwise, we are migrating OERPLib on GitHub (thanks to Nhomar): https:/ /github. com/osiell/ oerplib
I will update this Launchpad project later after the next release.