Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
3861 Visninger

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
Kassér

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

Related Posts Besvarelser Visninger Aktivitet
2
mar. 15
4855
0
jun. 23
1879
1
apr. 23
1370
2
dec. 19
15355
1
jun. 19
4862