Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3738 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

What do you want to do exactly ?

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

 

Consultant Odoo

Awatar
Odrzuć
Autor

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?

Powiązane posty Odpowiedzi Widoki Czynność
3
sie 17
9171
0
sty 25
1093
0
lut 24
1351
0
sie 23
2490
1
lut 23
2813