Pricelist with base price set to 0

Bug #710521 reported by Nicola Riolini - Micronaet
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP Publisher's Warranty Team

Bug Description

Hi,
Installation: 6.0 ubuntu 10.4 desktop
Preface: I try to introduce OpenERP softly so in some custom I import product from another program, the problem is that I have only pricelists and products without cost or sell price.

I don't know if it's a bug or a wrong behaviour, (or right mode to calculate :-) ), I see also other similar bug like:
https://bugs.launchpad.net/openobject-addons/+bug/319020
My problem is that I set up a pricelist + pricelist version that have items like the one in attachment image, but my product have, as I said, cost and sell price equal to zero.
IMHO if the product has sell price=15,00€ I have to setup:
base price=Cost (or Sell price) * (1 + 0.0) + 15€, now the program, when I try to compute order lines, have to put 15 not 0.
so... this is a blueprint or in this very weird situation a bug?
Thanks

Related branches

Revision history for this message
Nicola Riolini - Micronaet (nicolariolini) wrote :
Revision history for this message
Steffi Frank (Bremskerl, DE) (steffi-frank) wrote :

Hi Nicola

we had the same trouble..... OpenERP support suggested to change the code:

"If you want to bypass this, change the code(condition).
Check code line 267 in product.pricelist : price_get_multi() "

In our case we will not work with a sales price in the product form: how will you ensure to have a price history when you are overwriting the price in the product.form? Therefor we are working with pricelist version (start/end date) and set the whole price to the correct cost/sale price....

regards
Steffi

Revision history for this message
DBR (OpenERP) (dbr-openerp) wrote :
Revision history for this message
DBR (OpenERP) (dbr-openerp) wrote :

Hello,

From the attached video you know actual use of that Base price point.

Thanks.

Changed in openobject-addons:
status: New → Invalid
Revision history for this message
Steffi Frank (Bremskerl, DE) (steffi-frank) wrote :

Hello Devishree,

but it still doesn't the answer 'what about price history', right?

Revision history for this message
Nicola Riolini - Micronaet (nicolariolini) wrote :

Hi Devishree,
unfortunately it's not my case too, I see that in normal conditions it works fine, my particular case is for cost or sell price that are both zero. But the Algebra says that 0 * (1 + 0.0) + 15 € = 15€ not 0 :-)
I don't want to manage py code but unfortunately that's my end...

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Nicola,

Thanks for the reply.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Low
status: Invalid → Confirmed
Revision history for this message
Rifakat Husen (OpenERP) (rha-openerp) wrote :

Hello,

It has been fixed in lp:~openerp-commiter/openobject-addons/dev-addons2-rha1

RRevision ID: <email address hidden>
Revision no: 4493

Thanks for reporting.

Changed in openobject-addons:
status: Confirmed → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Fix Released
Changed in openobject-addons:
status: Fix Released → In Progress
assignee: OpenERP R&D Addons Team 2 (openerp-dev-addons2) → OpenERP Publisher's Warranty Team (openerp-opw)
Changed in openobject-addons:
status: In Progress → Fix Committed
milestone: none → 6.0.2
Changed in openobject-addons:
milestone: 6.0.2 → none
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Nicola,

Thank you for reporting.

Thanks to all who participated.

It has been fixed in stable 6.0.2 by revision 4519 <email address hidden>.

Changed in openobject-addons:
milestone: none → 6.0.3
status: Fix Committed → Fix Released
Revision history for this message
Janik Thorez (janik-thorez) wrote :

Hallo,
We installed the stable release of 6.0.2 and we have this problem too... Is this normal? In the last conversion I read that it has been solved in 6.0.2 by revision 4519. How do I know that this revision is active on my installation?
Best regards,
Janik Thorez

Revision history for this message
Nicola Riolini - Micronaet (nicolariolini) wrote :

Thanks for fast Janik :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.