Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3850 Lượt xem

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

Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 15
4851
0
thg 6 23
1864
1
thg 4 23
1365
2
thg 12 19
15326
1
thg 6 19
4850