Skip to Content
Menu
This question has been flagged
1 Reply
2491 Views

Hi,

I cant attached images here, so will try to explain in writing.


What I'm try to achieve is to change the ordering of the tabs in customer views form, the "built-in" tabs are: "Contact & adresses",  "Sales  &  Purchased",  "Accounting",  ....


I  doesn't  seem  possible  to  reorder  the  tabs,  found  some  posts  to  edit  the  XML,  but  this  doesnt  seem  lika  a  viable  path  as  you  wont  get  future  updates  for  the  app  then!?

Any  solution  :)?


Best  regards,

Kenneth 

Avatar
Discard
Best Answer

Hi Kenneth:

You can move the tabs around by customizing the views using view inheritance. For example, the following code in the custom view will move the "Sales & Purchase" tab before the "Contacts & Addresses" tab.


<data>
<xpath expr="//page[@name='contact_addresses']" position="before">
<xpath expr="//page[@name='sales_purchases']" position="move"/>
</xpath>

</data>

Avatar
Discard
Related Posts Replies Views Activity
1
Nov 24
1483
1
Nov 24
1190
2
Sep 24
1047
1
Aug 24
2453
3
Aug 24
2687