تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3831 أدوات العرض

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

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
مارس 15
4846
0
يونيو 23
1860
1
أبريل 23
1360
2
ديسمبر 19
15310
1
يونيو 19
4835