mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
@@ -64,6 +64,7 @@ Contributors
|
||||
* Pedro M. Baeza
|
||||
* David Vidal
|
||||
* Sergio Teruel
|
||||
* Carlos Roca
|
||||
|
||||
* Xavier Jimenez <xavier.jimenez@qubiq.es>
|
||||
* Iván Todorovich <ivan.todorovich@gmail.com>
|
||||
|
||||
@@ -75,3 +75,9 @@ class StockInventory(models.Model):
|
||||
domain = safe_eval(self.product_domain)
|
||||
products = Product.search(domain)
|
||||
return products
|
||||
|
||||
def _get_inventory_lines_values(self):
|
||||
vals = super()._get_inventory_lines_values()
|
||||
if self.filter == "lots":
|
||||
vals = list(filter(lambda x: x["prod_lot_id"] in self.lot_ids.ids, vals))
|
||||
return vals
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
* Pedro M. Baeza
|
||||
* David Vidal
|
||||
* Sergio Teruel
|
||||
* Carlos Roca
|
||||
|
||||
* Xavier Jimenez <xavier.jimenez@qubiq.es>
|
||||
* Iván Todorovich <ivan.todorovich@gmail.com>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
|
||||
<meta name="generator" content="Docutils: http://docutils.sourceforge.net/" />
|
||||
<title>Extended Inventory Preparation Filters</title>
|
||||
<style type="text/css">
|
||||
|
||||
@@ -411,6 +411,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
|
||||
<li>Pedro M. Baeza</li>
|
||||
<li>David Vidal</li>
|
||||
<li>Sergio Teruel</li>
|
||||
<li>Carlos Roca</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Xavier Jimenez <<a class="reference external" href="mailto:xavier.jimenez@qubiq.es">xavier.jimenez@qubiq.es</a>></li>
|
||||
|
||||
Reference in New Issue
Block a user