Pricelist with base price set to 0
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:/
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
- OpenERP Core Team: Pending requested
-
Diff: 847 lines (+137/-98)39 files modifiedaccount/report/account_balance.py (+2/-0)
account/wizard/account_automatic_reconcile.py (+4/-1)
account/wizard/account_change_currency.py (+3/-3)
account/wizard/account_chart.py (+7/-7)
account/wizard/account_fiscalyear_close.py (+4/-1)
account/wizard/account_fiscalyear_close_state.py (+3/-3)
account/wizard/account_invoice_refund.py (+5/-1)
account/wizard/account_move_bank_reconcile.py (+4/-4)
account/wizard/account_move_journal.py (+1/-1)
account/wizard/account_move_line_reconcile_select.py (+3/-3)
account/wizard/account_move_line_unreconcile_select.py (+3/-3)
account/wizard/account_open_closed_fiscalyear.py (+2/-0)
account/wizard/account_reconcile.py (+8/-8)
account/wizard/account_report_balance_sheet.py (+2/-1)
account/wizard/account_report_common.py (+4/-1)
account/wizard/account_report_general_ledger.py (+1/-1)
account/wizard/account_report_partner_balance.py (+1/-1)
account/wizard/account_report_partner_ledger.py (+1/-1)
account/wizard/account_report_profit_loss.py (+1/-1)
account/wizard/account_tax_chart.py (+9/-9)
account/wizard/account_validate_account_move.py (+3/-0)
account/wizard/account_vat.py (+3/-0)
account_analytic_plans/wizard/account_crossovered_analytic.py (+3/-1)
account_coda/wizard/account_coda_import.py (+10/-10)
account_followup/wizard/account_followup_print.py (+2/-2)
account_invoice_layout/report/special_message_invoice.py (+4/-1)
auction/wizard/auction_lots_invoice.py (+2/-2)
hr_recruitment/wizard/hr_recruitment_phonecall.py (+5/-5)
hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py (+9/-9)
lunch/wizard/lunch_order_confirm.py (+2/-2)
point_of_sale/wizard/pos_payment.py (+3/-0)
point_of_sale/wizard/pos_return.py (+2/-2)
product/wizard/product_price.py (+2/-0)
product_margin/product_margin_view.xml (+3/-0)
project/wizard/project_task_delegate.py (+2/-0)
project_gtd/wizard/project_gtd_fill.py (+3/-3)
project_long_term/wizard/project_compute_phases.py (+5/-5)
project_long_term/wizard/project_compute_tasks.py (+2/-2)
stock/wizard/stock_move.py (+4/-4)
- OpenERP Core Team: Pending requested
-
Diff: 238 lines (+35/-12)16 files modifiedaccount/report/account_balance.py (+2/-0)
account/wizard/account_move_journal.py (+1/-1)
account/wizard/account_open_closed_fiscalyear.py (+2/-0)
account/wizard/account_report_balance_sheet.py (+2/-1)
account/wizard/account_report_common.py (+4/-1)
account/wizard/account_report_general_ledger.py (+1/-1)
account/wizard/account_report_partner_balance.py (+1/-1)
account/wizard/account_report_partner_ledger.py (+1/-1)
account/wizard/account_report_profit_loss.py (+1/-1)
account/wizard/account_validate_account_move.py (+3/-0)
account/wizard/account_vat.py (+3/-0)
auction/wizard/auction_lots_invoice.py (+2/-2)
mrp/mrp.py (+2/-1)
product/pricelist.py (+1/-1)
stock/stock.py (+8/-0)
stock/wizard/stock_invoice_onshipping.py (+1/-1)
- qdp (OpenERP): Pending requested
- Olivier Dony (Odoo): Pending requested
- OpenERP Core Team: Pending requested
-
Diff: 24 lines (+4/-2)1 file modifiedproduct/pricelist.py (+4/-2)
- Olivier Dony (Odoo): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedproduct/pricelist.py (+1/-1)
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 |
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