İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
4473 Görünümler

How does it come from POS UI to 'pos.order'.

Avatar
Vazgeç
En İyi Yanıt

all the data from POS UI to the backend(python) via create_from_ui
https://github.com/odoo/odoo/blob/11.0/addons/point_of_sale/models/pos_order.py#L715
and from _process_order it will create pos order
https://github.com/odoo/odoo/blob/11.0/addons/point_of_sale/models/pos_order.py#L116

Avatar
Vazgeç
Üretici

Basically I created a button called "Force Date" in front end to collect a date and to replace the current date(date_order) on order with this entered date in the back end. So far I've fetched the entered date to a variable in js file. What can I do next? Should I use export_as_JSON?

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Ara 22
4551
2
Oca 20
11361
0
Kas 19
86
0
Ağu 17
4952
0
Mar 16
4568