Browse files

[FIX] sale: use correct decorator on prepare method

In `_prepare_procurement_group`, is accessed.
The method should then use api.multi instead of api.model
Can not backbport as may be problematic if override in old API

Closes #15510
  • Loading branch information...
1 parent 32041a7 commit 346e6d259148b5c6820c15717ac96d413aff994e @yvaucher yvaucher committed with mart-e Feb 17, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/sale/models/
@@ -440,7 +440,7 @@ def force_quotation_send(self):
def action_done(self):
self.write({'state': 'done'})
- @api.model
+ @api.multi
def _prepare_procurement_group(self):
return {'name':}

0 comments on commit 346e6d2

Please sign in to comment.