跳至内容
菜单
此问题已终结
3829 查看

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