Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4448 Представления

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

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Автор

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?

Related Posts Ответы Просмотры Активность
0
дек. 22
4528
2
янв. 20
11353
0
нояб. 19
86
0
авг. 17
4928
0
мар. 16
4563