Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3825 Представления

i have a code of periode

'periode' : fields.many2one('account.period','Periode'),

and default

def default_abcd(self, cr, uid, context={}):

return '12'

_defaults = {

        'abcd' : default_abcd,

          }

and 1 function fields to accomodate (abcd + another fields.float)

and how if i want to abcd return back into '12' when periode change from 2013 to 2014

Аватар
Отменить

Hi Dion Martin, to create a new period you enter Accounting --> configuration --> periode --> fiscal years

Related Posts Ответы Просмотры Активность
2
мар. 15
4845
0
июн. 23
1856
1
апр. 23
1359
2
дек. 19
15302
1
июн. 19
4831