Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
4015 Visualizzazioni

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
Abbandona

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

Post correlati Risposte Visualizzazioni Attività
2
mar 15
4921
0
giu 23
2006
1
apr 23
1460
2
dic 19
15459
1
giu 19
4960