Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3871 Ansichten

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
Verwerfen

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

Verknüpfte Beiträge Antworten Ansichten Aktivität
2
März 15
4861
0
Juni 23
1894
1
Apr. 23
1375
2
Dez. 19
15370
1
Juni 19
4891