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:
a92ef53
)
[IMP] stock: Improve the error message of createinvoice
author
sbh (Open ERP)
<sbh@tinyerp.com>
Wed, 1 Sep 2010 06:16:04 +0000
(11:46 +0530)
committer
sbh (Open ERP)
<sbh@tinyerp.com>
Wed, 1 Sep 2010 06:16:04 +0000
(11:46 +0530)
bzr revid: sbh@tinyerp.com-
20100901061604
-zpz0lj11wr2uok78
addons/stock/wizard/stock_invoice_onshipping.py
patch
|
blob
|
history
diff --git
a/addons/stock/wizard/stock_invoice_onshipping.py
b/addons/stock/wizard/stock_invoice_onshipping.py
index
b869278
..
f931e57
100644
(file)
--- a/
addons/stock/wizard/stock_invoice_onshipping.py
+++ b/
addons/stock/wizard/stock_invoice_onshipping.py
@@
-53,7
+53,7
@@
class stock_invoice_onshipping(osv.osv_memory):
if pick.invoice_state == 'invoiced':
raise osv.except_osv(_('UserError'), _('Invoice is already created.'))
if pick.invoice_state == 'none':
- raise osv.except_osv(_('UserError'), _('Invoice cannot be created from Picking.'))
+ raise osv.except_osv(_('UserError'), _('This picking does not require any invoicing.'))
if pick.move_lines:
usage = pick.move_lines[0].location_id.usage