{"action":"closed","issue":{"url":"https://api.github.com/repos/OCA/OCB/issues/724","repository_url":"https://api.github.com/repos/OCA/OCB","labels_url":"https://api.github.com/repos/OCA/OCB/issues/724/labels{/name}","comments_url":"https://api.github.com/repos/OCA/OCB/issues/724/comments","events_url":"https://api.github.com/repos/OCA/OCB/issues/724/events","html_url":"https://github.com/OCA/OCB/issues/724","id":312061441,"number":724,"title":"[10.0] Partner's roule raises res.users read error","user":{"login":"protontrigg3r","id":38140509,"avatar_url":"https://avatars1.githubusercontent.com/u/38140509?v=4","gravatar_id":"","url":"https://api.github.com/users/protontrigg3r","html_url":"https://github.com/protontrigg3r","followers_url":"https://api.github.com/users/protontrigg3r/followers","following_url":"https://api.github.com/users/protontrigg3r/following{/other_user}","gists_url":"https://api.github.com/users/protontrigg3r/gists{/gist_id}","starred_url":"https://api.github.com/users/protontrigg3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/protontrigg3r/subscriptions","organizations_url":"https://api.github.com/users/protontrigg3r/orgs","repos_url":"https://api.github.com/users/protontrigg3r/repos","events_url":"https://api.github.com/users/protontrigg3r/events{/privacy}","received_events_url":"https://api.github.com/users/protontrigg3r/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-06T17:47:46Z","updated_at":"2018-04-06T17:51:53Z","closed_at":"2018-04-06T17:51:53Z","author_association":"NONE","body":"Impacted versions: **10.0**\r\n\r\nSteps to reproduce:\r\n\r\nCreate a new user's group with this roule:\r\n\r\n**Object**: _Partner_\r\n**Rule Definition**: _['|',('user_id','=',user.id),('user_id','=',False)]_\r\n\r\nCurrent behavior:\r\n\r\nWhen a user of this group try to create a sale order, Odoo raise this error:\r\n\r\n**(Document type: sale.order, Operation: read)** \r\n\r\nOdoo logs:\r\n\r\n```\r\nodoo.api: call sale.order().create({u'origin': False, u'message_follower_ids': False, u'weight': 0, u'order_line': [], u'picking_policy': u'direct', u'ddt_carrier_id': False, u'create_ddt': False, u'team_id': 1, u'client_order_ref': False, u'date_order': u'2018-03-28 20:03:44', u'partner_id': 25, u'message_ids': False, u'user_id': 11, u'company_id': 1, u'note': False, u'pricelist_id': 1, u'project_id': False, u'incoterm': False, u'transportation_method_id': False, u'ddt_invoicing_group': u'billing_partner', u'validity_date': False, u'warehouse_id': 1, u'volume': 0, u'payment_term_id': False, u'partner_invoice_id': 25, u'fiscal_position_id': False, u'transportation_reason_id': False, u'partner_shipping_id': 25, u'carriage_condition_id': False, u'parcels': 0, u'goods_description_id': False})\r\n\r\nwerkzeug: xxx.xxx.xxx.xxx - - [xx/xx/2018 20:03:54] \"POST /web/dataset/call_kw/sale.order/create HTTP/1.1\" 200 -\r\n```"}}
{"actor":{"display_login":"pedrobaeza"}}