Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
4426 Ansichten

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

Avatar
Verwerfen
Beste Antwort

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
Verwerfen
Autor

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?

Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Dez. 22
4515
2
Jan. 20
11340
0
Nov. 19
86
0
Aug. 17
4922
0
März 16
4555