Skip to Content
Menu
This question has been flagged
3864 Rodiniai

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

Portretas
Atmesti

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

Related Posts Replies Rodiniai Veikla
2
kov. 15
4858
0
birž. 23
1880
1
bal. 23
1372
2
gruod. 19
15360
1
birž. 19
4867