complete french translate and fix test on qty_to_order of purchase suggest line in create_po method

This commit is contained in:
chafique-delli
2016-07-04 17:47:28 +02:00
parent ee91b30fc6
commit de8063d327
2 changed files with 103 additions and 10 deletions

View File

@@ -366,7 +366,7 @@ class PurchaseSuggestPoCreate(models.TransientModel):
for line in self.env['purchase.suggest'].browse(psuggest_ids):
if not location:
location = line.location_id
if not line.qty_to_order:
if line.qty_to_order == 0.0:
continue
if not line.product_id.seller_id:
raise Warning(_(