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

How can I manipulate data insertion in modules written in javascript? I don't understand hr_timesheet_sheet module. How is there solved insertion into table account_analytic_line? Please help me.

الصورة الرمزية
إهمال
أفضل إجابة

What do you want to do exactly ?

You can manipulate insertions of fields with "onchange" methods.

 

Consultant Odoo

الصورة الرمزية
إهمال
الكاتب

I don't know how insertion of rows into account_analytic_line, for every date where number of hours are not zero, are solved. In fact, I want to replace fields account_id and user_id. I need for one account to insert employees with numbers of working hours for every day in (date_from .. date_to). Can u help me? And is there any explanation of QWeb stataments like loops?

المنشورات ذات الصلة الردود أدوات العرض النشاط
3
أغسطس 17
9170
0
يناير 25
1087
0
فبراير 24
1349
0
أغسطس 23
2484
1
فبراير 23
2813