~ubuntu-branches/ubuntu/quantal/openerp6.1/quantal

« back to all changes in this revision

Viewing changes to openerp/addons/sale_crm/wizard/crm_make_sale_view.xml

  • Committer: Package Import Robot
  • Author(s): Yolanda Robla
  • Date: 2012-09-20 15:29:00 UTC
  • Revision ID: package-import@ubuntu.com-20120920152900-woyy3yww8z6acmsk
Tags: upstream-6.1-1+dfsg
ImportĀ upstreamĀ versionĀ 6.1-1+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<openerp>
 
2
   <data>
 
3
 
 
4
        <!-- crm make sale's view -->
 
5
 
 
6
       <record id="view_crm_make_sale" model="ir.ui.view">
 
7
          <field name="name">crm.make.sale.form</field>
 
8
          <field name="model">crm.make.sale</field>
 
9
          <field name="type">form</field>
 
10
          <field name="arch" type="xml">
 
11
            <form string="Convert to Quotation" >
 
12
                <group colspan="4">
 
13
                    <field name="partner_id" required="1"/>
 
14
                    <field name="shop_id" required="1" widget="selection"/>
 
15
                    <field name="close"/>
 
16
                </group>
 
17
                <newline/>
 
18
                <separator colspan="4"/>
 
19
                <group col="4" colspan="4">
 
20
                    <label string="" colspan="2"/>
 
21
                    <button special="cancel" string="Cancel" icon="gtk-cancel"/>
 
22
                    <button name="makeOrder" string="_Create" type="object" icon='gtk-go-forward'/>
 
23
                </group>
 
24
            </form>
 
25
          </field>
 
26
       </record>
 
27
 
 
28
       <!-- crm make sale's  action -->
 
29
 
 
30
       <record id="action_crm_make_sale" model="ir.actions.act_window">
 
31
          <field name="name">Make Quotation</field>
 
32
          <field name="type">ir.actions.act_window</field>
 
33
          <field name="res_model">crm.make.sale</field>
 
34
          <field name="view_type">form</field>
 
35
          <field name="view_mode">form</field>
 
36
          <field name="target">new</field>
 
37
       </record>
 
38
 
 
39
   </data>
 
40
</openerp>