Author Topic: Calculate the costprice calculates first 'save' incorrect second 'save' correct  (Read 2256 times)

rolandlaich

  • Beginner
  • *
  • Posts: 14
VM 2.0.x - 2.0.12: I create a new product, add title, apply 19% VatTax rule, enter final price 10 €, check 'Calculate the costprice' and save: the resulting cost price is 10 € (wrong) and the final price is then 11.9 € (wrong). If I enter again final price 10 €, check 'Calculate the costprice' and save: Now the cost price is 8.40336 € (correct) and final price remains 10 € (correct).

Am I doing wrong or is the calculation buggy?

apessoa

  • Beginner
  • *
  • Posts: 9
the same happens to me. Always have to save twice so that the price is correct

J 2.5.7 and VM 2.0.12f

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10040
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
I fixed this issue. The reason is that it was taking the values of the table. Is changed, i dont know if it is already in the latest 2.0.12, but it is in 2.1 (in svn)
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Lehtóri

  • Beginner
  • *
  • Posts: 1
any hotfix available?

luisch125

  • Jr. Member
  • **
  • Posts: 76
Same problem here.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10040
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Maybe it is in the new 2.0.15c, but maybe only in the vm2.1.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

tomas-ss

  • Beginner
  • *
  • Posts: 3
  • Skype Name: tommow.f
Is there any hotfix for this?

We have a customer which would like this function to work, it's not a good excuse to say "just type in the same thing twice as the system requires you to do so" :)

Upgrading to a newer version is not possible as the template we use have been designed for 2.08.

The must be a solution to this issue?

Best regards

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10040
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
I am quite sure it is in the 2.0.20b. If not, please try the 2.0.21d
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/