Hi,

i noticed that it is not possible to use period_obj.find()[1] to get a
period of type 'adjustment'. But i think that this could be a missing
feature.

I think the method should be able to handle these cases:
1. Find periods of type 'standard' (current implementation)
2. Find periods of type 'adjustment'
3. Find periods of type 'standard' and 'adjustment'

In the 3rd case the method should return a period of type 'standard' if
there is one found. If not it should return a period of type
'adjustment' if there is one found.

What do you think about?

[1] http://hg.tryton.org/modules/account/file/e73426d51849/period.py#l158

-- 
___________________________________
virtual things
Preisler & Spallek GbR
München - Aachen

Windeckstr. 77
81375 München
Tel: +49 (89) 710 481 55
Fax: +49 (89) 710 481 56

i...@virtual-things.biz
http://www.virtual-things.biz

Reply via email to