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

Hi,


I am trying to update a module to work on Odoo 12, and I want to update some calendar record.

If I get my JS Code, I have this:

```

toggle_replacement: function(event){
    event.record.replaceable = !event.record.replaceable;
    this.trigger_up('updateRecord', event);
 },

```


But the value does not go to the write function on the python side.


Full JS can be found here:

https://github.com/Dazul/odoo_at_svp/blob/master/staff_management/static/src/js/personal_schedule.js

And the python that goes with it:

https://github.com/Dazul/odoo_at_svp/blob/master/staff_management/models/staff_scheduler.py


Regards,

Luis

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
mar 15
7346
4
lip 24
10645
1
lip 20
3248
1
lip 19
4218
0
lip 25
297