1
<?xml version="1.0" encoding="utf-8"?>
5
<record id="view_sale_stock_reserve_form" model="ir.ui.view">
6
<field name="name">sale.stock.reserve.form</field>
7
<field name="model">sale.stock.reserve</field>
8
<field name="arch" type="xml">
9
<form string="Reserve Stock" version="7.0">
11
A stock reservation will be created for the products
12
of the selected quotation lines. If a validity date is specified,
13
the reservation will be released once the date has passed.
16
<field name="date_validity"/>
19
<button string="Reserve"
22
class="oe_highlight" />
24
<button special="cancel" class="oe_link" string="Cancel"/>
30
<record id="action_sale_stock_reserve" model="ir.actions.act_window">
31
<field name="name">Reserve Stock for Quotation Lines</field>
32
<field name="type">ir.actions.act_window</field>
33
<field name="res_model">sale.stock.reserve</field>
34
<field name="view_type">form</field>
35
<field name="view_mode">form</field>
36
<field name="target">new</field>