projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f9917c
)
[FIX] POS - Write the state to Paid before the create_picking. It's allow to stay...
author
Kersten Jeremy
<jke@openerp.com>
Wed, 7 May 2014 12:01:44 +0000
(14:01 +0200)
committer
Kersten Jeremy
<jke@openerp.com>
Wed, 7 May 2014 12:01:44 +0000
(14:01 +0200)
bzr revid: jke@openerp.com-
20140507120144
-m177kqxa3fbfl37r
addons/point_of_sale/point_of_sale.py
patch
|
blob
|
history
diff --git
a/addons/point_of_sale/point_of_sale.py
b/addons/point_of_sale/point_of_sale.py
index
3480ab4
..
0a2b96f
100644
(file)
--- a/
addons/point_of_sale/point_of_sale.py
+++ b/
addons/point_of_sale/point_of_sale.py
@@
-1167,8
+1167,8
@@
class pos_order(osv.osv):
return self.write(cr, uid, ids, {'state': 'payment'}, context=context)
def action_paid(self, cr, uid, ids, context=None):
- self.create_picking(cr, uid, ids, context=context)
self.write(cr, uid, ids, {'state': 'paid'}, context=context)
+ self.create_picking(cr, uid, ids, context=context)
return True
def action_cancel(self, cr, uid, ids, context=None):