2
by Sharoon Thomas
[ADD]More files that bazaar broke |
1 |
<?xml version="1.0" encoding="utf-8"?>
|
2 |
<openerp>
|
|
676.2.13
by Akretion Bot
[REF] refactor code replace TAB per 4 SPACE and remove useless space at end of line |
3 |
<data>
|
4 |
<!--Magento Product Category Tree/Form view -->
|
|
2
by Sharoon Thomas
[ADD]More files that bazaar broke |
5 |
|
676.2.13
by Akretion Bot
[REF] refactor code replace TAB per 4 SPACE and remove useless space at end of line |
6 |
<record model="ir.ui.view" id="product_category_form_view_magerp2"> |
7 |
<field name="name">product.category.form_view_magerp2</field> |
|
8 |
<field name="model">product.category</field> |
|
9 |
<field name="inherit_id" ref="product.product_category_form_view" /> |
|
10 |
<field name="type">form</field> |
|
11 |
<field name="arch" type="xml"> |
|
12 |
<xpath expr="/form/field[@name='sequence']" position="after"> |
|
13 |
<group colspan="4" col="4" attrs="{'invisible':[('magento_exportable','!=',1)],'readonly':[('level','=',0)]}"> |
|
14 |
<separator string="Magento Information" colspan="4" /> |
|
15 |
<notebook attrs="{'invisible':[('magento_exportable','!=',1)]}" colspan="4"> |
|
16 |
<page string="General Information"> |
|
17 |
<group cols="2" colspan="4"> |
|
18 |
<group col="2" colspan="1"> |
|
19 |
<separator string="Meta Information" colspan="2" /> |
|
20 |
<field name="meta_title" colspan="2" /> |
|
21 |
<field name="meta_keywords" colspan="2" /> |
|
22 |
<field name="meta_description" colspan="2" /> |
|
23 |
<field name="url_key" colspan="2" /> |
|
24 |
<field name="level" colspan="2" /> |
|
410
by Guewen Baconnier @ CampToCamp
[IMP] include_in_menu and page_layout configuration on product categories (you have to reload the mapping) |
25 |
<field name="include_in_menu" colspan="2" /> |
676.2.13
by Akretion Bot
[REF] refactor code replace TAB per 4 SPACE and remove useless space at end of line |
26 |
</group>
|
27 |
<group col="1" colspan="1"> |
|
28 |
<separator string="Category Image" /> |
|
29 |
<field name="image" nolabel="1" widget="image" /> |
|
30 |
<field name="image_name" colspan="1" nolabel="1" /> |
|
31 |
<separator string="Description" /> |
|
32 |
<field name="description" colspan="1" nolabel="1" /> |
|
33 |
<group col="4" colspan="1"> |
|
34 |
<field name="is_active" colspan="1" /> |
|
35 |
<field name="magento_parent_id" /> |
|
36 |
</group>
|
|
37 |
</group>
|
|
38 |
</group>
|
|
2
by Sharoon Thomas
[ADD]More files that bazaar broke |
39 |
|
676.2.13
by Akretion Bot
[REF] refactor code replace TAB per 4 SPACE and remove useless space at end of line |
40 |
</page>
|
41 |
<page string="Display Settings"> |
|
42 |
<group col="4" colspan="4"> |
|
43 |
<separator string="Display Mode" colspan="4" /> |
|
44 |
<field name="display_mode" colspan="1" nolabel="1" /> |
|
45 |
<label string="Products only means that the products associated to the category will display, but not any static blocks.Static block only means that the selected static block will display, but none of the products.Static block and products means that the static block will display with the products listed directly beneath it." colspan="3" /> |
|
46 |
</group>
|
|
47 |
<separator string="Use Anchor" colspan="4" /> |
|
48 |
<group col="4" colspan="4"> |
|
49 |
<field name="is_anchor" colspan="1" /> |
|
50 |
<label string="Anchored categories will display all products associated to all child categories (and child of child, and child of child of child,etc.) on that category's page, along with the products associated directly to the parent category." colspan="3" /> |
|
51 |
</group>
|
|
469
by sebastien beau
[FIX] fix/refactor the way to manage the product category option available_sort_by |
52 |
<group col="4" colspan="4"> |
53 |
<group col="10" colspan="2"> |
|
676.2.13
by Akretion Bot
[REF] refactor code replace TAB per 4 SPACE and remove useless space at end of line |
54 |
<separator string="Available Sorting method" colspan="10" /> |
469
by sebastien beau
[FIX] fix/refactor the way to manage the product category option available_sort_by |
55 |
<field name="use_default_available_sort_by" string="Use Default Config"/> |
676.2.13
by Akretion Bot
[REF] refactor code replace TAB per 4 SPACE and remove useless space at end of line |
56 |
<field name="available_sort_by" colspan="10" nolabel="1" attrs="{'readonly':[('use_default_available_sort_by','=',True)],'required':[('use_default_available_sort_by','=',False)]}"> |
469
by sebastien beau
[FIX] fix/refactor the way to manage the product category option available_sort_by |
57 |
<tree string="Available Sort By"> |
58 |
<field name="label"/> |
|
59 |
</tree>
|
|
60 |
</field>
|
|
676.2.13
by Akretion Bot
[REF] refactor code replace TAB per 4 SPACE and remove useless space at end of line |
61 |
</group>
|
469
by sebastien beau
[FIX] fix/refactor the way to manage the product category option available_sort_by |
62 |
<group col="2" colspan="2"> |
676.2.13
by Akretion Bot
[REF] refactor code replace TAB per 4 SPACE and remove useless space at end of line |
63 |
<separator string="Default Sorting method" colspan="2" /> |
64 |
<field name="default_sort_by" widget="selection" nolabel="1" domain="[('attribute_name', '=', 'sort_by')]"/> |
|
65 |
<separator string="Page Layout" colspan="2" /> |
|
66 |
<field name="page_layout" nolabel="1" widget="selection" domain="[('attribute_name', '=', 'page_layout')]"/> |
|
469
by sebastien beau
[FIX] fix/refactor the way to manage the product category option available_sort_by |
67 |
</group>
|
68 |
</group>
|
|
676.2.13
by Akretion Bot
[REF] refactor code replace TAB per 4 SPACE and remove useless space at end of line |
69 |
</page>
|
70 |
</notebook>
|
|
71 |
</group>
|
|
72 |
</xpath>
|
|
73 |
</field>
|
|
74 |
</record>
|
|
75 |
||
76 |
<record model="ir.ui.view" id="product_category_form_view_magerp"> |
|
77 |
<field name="name">product.category.form_view_magerp</field> |
|
78 |
<field name="model">product.category</field> |
|
79 |
<field name="inherit_id" ref="product.product_category_form_view" /> |
|
80 |
<field name="type">form</field> |
|
81 |
<field name="arch" type="xml"> |
|
82 |
<field name="sequence" position="after"> |
|
83 |
<field name="magento_exportable" /> |
|
84 |
</field>
|
|
85 |
</field>
|
|
86 |
</record>
|
|
87 |
||
88 |
<!--Magento product_attribute_set Tree/Form view -->
|
|
89 |
<record model="ir.ui.view" id="magerp_product_attribute_set_form"> |
|
90 |
<field name="name">magerp.product_attribute_set.form</field> |
|
91 |
<field name="model">magerp.product_attribute_set</field> |
|
92 |
<field name="type">form</field> |
|
93 |
<field name="arch" type="xml"> |
|
94 |
<form string="Magento Product Attribute Sets"> |
|
95 |
<group col="4" colspan="4"> |
|
96 |
<field name="sort_order" readonly="1" /> |
|
97 |
<field name="attribute_set_name" readonly="1" /> |
|
98 |
<button name="update_attribute" string="Update Attributes" colspan="2" type="object" /> |
|
99 |
</group>
|
|
100 |
<separator string="Attributes in Set" colspan="4" /> |
|
101 |
<field name="attributes" nolabel="1" readonly="1" /> |
|
102 |
</form>
|
|
103 |
</field>
|
|
104 |
</record>
|
|
105 |
<record model="ir.ui.view" id="magerp_product_attribute_set_tree"> |
|
106 |
<field name="name">magerp.product_attribute_set.tree</field> |
|
107 |
<field name="model">magerp.product_attribute_set</field> |
|
108 |
<field name="type">tree</field> |
|
109 |
<field name="arch" type="xml"> |
|
110 |
<tree string="Magento Product Attribute Set"> |
|
111 |
<field name="sort_order" select="2" /> |
|
112 |
<field name="attribute_set_name" select="1" /> |
|
113 |
</tree>
|
|
114 |
</field>
|
|
115 |
</record>
|
|
116 |
<record id="act_magerp_product_attribute_set_form" model="ir.actions.act_window"> |
|
117 |
<field name="name">Magento Product Attribute Sets</field> |
|
118 |
<field name="res_model">magerp.product_attribute_set</field> |
|
119 |
<field name="src_model">magerp.product_attribute_set</field> |
|
120 |
<field name="type">ir.actions.act_window</field> |
|
121 |
<field name="view_type">form</field> |
|
122 |
<field name="view_mode">tree,form</field> |
|
123 |
<field name="view_id" ref="magerp_product_attribute_set_tree" /> |
|
124 |
</record>
|
|
125 |
||
126 |
<!--Magento product_attributes Tree/Form view -->
|
|
127 |
<record model="ir.ui.view" id="magerp_product_attributes_form"> |
|
128 |
<field name="name">magerp.product_attributes.form</field> |
|
129 |
<field name="model">magerp.product_attributes</field> |
|
130 |
<field name="type">form</field> |
|
131 |
<field name="arch" type="xml"> |
|
132 |
<form string="Magento Product Attributes"> |
|
133 |
<group col="4" colspan="4"> |
|
134 |
<field name="attribute_code" /> |
|
135 |
<field name="frontend_input" select="2" /> |
|
136 |
<field name="frontend_class" /> |
|
137 |
<field name="backend_model" /> |
|
138 |
<field name="backend_type" select="2" /> |
|
139 |
<field name="frontend_label"/> |
|
140 |
||
141 |
<field name="is_visible_in_advanced_search" select="2" /> |
|
142 |
<field name="is_global" /> |
|
143 |
<field name="is_filterable" /> |
|
144 |
<field name="is_comparable" /> |
|
145 |
<field name="is_visible" /> |
|
146 |
<field name="is_searchable" /> |
|
147 |
<field name="is_user_defined" /> |
|
148 |
<field name="is_configurable" /> |
|
149 |
||
150 |
<field name="is_visible_on_front" /> |
|
151 |
<field name="is_used_for_price_rules" /> |
|
152 |
<field name="is_unique" /> |
|
153 |
<field name="is_required" /> |
|
154 |
<field name="position" /> |
|
155 |
||
156 |
<field name="group" /> |
|
157 |
<field name="apply_to" select="2" /> |
|
158 |
<field name="default_value" /> |
|
159 |
<field name="note" /> |
|
160 |
<field name="entity_type_id" /> |
|
161 |
<field name="options" readonly="1" /> |
|
397.1.1
by sebastien beau
[IMP] now magento is base on base_json_field and the magento attributs are store in the json |
162 |
<field name="field_name" /> |
163 |
<field name="based_on" /> |
|
676.2.13
by Akretion Bot
[REF] refactor code replace TAB per 4 SPACE and remove useless space at end of line |
164 |
</group>
|
165 |
</form>
|
|
166 |
</field>
|
|
167 |
</record>
|
|
168 |
<record model="ir.ui.view" id="magerp_product_attributes_tree"> |
|
169 |
<field name="name">magerp.product_attributes.tree</field> |
|
170 |
<field name="model">magerp.product_attributes</field> |
|
171 |
<field name="type">tree</field> |
|
172 |
<field name="arch" type="xml"> |
|
173 |
<tree string="Magento Product Attributes"> |
|
174 |
<field name="attribute_code" select="1" /> |
|
175 |
<field name="frontend_label" select="1"/> |
|
176 |
<field name="is_visible" select="1"/> |
|
177 |
<field name="is_required" select="1"/> |
|
178 |
<field name="is_searchable" select="1" /> |
|
179 |
<field name="is_comparable" select="1" /> |
|
180 |
<field name="entity_type_id" select="1" /> |
|
181 |
<field name="group" select="1" /> |
|
182 |
</tree>
|
|
183 |
</field>
|
|
184 |
</record>
|
|
185 |
<record id="act_magerp_product_attributes_form" model="ir.actions.act_window"> |
|
186 |
<field name="name">Magento Product Attributes</field> |
|
187 |
<field name="res_model">magerp.product_attributes</field> |
|
188 |
<field name="src_model">magerp.product_attributes</field> |
|
189 |
<field name="type">ir.actions.act_window</field> |
|
190 |
<field name="view_type">form</field> |
|
191 |
<field name="view_mode">tree,form</field> |
|
192 |
<field name="view_id" ref="magerp_product_attributes_tree" /> |
|
193 |
</record>
|
|
194 |
||
195 |
<!--Magento product_attribute groups Tree/Form view -->
|
|
196 |
<record model="ir.ui.view" id="magerp_product_attribute_groups_form"> |
|
197 |
<field name="name">magerp.product_attribute_groups.form</field> |
|
198 |
<field name="model">magerp.product_attribute_groups</field> |
|
199 |
<field name="type">form</field> |
|
200 |
<field name="arch" type="xml"> |
|
201 |
<form string="Magento Product Attributes Groups"> |
|
202 |
<group col="4" colspan="4"> |
|
203 |
<field name="attribute_group_name" /> |
|
204 |
<field name="attribute_set" /> |
|
205 |
<field name="default_id" /> |
|
206 |
<field name="sort_order" /> |
|
207 |
</group>
|
|
208 |
</form>
|
|
209 |
</field>
|
|
210 |
</record>
|
|
211 |
<record model="ir.ui.view" id="magerp_product_attribute_groups_tree"> |
|
212 |
<field name="name">magerp.product_attribute_groups.tree</field> |
|
213 |
<field name="model">magerp.product_attribute_groups</field> |
|
214 |
<field name="type">tree</field> |
|
215 |
<field name="arch" type="xml"> |
|
216 |
<tree string="Magento Product Attribute groups"> |
|
217 |
<field name="attribute_group_name" select="1" /> |
|
218 |
<field name="attribute_set" select="2" /> |
|
219 |
<field name="default_id" select="2" /> |
|
220 |
<field name="sort_order" select="2" /> |
|
221 |
</tree>
|
|
222 |
</field>
|
|
223 |
</record>
|
|
224 |
<record id="act_magerp_product_attribute_groups_form" model="ir.actions.act_window"> |
|
225 |
<field name="name">Magento Product Attribute Groups</field> |
|
226 |
<field name="res_model">magerp.product_attribute_groups</field> |
|
227 |
<field name="src_model">magerp.product_attribute_groups</field> |
|
228 |
<field name="type">ir.actions.act_window</field> |
|
229 |
<field name="view_type">form</field> |
|
230 |
<field name="view_mode">tree,form</field> |
|
231 |
<field name="view_id" ref="magerp_product_attribute_groups_tree" /> |
|
232 |
</record>
|
|
233 |
||
234 |
<!-- This is a product inherited form that will be dynamically populated-->
|
|
235 |
<record model="ir.ui.view" id="product_product_form_view_magerp"> |
|
236 |
<field name="name">product.normal.form_magerp</field> |
|
237 |
<field name="model">product.product</field> |
|
238 |
<field name="inherit_id" ref="product.product_normal_form_view" /> |
|
239 |
<field name="type">form</field> |
|
240 |
<field name="arch" type="xml"> |
|
241 |
<data>
|
|
242 |
<xpath expr="/form/group/group/field[@name='ean13']" position="after"> |
|
412
by Guewen Baconnier @ CampToCamp
[ADD] Wizard to modify the SKU of a product on all magento shops. SKU is now read-only when the product is exported to at least one shop. |
243 |
<field name="magento_exported" invisible="True"/> |
676.2.13
by Akretion Bot
[REF] refactor code replace TAB per 4 SPACE and remove useless space at end of line |
244 |
</xpath>
|
245 |
<xpath expr="/form/group/group/field[@name='variants']" position="after"> |
|
246 |
<field name="set" select="2" attrs="{'required':[('magento_exportable','==',True)], 'readonly': [('magento_exported', '=', True)]}"/> |
|
247 |
</xpath>
|
|
248 |
<xpath expr="/form/group/group/field[@name='sale_ok']" position="before"> |
|
249 |
<button name="open_magento_fields"/> |
|
250 |
</xpath>
|
|
251 |
<xpath expr="/form/notebook" position="before"> |
|
252 |
<field name="magento_exportable" select="2"/> |
|
253 |
</xpath>
|
|
254 |
</data>
|
|
255 |
</field>
|
|
256 |
</record>
|
|
257 |
<record model="ir.ui.view" id="product_product_form_view_magerpdynamic"> |
|
258 |
<field name="name">product.normal.form_magerp_dynamic</field> |
|
259 |
<field name="model">product.product</field> |
|
260 |
<field name="inherit_id" ref="product.product_normal_form_view" /> |
|
261 |
<field name="type">form</field> |
|
262 |
<field name="arch" type="xml"> |
|
263 |
<xpath expr="/form/notebook" position="inside"> |
|
264 |
<page string="attributes_placeholder"/> |
|
265 |
</xpath>
|
|
266 |
</field>
|
|
267 |
</record>
|
|
33
by Sharoon Thomas
[FIX]product sku problem fixed |
268 |
|
587
by sebastien beau
[IMP] add the posibility to manage the magento option for the stock |
269 |
<!--Magento Product Product Wizard Form view-->
|
392
by sebastien beau
[IMP] Add two new fonctionality |
270 |
|
271 |
<record model="ir.ui.view" id="product_product_wizard_form_view_magerpdynamic"> |
|
272 |
<field name="name">product.normal.wizard.form_magerp_dynamic</field> |
|
273 |
<field name="model">product.product</field> |
|
274 |
<field name="type">form</field> |
|
275 |
<field name="arch" type="xml"> |
|
276 |
<form string="Product"> |
|
277 |
<group colspan='4' col='8'> |
|
278 |
<separator string="Magento Information" colspan="8"/> |
|
279 |
<field name="name"/> |
|
534.1.40
by Guewen Baconnier @ Camptocamp
[FIX] does not allow to modify an attribute set of an already exported product |
280 |
<field name="set" select="2" attrs="{'required':[('magento_exportable','==',True)], 'readonly': [('magento_exported', '=', True)]}"/> |
572
by sebastien beau
[REF] remove useless code, by default remove magento_sku we use default_code instead if someone still need the magento_sku the best is to build an extra module for it, fix various bug |
281 |
<field name="default_code" select="2" attrs="{'required':[('magento_exportable','==',True)]}"/> |
397.1.4
by sebastien beau
[IMP] improve the generation of the magento wizard view |
282 |
<field name="product_type" select="2" attrs="{'required':[('magento_exportable','==',True)]}"/> |
587
by sebastien beau
[IMP] add the posibility to manage the magento option for the stock |
283 |
<field name="mag_manage_stock" select="2" attrs="{'required':[('magento_exportable','==',True)]}"/> |
679
by Sébastien Beau
[IMP] magentoerpconnect: add the posibility to manage the option for stock directly from OpenERP |
284 |
<field name="mag_manage_stock_shortage" select="2" attrs="{'required':[('magento_exportable','==',True)]}"/> |
392
by sebastien beau
[IMP] Add two new fonctionality |
285 |
<field name="magento_exportable"/> |
534.1.41
by Guewen Baconnier @ Camptocamp
[FIX] field magento_exported needed in magento attributes view |
286 |
<field name="magento_exported" invisible="1" /> |
392
by sebastien beau
[IMP] Add two new fonctionality |
287 |
</group>
|
288 |
<separator string="attributes_placeholder" colspan="4"/> |
|
397.1.2
by sebastien beau
[IMP] work in progress now magento field are accesible for the product.template or for the product.product |
289 |
<group colspan='4' col='4'> |
290 |
<button icon="gtk-cancel" special="cancel" string="Cancel"/> |
|
291 |
<button icon="gtk-ok" name="save_and_close_magento_fields" string="Save and Close" type="object"/> |
|
292 |
</group>
|
|
392
by sebastien beau
[IMP] Add two new fonctionality |
293 |
</form>
|
294 |
</field>
|
|
295 |
</record>
|
|
296 |
||
676.2.13
by Akretion Bot
[REF] refactor code replace TAB per 4 SPACE and remove useless space at end of line |
297 |
<!--Magento Product Type Tree/Form view -->
|
298 |
<record model="ir.ui.view" id="magerp_product_type_form"> |
|
299 |
<field name="name">magerp.product_product_type.form</field> |
|
300 |
<field name="model">magerp.product_product_type</field> |
|
301 |
<field name="type">form</field> |
|
302 |
<field name="priority" eval="5"/> |
|
303 |
<field name="arch" type="xml"> |
|
304 |
<form string="Product Type"> |
|
534.1.3
by Guewen Baconnier @ Camptocamp
[IMP] When importing products from Magento, assign a default (Procurement) product type. You have to configure the Product Types (data are provided in magerp_product_product_type.xml but with noupdate=1) |
305 |
<field name="product_type"/> |
306 |
<field name="name"/> |
|
307 |
<field name="default_type"/> |
|
676.2.13
by Akretion Bot
[REF] refactor code replace TAB per 4 SPACE and remove useless space at end of line |
308 |
</form>
|
309 |
</field>
|
|
310 |
</record>
|
|
311 |
||
312 |
<record model="ir.ui.view" id="magerp_product_type_tree"> |
|
313 |
<field name="name">magerp.product_product_type.tree</field> |
|
314 |
<field name="model">magerp.product_product_type</field> |
|
315 |
<field name="type">tree</field> |
|
316 |
<field name="priority" eval="5"/> |
|
317 |
<field name="arch" type="xml"> |
|
318 |
<tree string="Product Type" editable="top"> |
|
319 |
<field name="name" select="1"/> |
|
320 |
<field name="product_type" select="1"/> |
|
534.1.3
by Guewen Baconnier @ Camptocamp
[IMP] When importing products from Magento, assign a default (Procurement) product type. You have to configure the Product Types (data are provided in magerp_product_product_type.xml but with noupdate=1) |
321 |
<field name="default_type" select="1"/> |
676.2.13
by Akretion Bot
[REF] refactor code replace TAB per 4 SPACE and remove useless space at end of line |
322 |
</tree>
|
323 |
</field>
|
|
324 |
</record>
|
|
282
by Jordi Esteve
[IMP] Several improvements: |
325 |
|
326 |
<record model="ir.actions.act_window" id="act_magerp_product_type_form"> |
|
327 |
<field name="name">Product Types</field> |
|
328 |
<field name="res_model">magerp.product_product_type</field> |
|
329 |
<field name="view_mode">tree,form</field> |
|
330 |
</record>
|
|
437
by sebastien beau
[IMP] introduct the notion of product_category_attributs_options in order to allow to have custom value in category product selection field |
331 |
|
332 |
||
333 |
||
334 |
<!--Magento product_category attribute_option Tree/Form view -->
|
|
676.2.13
by Akretion Bot
[REF] refactor code replace TAB per 4 SPACE and remove useless space at end of line |
335 |
<record model="ir.ui.view" id="magerp_product_category_attribute_options_form"> |
336 |
<field name="name">magerp.product_category_attribute_options.form</field> |
|
337 |
<field name="model">magerp.product_category_attribute_options</field> |
|
338 |
<field name="type">form</field> |
|
339 |
<field name="arch" type="xml"> |
|
340 |
<form string="Magento Product Category Attribute Option"> |
|
341 |
<group col="4" colspan="4"> |
|
342 |
<field name="attribute_name" /> |
|
343 |
<field name="label" /> |
|
344 |
<field name="value" /> |
|
345 |
</group>
|
|
346 |
</form>
|
|
347 |
</field>
|
|
348 |
</record>
|
|
349 |
||
350 |
<record model="ir.ui.view" id="magerp_product_category_attribute_options_tree"> |
|
351 |
<field name="name">magerp.product_category_attribute_options.tree</field> |
|
352 |
<field name="model">magerp.product_category_attribute_options</field> |
|
353 |
<field name="type">tree</field> |
|
354 |
<field name="arch" type="xml"> |
|
355 |
<tree string="Magento Product Category Attribute Option"> |
|
356 |
<field name="attribute_name" /> |
|
357 |
<field name="label" /> |
|
358 |
<field name="value" /> |
|
359 |
</tree>
|
|
360 |
</field>
|
|
361 |
</record>
|
|
362 |
||
363 |
<record id="act_magerp_product_category_attribute_options_form" model="ir.actions.act_window"> |
|
364 |
<field name="name">Magento Product Category Attribute Options</field> |
|
365 |
<field name="res_model">magerp.product_category_attribute_options</field> |
|
437
by sebastien beau
[IMP] introduct the notion of product_category_attributs_options in order to allow to have custom value in category product selection field |
366 |
<field name="src_model">magerp.product_category_attribute_options</field> |
676.2.13
by Akretion Bot
[REF] refactor code replace TAB per 4 SPACE and remove useless space at end of line |
367 |
<field name="type">ir.actions.act_window</field> |
368 |
<field name="view_type">form</field> |
|
369 |
<field name="view_mode">tree,form</field> |
|
370 |
<field name="view_id" ref="magerp_product_category_attribute_options_tree" /> |
|
371 |
</record>
|
|
437
by sebastien beau
[IMP] introduct the notion of product_category_attributs_options in order to allow to have custom value in category product selection field |
372 |
|
488.1.10
by Guewen Baconnier @ Camptocamp
[IMP] Add a view for attribute options (useful with search group by attribute) |
373 |
<!--Magento attribute_option Search/Tree/Form view -->
|
374 |
||
375 |
<record id="magerp_product_attribute_options_search" model="ir.ui.view"> |
|
376 |
<field name="name">magerp.product_attribute_options.search</field> |
|
377 |
<field name="model">magerp.product_attribute_options</field> |
|
378 |
<field name="type">search</field> |
|
379 |
<field name="arch" type="xml"> |
|
380 |
<search string="Search Product Attribute Options"> |
|
381 |
<field name="referential_id"/> |
|
382 |
<field name="attribute_id"/> |
|
383 |
<field name="label"/> |
|
384 |
<field name="value"/> |
|
385 |
<newline/>
|
|
386 |
<group expand="0" string="Group By..." groups="base.group_extended"> |
|
387 |
<filter string="Magento instance" icon="terp-personal" domain="[]" context="{'group_by':'referential_id'}"/> |
|
388 |
<filter string="Attribute" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'attribute_id'}"/> |
|
389 |
</group>
|
|
390 |
</search>
|
|
391 |
</field>
|
|
392 |
</record>
|
|
393 |
||
394 |
<record model="ir.ui.view" id="magerp_product_attribute_options_form"> |
|
395 |
<field name="name">magerp.product_attribute_options.form</field> |
|
396 |
<field name="model">magerp.product_attribute_options</field> |
|
397 |
<field name="type">form</field> |
|
398 |
<field name="arch" type="xml"> |
|
399 |
<form string="Magento Product Attribute Options"> |
|
400 |
<group col="4" colspan="4"> |
|
401 |
<field name="attribute_id"/> |
|
402 |
<field name="attribute_name" invisible="True" /> |
|
403 |
<field name="label" /> |
|
404 |
<field name="value" /> |
|
405 |
<field name="referential_id"/> |
|
406 |
</group>
|
|
407 |
</form>
|
|
408 |
</field>
|
|
409 |
</record>
|
|
410 |
||
411 |
<record model="ir.ui.view" id="magerp_product_attribute_options_tree"> |
|
412 |
<field name="name">magerp.product_attribute_options.tree</field> |
|
413 |
<field name="model">magerp.product_attribute_options</field> |
|
414 |
<field name="type">tree</field> |
|
415 |
<field name="arch" type="xml"> |
|
416 |
<tree string="Magento Product Attribute Options"> |
|
417 |
<field name="attribute_id"/> |
|
418 |
<field name="attribute_name" invisible="True" /> |
|
419 |
<field name="label" /> |
|
420 |
<field name="value" /> |
|
421 |
<field name="ipcast"/> |
|
422 |
<field name="referential_id"/> |
|
423 |
</tree>
|
|
424 |
</field>
|
|
425 |
</record>
|
|
426 |
||
427 |
<record id="act_magerp_product_attribute_options_form" model="ir.actions.act_window"> |
|
428 |
<field name="name">Magento Product Attribute Options</field> |
|
429 |
<field name="res_model">magerp.product_attribute_options</field> |
|
430 |
<field name="type">ir.actions.act_window</field> |
|
431 |
<field name="view_type">form</field> |
|
432 |
<field name="view_mode">tree,form</field> |
|
433 |
<field name="view_id" ref="magerp_product_attribute_options_tree" /> |
|
434 |
<field name="search_view_id" ref="magerp_product_attribute_options_search"/> |
|
435 |
</record>
|
|
437
by sebastien beau
[IMP] introduct the notion of product_category_attributs_options in order to allow to have custom value in category product selection field |
436 |
|
676.2.13
by Akretion Bot
[REF] refactor code replace TAB per 4 SPACE and remove useless space at end of line |
437 |
</data>
|
164
by Raphaël Valyi
[REF] old infrastructure code cleanup |
438 |
</openerp>
|