[MERGE]: Merge with lp:~openerp-commiter/openobject-addons/trunk-addons-aag
bzr revid: rpa@tinyerp.com-20101122135153-0hu11k06zk4xm5a3
This commit is contained in:
@@ -1551,7 +1551,7 @@ msgstr "Verkäufe je Verkäufer"
|
||||
#. module: sale
|
||||
#: view:sale.order:0
|
||||
|
||||
msgid "Logistic"
|
||||
msgid "Logistics"
|
||||
msgstr "Logistik"
|
||||
|
||||
#. module: sale
|
||||
|
||||
@@ -70,7 +70,7 @@ class stock_picking(osv.osv):
|
||||
def _get_price_unit_invoice(self, cursor, user, move_line, type):
|
||||
if move_line.sale_line_id and move_line.sale_line_id.product_id.id == move_line.product_id.id:
|
||||
from_uom_id = move_line.product_id.uom_id.id
|
||||
to_uom_id = move_line.product_id.uos_id.id
|
||||
to_uom_id = move_line.product_id.uos_id and move_line.product_id.uos_id.id or False
|
||||
price = move_line.sale_line_id.price_unit
|
||||
coeff = move_line.product_id.uos_coeff
|
||||
if from_uom_id != to_uom_id and coeff != 0:
|
||||
|
||||
Reference in New Issue
Block a user