1
<?xml version="1.0" encoding="utf-8"?>
4
<record id="view_change_standard_price" model="ir.ui.view">
5
<field name="name">Change Standard Price</field>
6
<field name="model">lot.change.standard.price</field>
7
<field name="arch" type="xml">
8
<form string="Change Standard Price" version="7.0">
9
<separator string="Change Price"/>
11
<field name="new_price" string="Cost Price"/>
14
<button name="change_price" string="_Apply" type="object" class="oe_highlight"/>
16
<button string="Cancel" class="oe_link" special="cancel" />
22
<record id="action_view_change_standard_price" model="ir.actions.act_window">
23
<field name="name">Change Standard Price</field>
24
<field name="type">ir.actions.act_window</field>
25
<field name="res_model">lot.change.standard.price</field>
26
<field name="view_type">form</field>
27
<field name="view_mode">form</field>
28
<field name="view_id" ref="view_change_standard_price"/>
29
<field name="target">new</field>