Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3920 มุมมอง

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

อวตาร
ละทิ้ง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
มี.ค. 15
4871
0
มิ.ย. 23
1920
1
เม.ย. 23
1398
2
ธ.ค. 19
15402
1
มิ.ย. 19
4902