← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 766903] [NEW] Pricelist's rules are ignored when inserting a product in customer invoice

 

Public bug reported:

Good morning,

I have constated the following bug:

1) Steps to reproduce the issue you have observed

- Create a product with just a name and an Income Account
- Create a sale pricelist with an active version and a rule that match the product and that override the price (based on public price, New Price = Base Price * (1 + -1) + 200, for example)
- Create a customer with a default address, an account receivable and a sale pricelist set to the pricelist previously created
- Create a customer invoice for the client previously created
- Create a line in this invoice and select the product previously created


2) The result you observed

- The line's unit price is taken from the product's sale price field


3) The result you expected

- The line's would be calculated from the pricelist's rule, like when
you create a sale order


4) The platform your are using

OpenERP - GTK Client - v6.0.2 on Windows Vista
OpenERP Server v6.0.2 on Ubuntu Server 10.04


5) The OpenERP version you are using

6.0.2

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/766903

Title:
  Pricelist's rules are ignored when inserting a product in customer
  invoice

Status in OpenERP Modules (addons):
  New

Bug description:
  Good morning,

  I have constated the following bug:

  1) Steps to reproduce the issue you have observed

  - Create a product with just a name and an Income Account
  - Create a sale pricelist with an active version and a rule that match the product and that override the price (based on public price, New Price = Base Price * (1 + -1) + 200, for example)
  - Create a customer with a default address, an account receivable and a sale pricelist set to the pricelist previously created
  - Create a customer invoice for the client previously created
  - Create a line in this invoice and select the product previously created

  
  2) The result you observed

  - The line's unit price is taken from the product's sale price field

  
  3) The result you expected

  - The line's would be calculated from the pricelist's rule, like when
  you create a sale order

  
  4) The platform your are using

  OpenERP - GTK Client - v6.0.2 on Windows Vista
  OpenERP Server v6.0.2 on Ubuntu Server 10.04

  
  5) The OpenERP version you are using

  6.0.2


Follow ups

References