diff --git a/issue7826.diff b/issue7826.diff new file mode 100644 index 0000000..0775218 --- /dev/null +++ b/issue7826.diff @@ -0,0 +1,13 @@ +diff -r 4c5abccfccf2 trytond/trytond/modules/stock_package/stock.py +--- a/trytond/trytond/modules/stock_package/stock.py Mon Apr 23 17:36:31 2018 +0200 ++++ b/trytond/trytond/modules/stock_package/stock.py Tue Oct 30 12:45:02 2018 +0100 +@@ -212,7 +212,8 @@ + + @property + def packages_moves(self): +- return (m for m in self.outgoing_moves if m.state != 'cancel') ++ return (m for m in self.outgoing_moves ++ if m.state != 'cancel' and m.quantity != 0.0) + + + class ShipmentInReturn(PackageMixin, object): diff --git a/series b/series index 5d25c33..0bd4407 100644 --- a/series +++ b/series @@ -10,11 +10,13 @@ issue4506.diff # [account_invoice] Add credit invoices keyword from account.invo issue4030.diff # [analytic_account] Not selected root accounts in analytic account lines +purchase_request.diff # [purchase_request] as shippment_date it's not required we need to ensure operation could be done + issue4482.diff # [stock] stock inventory misses company access rule search_warehouse.diff #[stock] search function for warehouse. - -issue240_631.diff # [stock_lot] stock_by_locations get all locations with that lot. -issue10467.diff # stock_lot: add lot to grouping if lot it's required on product -purchase_request.diff # purchase_request: as shippment_date it's not required we need to ensure operation could be done improve_performance_on_try_assign.diff # [stock] change browse of product to get default_uom to pysql +issue240_631.diff # [stock_lot] stock_by_locations get all locations with that lot. +issue10467.diff # [stock_lot] add lot to grouping if lot it's required on product + +issue7826.diff # [stock_package] Total packages moves are all stock moves done and quantity > 0