odoo/upgrade#7072

Created by POS IoT, David Monnom (moda)
Merged at c39b745ef77b7a9cf9efde9be3dac66bd2b418dd

Statuses:

label
odoo-dev:master-saas-17.4-aggressive_sync_poc-moda-cwcY-fw
head
4510be1bc221c3c3f1d6ec26bd8aa20bc5b308af
merged
9 months ago by Upgrade, Alvaro Fuentes Suarez (afu)
odoo/odoo odoo/enterprise odoo/upgrade
saas-17.4 #191904 #76253
18.0 #192357 #76465
saas-18.1 #192584 #76579
saas-18.2
saas-18.3
saas-18.4
19.0
master #193040 #76810 #7072

[IMP] pos_restaurant/saas~18.2: remove origin_order_id

Improve the merge and unmerge mechanism of pos_order to avoid data loss and to keep the consistency of the data.

Community: odoo/odoo#193040
Enterprise: odoo/enterprise#76810

> Warning Please follow and check the relevant boxes for your PR, otherwise the review may take longer.

For a PR that adds a new upgrade script (for the Odoo's master branch or one of the RR versions):
- [x] I've added the references to the Enterprise and/or Community PRs in the commit message, even if they are already merged.
- [x] I've added an overall description of the changes made in the Community/Enterprise branches.

For all PRs:
- [x] My commit's title follows the right format.
- [x] My commit's body includes information about the changes.
- [x] I've added odoo/upgrade as a reviewer.
- [x] I've read and understood this list.
- [x] I will ensure all the CI checks are green.

> Note More info can be found in the wiki.