跳至內容
選單
此問題已被標幟
3830 瀏覽次數

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
4845
0
6月 23
1858
1
4月 23
1360
2
12月 19
15306
1
6月 19
4832