main #7
@@ -2031,7 +2031,7 @@ class Invoice(Workflow, ModelSQL, ModelView, TaxableMixin, InvoiceReportMixin):
|
|||||||
var_qt = sum([i.quantity for i in gl])
|
var_qt = sum([i.quantity for i in gl])
|
||||||
logger.info("LOT_TO_PROCESS:%s",lot)
|
logger.info("LOT_TO_PROCESS:%s",lot)
|
||||||
logger.info("FEE_TO_PROCESS:%s",gl[0].fee)
|
logger.info("FEE_TO_PROCESS:%s",gl[0].fee)
|
||||||
if lot:
|
if (lot and not gl[0].fee) or (gl[0].fee and gl[0].product.landed_cost):
|
||||||
adjust_move_lines = []
|
adjust_move_lines = []
|
||||||
mov = None
|
mov = None
|
||||||
if self.type == 'in':
|
if self.type == 'in':
|
||||||
|
|||||||
Reference in New Issue
Block a user