Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3838 Visualizações

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
Cancelar

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

Publicações relacionadas Respostas Visualizações Atividade
2
mar. 15
4847
0
jun. 23
1861
1
abr. 23
1362
2
dez. 19
15315
1
jun. 19
4838