~openerp-commiter/openobject-addons/extra-6.0

« back to all changes in this revision

Viewing changes to magento_connect/wizard/wizard_product_price.xml

  • Committer: Raimon Esteve
  • Date: 2012-04-11 15:38:03 UTC
  • Revision ID: resteve@zikzakmedia.com-20120411153803-3u1ls7h4h4gpaszu
[ADD] Mangento Connect. Mangento Products and orders sync in your OpenERP

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<openerp>
 
3
    <data>
 
4
        <record id="magento_sync_price_wizard" model="ir.ui.view">
 
5
            <field name="name">magento.sync.price.wizard.form</field>
 
6
            <field name="model">magento.sync.price.wizard</field>
 
7
            <field name="type">form</field>
 
8
            <field name="arch" type="xml">
 
9
            <form string="Export Product">
 
10
                <group col="4" colspan="4" attrs="{'invisible':[('state','=','done')]}">
 
11
                    <label string="Are you sure to export this product?" colspan="4"/>
 
12
                    <field name="magento_sale_shop"/>
 
13
                </group>
 
14
                <group col="4" colspan="4" attrs="{'invisible':[('state','=','first')]}">
 
15
                    <label string="Exportation is running.... This action is in background. See logs server process" colspan="4"/>
 
16
                    <separator string="Products to sync..." colspan="4"/>
 
17
                    <field name="result" nolabel="1"/>
 
18
                </group>
 
19
                <group col="2" colspan="4">
 
20
                    <field name="state" invisible="1" />
 
21
                    <button string="Cancel" special="cancel" icon="gtk-cancel" states="first" />
 
22
                    <button string="Export" name="sync_price" type="object" icon="gtk-ok" states="first" />
 
23
                    <button string="Close" special="cancel" icon="gtk-ok" states="done" />
 
24
                </group>
 
25
            </form>
 
26
            </field>
 
27
        </record>
 
28
 
 
29
        <act_window name="Export Price Magento"
 
30
            res_model="magento.sync.price.wizard"
 
31
            src_model="product.product"
 
32
            view_mode="form"
 
33
            target="new"
 
34
            key2="client_action_multi"
 
35
            id="act_magento_sync_price"
 
36
            groups="base.group_extended"/>
 
37
    </data>
 
38
</openerp>