openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #00763
lp:~openerp-community/openobject-addons/extra-6.0-esale-joomla-view-fixes into lp:~openerp-community/openobject-addons/extra-trunk-esale_joomla
Stefan Rijnhart (Therp) has proposed merging lp:~openerp-community/openobject-addons/extra-6.0-esale-joomla-view-fixes into lp:~openerp-community/openobject-addons/extra-trunk-esale_joomla.
Requested reviews:
Lorenzo Battistini - Agile BG - Domsense (elbati)
For more details, see:
https://code.launchpad.net/~openerp-community/openobject-addons/extra-6.0-esale-joomla-view-fixes/+merge/87799
Hi Lorenzo,
thank you for your work on the esale_joomla module. Please consider these two additional fixes for getting this module to work under OpenERP 6.0, so that we can keep your branch as a central point for this module.
- Do not refer to the missing field 'rental' on the product form
- Fix the product view on Products by Web Category
Kind regards,
Stefan.
--
https://code.launchpad.net/~openerp-community/openobject-addons/extra-6.0-esale-joomla-view-fixes/+merge/87799
Your team OpenERP Community is subscribed to branch lp:~openerp-community/openobject-addons/extra-6.0-esale-joomla-view-fixes.
=== modified file 'esale_joomla/esale_joomla_view.xml'
--- esale_joomla/esale_joomla_view.xml 2011-02-25 09:23:22 +0000
+++ esale_joomla/esale_joomla_view.xml 2012-01-06 18:57:24 +0000
@@ -515,7 +515,7 @@
<field name="model">product.product</field>
<field name="inherit_id" ref="view_product_book_form"/>
<field name="arch" type="xml">
- <field name="rental" position="after">
+ <field name="purchase_ok" position="after">
<field name="online" select="2"/>
</field>
</field>
@@ -539,6 +539,22 @@
<field name="view_type">tree</field>
<field name="view_id" ref="esale_joomla_category_tree_view"/>
</record>
+ <record id="esale_product_action_tree" model="ir.actions.act_window">
+ <field name="name">Products</field>
+ <field name="type">ir.actions.act_window</field>
+ <field name="res_model">product.product</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">tree,form</field>
+ <field name="domain">[('esale_category_ids','=',active_id)]</field>
+ <field name="context">{'esale_category_ids':active_id}</field>
+ </record>
+ <record id="ir_esale_product_category_open" model="ir.values">
+ <field name="key2">tree_but_open</field>
+ <field name="model">esale_joomla.category</field>
+ <field name="name">Products by Web Category</field>
+ <field eval="'ir.actions.act_window,%d'%esale_product_action_tree" name="value"/>
+ <field eval="True" name="object"/>
+ </record>
<menuitem action="esale_joomla_category_action" id="menu_product_category_action" parent="base.menu_product" sequence="1"/>
<record id="esale_joomla_category_action_form" model="ir.actions.act_window">
Follow ups