Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
3702 Näkymät

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.

Avatar
Hylkää
Paras vastaus

What do you want to do exactly ?

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

 

Consultant Odoo

Avatar
Hylkää
Tekijä

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?

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
elok. 17
9158
0
tammik. 25
1075
0
helmik. 24
1333
0
elok. 23
2458
1
helmik. 23
2799