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

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

What do you want to do exactly ?

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

 

Consultant Odoo

Ảnh đại diện
Huỷ bỏ
Tác giả

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?

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 8 17
9158
0
thg 1 25
1075
0
thg 2 24
1334
0
thg 8 23
2459
1
thg 2 23
2800