Add issue7826.diff

This commit is contained in:
Raimon Esteve 2018-10-30 12:49:07 +01:00
parent 361dc61091
commit ddfa4e1ee8
2 changed files with 19 additions and 4 deletions

13
issue7826.diff Normal file
View File

@ -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):

10
series
View File

@ -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