Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
4169 Weergaven

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
Annuleer

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

Gerelateerde posts Antwoorden Weergaven Activiteit
2
mrt. 15
5019
0
jun. 23
2096
1
apr. 23
1527
2
dec. 19
15563
1
jun. 19
5075