mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
30 lines
1.1 KiB
XML
30 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<odoo>
|
|
<data noupdate="1">
|
|
<record id="stock_location_reservation" model="stock.location">
|
|
<field name="name">Reservation Stock</field>
|
|
<field name="location_id" ref="stock.stock_location_locations" />
|
|
</record>
|
|
<!-- Release the stock.reservation when the validity date has
|
|
passed -->
|
|
<record
|
|
forcecreate="True"
|
|
id="ir_cron_release_stock_reservation"
|
|
model="ir.cron"
|
|
>
|
|
<field
|
|
name="name"
|
|
>Release the stock reservation having a passed validity date</field>
|
|
<field eval="True" name="active" />
|
|
<field name="user_id" ref="base.user_root" />
|
|
<field name="interval_number">1</field>
|
|
<field name="interval_type">days</field>
|
|
<field name="numbercall">-1</field>
|
|
<field eval="False" name="doall" />
|
|
<field name="model">stock.reservation</field>
|
|
<field name="function">release_validity_exceeded</field>
|
|
<field name="args">()</field>
|
|
</record>
|
|
</data>
|
|
</odoo>
|