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" version="7.0">
11 <button name="change_price" string="_Apply" type="object" icon="gtk-apply" class="oe_highlight"/>
13 <separator string="Change Price"/>
15 <field name="new_price" string="Cost Price"/>
21 <record id="action_view_change_standard_price" model="ir.actions.act_window">
22 <field name="name">Change Standard Price</field>
23 <field name="type">ir.actions.act_window</field>
24 <field name="res_model">stock.change.standard.price</field>
25 <field name="view_type">form</field>
26 <field name="view_mode">form</field>
27 <field name="view_id" ref="view_change_standard_price"/>
28 <field name="target">new</field>