← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 702115] Re: [6.0RC2] point_of_sale. "No pricelist!" warning if you add a product in a pos sale without partner

 

I have checked the code. I think there are two design choices that
causes an important usability problem if you do anonymous sales with the
point of sale:

1) The pricelist field is invisible in the pos.order form. So you cannot see/change the used pricelist.
2) The default pricelist is searched by name (it must be exactly 'Public Pricelist'). See line 302 of point_of_sale.py:

 pricelist = self.pool.get('product.pricelist').search(cr, uid,
[('name', '=', 'Public Pricelist')], context=context)

If you change the name of this pricelist (why I can not change the name
of a pricelist?), then you cannot do anonymous sales because a default
pricelist is not found (and the user can not change it because is
invisible).

IMHO this behaviour is wrong, it must be fixed letting the user change
the pricelist or, even better, doing the same as v 5.0: Choosing the
default pricelist from the shop. The sale shop has a pricelist field and
the user can choose the sale shop from the pos order.

-- 
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/702115

Title:
  [6.0RC2] point_of_sale. "No pricelist!" warning if you add a product
  in a pos sale without partner

Status in OpenObject Addons Modules:
  New

Bug description:
  [6.0RC2] point_of_sale module:

  A "No pricelist!" warning appears if you add a product in a pos sale
  without any partner selected (an anonymous sale). The partner field,
  like in v 5.0, is not required, so the pricelist from the sale shop
  must be used in an anonymous sale.





References