-
-
Notifications
You must be signed in to change notification settings - Fork 603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[14.0] [mig] pos_order_line_note #652
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moreover odoo already has this note
field in pos_restaurant.. so is this module even required?
By default, once ``pos_restaurant`` is installed, a warning is done, | ||
when a pos order is created via the ``create_from_ui`` function. | ||
|
||
With this module, the ``note`` field is stored in database. | ||
|
||
It will avoid incorrect warning in the odoo logs: | ||
|
||
.. code:: shell | ||
|
||
2020-12-22 20:33:40,567 31378 WARNING point_of_sale odoo.models: pos.order.line.create() with unknown fields: note | ||
2020-12-22 20:33:40,578 31378 WARNING point_of_sale odoo.models: pos.order.line.create() with unknown fields: note | ||
2020-12-22 20:33:40,585 31378 WARNING point_of_sale odoo.models: pos.order.line.create() with unknown fields: note |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By default, once ``pos_restaurant`` is installed, a warning is done, | |
when a pos order is created via the ``create_from_ui`` function. | |
With this module, the ``note`` field is stored in database. | |
It will avoid incorrect warning in the odoo logs: | |
.. code:: shell | |
2020-12-22 20:33:40,567 31378 WARNING point_of_sale odoo.models: pos.order.line.create() with unknown fields: note | |
2020-12-22 20:33:40,578 31378 WARNING point_of_sale odoo.models: pos.order.line.create() with unknown fields: note | |
2020-12-22 20:33:40,585 31378 WARNING point_of_sale odoo.models: pos.order.line.create() with unknown fields: note | |
With this module, the ``note`` field is stored in database. |
Since 13.0
(afaik) odoo strips the unknown fields sent by the pos, so you can remove these lines
Yes we already have the note field in restaurant module |
No description provided.