[tryton] default cost and list price

2018-04-21 Thread Francisco Maria Moyano Casco
Hi, I am trying to put a default cost and list price, but had no success. The code am working on is the next one: @staticmethod def default_list_price(): return 1.0 .. I know that both fields are Property fields, and that is why my code doesn't

Re: [tryton-dev] import_data and model account with account_account_type (RESEND)

2018-04-21 Thread Richard PALO
Le 20/04/2018 à 20:22, Richard PALO a écrit : Le 20/04/2018 à 20:15, Richard PALO a écrit : Thanks, I'm finding the correct account.account.type instance now with the following simplified snippet: md, = ModelData.find(['fs_id', '=', data[-1]]) at, =

Re: [tryton-dev] import_data and model account with account_account_type (RESEND)

2018-04-21 Thread Cédric Krier
On 2018-04-21 09:09, Richard PALO wrote: > but get_rec_name() returns the hierarchy of names when there is a parent type, > case not treated for but which is *always* the case for account_account_type. Indeed, it will be good to customize the search_rec_name like in party.category. > If I set on

Re: [tryton-dev] import_data and model account with account_account_type (RESEND)

2018-04-21 Thread Richard PALO
Le 21/04/2018 à 10:23, Cédric Krier a écrit : On 2018-04-21 09:09, Richard PALO wrote: but get_rec_name() returns the hierarchy of names when there is a parent type, case not treated for but which is *always* the case for account_account_type. Indeed, it will be good to customize the

[tryton-dev] Un-assigned Tryton issue tracker requests

2018-04-21 Thread Tryton issue tracker
Created ID Activity Title === bug 3 days ago 7365 yesterday admin account login error bug 1 month ago 7232 2 weeks ago segv in client bug 12 months ago 6470