Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3822 Zobrazení

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
Zrušit

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

Related Posts Odpovědi Zobrazení Aktivita
2
bře 15
4844
0
čvn 23
1856
1
dub 23
1359
2
pro 19
15302
1
čvn 19
4831