<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Yes, I have seen that happen before. It
      is due to the special treatment of the taxes fields.<br>
      <br>
      Truth is that I don't remember how I fixed it in the past. Have
      you tried moving the field right after the price?  Oviously you
      can always put the two field on another block and leave that one
      for taxes or modify the code....<br>
      <br>
      <br>
      <br>
      On 25/11/13 13:04, Alan Lord wrote:<br>
    </div>
    <blockquote cite="mid:l6vech$d18$1@ger.gmane.org" type="cite">This
      is odd.
      <br>
      <br>
      One customer wants to add a "Cost Price" field to the Product
      module's Pricing Information block so we can write a simple
      workflow that will calculate sale price (Unit Price) based on Cost
      Price * Commission Rate.
      <br>
      <br>
      I started by using vtlib and adding a type 72 field. But this
      broke the Products module totally: causing the function
      getInventoryCurrencyInfo() to be incorrectly called when trying to
      go into DetailView. getInventoryCurrencyInfo() should only be
      called by Quotes, Sales Orders, Invoices or Purchase Orders
      <br>
      <br>
      So I then changed it from a 72 to a 71 type field... DetailView
      was OK but the layout of the fields in the Pricing Information is
      broken - see screenshot. I suspect that is is due to the Tax field
      but can't be sure.
      <br>
      <br>
      I tried creating a currency field through the Module Manager
      Layout Editor too, but the layout is still broken.
      <br>
      <br>
      Can anyone else confirm this layout problem?
      <br>
      <br>
      Cheers
      <br>
      <br>
      Al
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.vtiger.com/">http://www.vtiger.com/</a></pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Un saludo
Joe
TSolucio</pre>
  </body>
</html>