Odoo Help

0
0
Avatar

Timo Talvitie, Vizucom Oy

--Timo Talvitie, Vizucom Oy--
788
| 5 4 7
Tampere, Finland
--Timo Talvitie, Vizucom Oy--

Lead developer at Vizucom.

Timo Talvitie, Vizucom Oy
On 11/14/13, 9:09 AM

We had some issues with sale order view customizations not showing up properly and it was because of the loading order between sale, sale_stock and the custom modules. Setting the custom modules to depend on sale_stock instead of sale fixed the issue. Perhaps your issue is related if you currently have sales and warehouse management functionalities installed.

You were right, in my case sale_layout puts the field again into the form.

peterm
on 11/15/13, 4:15 AM
1
Avatar

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
Serpent Consulting Services Pvt. Ltd.
http://www.serpentcs.com
4800
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. is an Official Odoo Partner, working on Odoo ever since 2007, experience of 11+ years and witnessed the growth of Odoo.

We are a team of 80+ experts on various verticals. Our portfolio of products can be seen at http://www.serpentcs.com and http://www.serpentcs.in

Our Expertise and Services:

  • Odoo Support

  • Odoo Development

  • Odoo Training

  • Odoo Migration

  • Odoo Implementation

  • Odoo Consulting

Our 290+ Apps on Appstore : https://apps.odoo.com/apps/modules/browse?author=Serpent Consulting Services Pvt. Ltd.

Thanks.

Serpent Consulting Services Pvt. Ltd.
On 11/14/13, 6:18 AM

Hello Peterm,

Your xpath seems wrong.

Try this xpath:

<xpath expr="//notebook/page[@string='Order Lines']/field[@name='order_line']/tree/field[@name='product_uom_qty']" position="replace"></xpath>
<xpath expr="//notebook/page[@string='Order Lines']/field[@name='order_line']/form/group/group/label[@for='product_uom_qty']" position="replace"></xpath>
<xpath expr="//notebook/page[@string='Order Lines']/field[@name='order_line']/form/group/group/div/field[@name='product_uom_qty']" position="replace"></xpath>

Then update your module.

Hope this will solve your problem.

Thanks,

Serpent Consulting Services.

None of them works for me. So asking again, is there a trace option or where OE reads and proceses the xpath expression to add a trace there to see what happens.

peterm
on 11/14/13, 6:37 AM

Updating the module, the field keeps on the form (should be removed) as nothing was done. If I provoke an error in the XML I get an error message. That means my XML is read on update ...

peterm
on 11/14/13, 6:46 AM

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 11/14/13, 5:39 AM
Seen: 1840 times
Last updated: 3/16/15, 8:10 AM