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">stock.change.standard.price</field>
7 <field name="type">form</field>
8 <field name="arch" type="xml">
9 <form string="Change Standard Price">
10 <separator string="Change Price" colspan="4"/>
12 <field name="new_price" string="Cost Price"/>
13 <separator string="" colspan="4" />
14 <label string="" colspan="2"/>
15 <group col="2" colspan="2">
16 <button special="cancel" string="_Cancel" icon="gtk-cancel"/>
17 <button name="change_price" string="_Apply" type="object" icon="gtk-apply"/>
23 <record id="action_view_change_standard_price" model="ir.actions.act_window">
24 <field name="name">Change Standard Price</field>
25 <field name="type">ir.actions.act_window</field>
26 <field name="res_model">stock.change.standard.price</field>
27 <field name="view_type">form</field>
28 <field name="view_mode">form</field>
29 <field name="view_id" ref="view_change_standard_price"/>
30 <field name="target">new</field>