コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3816 ビュー

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

関連投稿 返信 ビュー 活動
2
3月 15
4844
0
6月 23
1856
1
4月 23
1359
2
12月 19
15302
1
6月 19
4830