Skip to Content
Menú
This question has been flagged
3827 Vistes

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

Avatar
Descartar

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

Related Posts Respostes Vistes Activitat
2
de març 15
4845
0
de juny 23
1856
1
d’abr. 23
1359
2
de des. 19
15304
1
de juny 19
4831