Skip to Content
Menu
This question has been flagged
3832 Zobrazenia

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
Zrušiť

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

Related Posts Replies Zobrazenia Aktivita
2
mar 15
4846
0
jún 23
1860
1
apr 23
1360
2
dec 19
15311
1
jún 19
4835