Ir al contenido
Menú
Se marcó esta pregunta
3814 Vistas

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

Publicaciones relacionadas Respuestas Vistas Actividad
2
mar 15
4839
0
jun 23
1852
1
abr 23
1359
2
dic 19
15300
1
jun 19
4828