Home
last modified time | relevance | path

Searched refs:reserved_availability (Results 1 – 10 of 10) sorted by relevance

/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/mrp/tests/
H A Dtest_procurement.py277 self.assertEqual(mo.move_raw_ids.reserved_availability, 3.0)
283 self.assertEqual(mo.move_raw_ids.reserved_availability, 5.0)
440 self.assertEqual(move_dest.reserved_availability, 10.0)
559 … self.assertEqual(mo.move_raw_ids.reserved_availability, 0, "No components should be reserved yet")
575 …self.assertEqual(mo.move_raw_ids.reserved_availability, 15, "Components should have been auto-rese…
598 …self.assertEqual(pick_output.move_ids_without_package.reserved_availability, 10, "Completed produc…
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/stock/models/
H A Dstock_move.py146 reserved_availability = fields.Float( variable in StockMove
386 reserved_availability = sum(move.move_line_ids.mapped('product_qty'))
387 move.reserved_availability = move.product_id.uom_id._compute_quantity(
388 reserved_availability, move.product_uom, rounding_method='HALF-UP')
394 move.reserved_availability = move.product_id.uom_id._compute_quantity(
431 move.reserved_availability, move.product_id.uom_id, rounding_method='HALF-UP')
564 …m: m.state not in ['draft', 'done', 'cancel'] and float_compare(m.reserved_availability, vals.get(…
1296 reserved_availability = {move: move.reserved_availability for move in self}
1301 missing_reserved_uom_quantity = move.product_uom_qty - reserved_availability[move]
1632 elif move.reserved_availability == move.product_uom_qty:
[all …]
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/stock/tests/
H A Dtest_move2.py955 self.assertEqual(move1.reserved_availability, 0.0)
1000 self.assertEqual(move1.reserved_availability, 0.0)
1037 self.assertEqual(move1.reserved_availability, 0.0)
1145 self.assertEqual(move1.reserved_availability, 1.0)
1162 self.assertEqual(move1.reserved_availability, 2.0)
1201 self.assertEqual(move1.reserved_availability, 1.0)
1219 self.assertEqual(move1.reserved_availability, 2.0)
1261 self.assertEqual(move1.reserved_availability, 1.0)
1284 self.assertEqual(move1.reserved_availability, 2.0)
1328 self.assertEqual(move1.reserved_availability, 1.0)
[all …]
H A Dtest_move.py152 self.assertEqual(move1.reserved_availability, 5)
525 self.assertEqual(move1.reserved_availability, 0)
646 self.assertEqual(move1.reserved_availability, 1.0)
657 self.assertEqual(move1.reserved_availability, 1.0)
665 self.assertEqual(move1.reserved_availability, 0.0)
1055 self.assertEqual(move1.reserved_availability, 1.0)
2521 self.assertEqual(move1.reserved_availability, 1.0)
2557 self.assertEqual(move1.reserved_availability, 1.0)
2564 self.assertEqual(move1.reserved_availability, 1.0)
2599 self.assertEqual(move1.reserved_availability, 1.0)
[all …]
H A Dtest_inventory.py255 self.assertEqual(move_pack_cust.reserved_availability, 8)
261 self.assertEqual(move_pack_cust.reserved_availability, 8)
277 self.assertEqual(move_pack_cust.reserved_availability, 8)
H A Dtest_stock_flow.py220 …t_id', '=', self.productA.id), ('picking_id', '=', picking_out.id)], limit=1).reserved_availability
223 …t_id', '=', self.productB.id), ('picking_id', '=', picking_out.id)], limit=1).reserved_availability
226 …t_id', '=', self.productC.id), ('picking_id', '=', picking_out.id)], limit=1).reserved_availability
229 …t_id', '=', self.productD.id), ('picking_id', '=', picking_out.id)], limit=1).reserved_availability
H A Dtest_packing.py316 move.quantity_done = move.reserved_availability
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/stock/report/
H A Dreport_stock_forecasted.py184 … reserved = out.product_uom._compute_quantity(out.reserved_availability, product.uom_id)
194 … reserved = out.product_uom._compute_quantity(out.reserved_availability, product.uom_id)
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/sale_stock/models/
H A Dsale_order.py313 …ne.qty_available_today += move.product_uom._compute_quantity(move.reserved_availability, line.prod…
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/mrp_subcontracting/tests/
H A Dtest_subcontracting.py43 …self.assertTrue(all(m.product_uom_qty == m.reserved_availability for m in picking_receipt.move_lin…