Skip to content
Snippets Groups Projects
Commit f88a05d1 authored by Nicolas Martinelli's avatar Nicolas Martinelli Committed by Nicolas Martinelli
Browse files

[FIX] website_sale: do not copy last SO

- Create u1 as a portal user
- Connect as u1, add products to the cart
- Duplicate u1 (e.g. u2)
- Connect as u2

u2 retrieves the cart of u1.

opw-1847328
parent 5603b778
No related branches found
No related tags found
No related merge requests found
......@@ -7,4 +7,4 @@ from odoo import models, fields
class ResPartner(models.Model):
_inherit = 'res.partner'
last_website_so_id = fields.Many2one('sale.order', string='Last Online Sales Order')
last_website_so_id = fields.Many2one('sale.order', string='Last Online Sales Order', copy=False)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment