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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?xml version="1.0"?>
<openerp>
	<data>

		<menuitem id="menu_main_magento" name="Magento"/>

		<record model="ir.ui.view" id="product_normal_form_view">
			<field name="name">product.product.form.magento</field>
			<field name="model">product.product</field>
			<field name="inherit_id" ref="product.product_normal_form_view" />
			<field name="type">form</field>
			<field name="arch" type="xml">
				<page position="after" string="Information">
					<page position="inside" string="Magento">
						<separator string="Magento Information" colspan="4"/>
						<field name="exportable" position="inside"/>
						<field name="magento_id" position="inside" readonly="1"/>
						<field name="updated" position="inside" readonly="1"/>
						<field name="magento_tax_class_id" position="inside"/>
						<separator string="Product Image" colspan="4"/>
						<field name="image" widget="image"/>
						<field name="image_name" readonly="1"/>
						<field name="image_label"/>
					</page>
				</page>
			</field>
		</record>
		<record model="ir.ui.view" id="product_product_tree_view">
			<field name="name">product.product.tree.magento</field>
			<field name="model">product.product</field>
			<field name="inherit_id" ref="product.product_product_tree_view" />
			<field name="type">tree</field>
			<field name="arch" type="xml">
				<tree string="Products">
					<field name="exportable" position="after"/>
					<field name="magento_id" position="inside" readonly="1"/>
					<field name="updated" position="inside" readonly="1"/>
				</tree>
			</field>
		</record>
		
		<record model="ir.ui.view" id="product_category_form_view">
			<field name="name">product.category.form.magento</field>
			<field name="model">product.category</field>
			<field name="inherit_id" ref="product.product_category_form_view" />
			<field name="type">form</field>
			<field name="arch" type="xml">
				<form string="Product Categories">
					<separator string="Magento Information" colspan="4" position="after"/>
					<field name="exportable" position="inside"/>
					<field name="magento_id" position="inside" readonly="1"/>
					<field name="updated" position="inside" readonly="1"/>
					<newline/>
					<field name="magento_product_type" position="inside"/>
					<newline/>
					<field name="magento_product_attribute_set_id" position="inside"/>
				</form>
			</field>
		</record>
		<record model="ir.ui.view" id="product_category_tree_view">
			<field name="name">product.category.tree.magento</field>
			<field name="model">product.category</field>
			<field name="inherit_id" ref="product.product_category_list_view" />
			<field name="type">tree</field>
			<field name="arch" type="xml">
				<tree string="Product Categories">
					<field name="exportable" position="after"/>
					<field name="magento_id" position="inside" readonly="1"/>
					<field name="updated" position="inside" readonly="1"/>
				</tree>
			</field>
		</record>
		
	</data>
</openerp>