Commit Graph

5 Commits

Author SHA1 Message Date
Martin Trigaux 69cd13a084 [FIX] point_of_sale: incorrect sequences for orders
A new ir.sequence is generated at pos.config creation for the orders. However it was not used as the type was not set. The fallback was done on the general sequence.
In addition to the sequences being shared, it was not possible to create a pos.order in multicompany (no sequence found for user company, name was null).
Same issue for the pos.order.line.
This patch generates correctly pos.order and pos.order.line sequences at pos.config creation.

Instead of using the pos.config sequence to generate session number (not what this field was intended to), use the existing sequence for pos.session.
Remove company_id value on default pos.session sequence to make sure it's shared between companies and correctly set the prefix.
2014-08-26 16:33:58 +02:00
Stephane Wirtel cd7d047cf8 [IMP] point_of_sales: Add the POS Session
bzr revid: stw@openerp.com-20120410112429-dckcpq3hfemlnr5n
2012-04-10 13:24:29 +02:00
Fabien Pinckaers 9bbeaca7d3 [IMP] useability and code cleaning
bzr revid: fp@tinyerp.com-20110925210844-g86ikbvnvnsjpzpk
2011-09-25 23:08:44 +02:00
Fabien Pinckaers d4febfe788 [IMP+FIX] Complete cleaning of point_of_sale module
- refactorisation of the code: 2000 lines of code removed
   - fixed all the bugs
      - support for tax included/excluded prices
      - fixed rounding troubles
      - don't print the ticket if partial payment
   - cleaning features:
      - workflow reviewed: New -> Done -> Posted / Invoiced
      - generation of journal entries/invoice is now correct
      - only one picking per PoS order
      - wizard to apply global discount (on each lines)
   - useability:
      - reviewed the main point_of_sale screen
      - statements are open by default
   - removed non-useful features
      - advances (you use a special product for this)
      - contracts numbers
      - refund with exchange (you just create a new sale with negatives qty)
      - removed validation steps
      - scan product wizard
   - clean and complete YAML tests (work in progress)

bzr revid: fp@tinyerp.com-20110925140930-s6zibvn51k3914in
2011-09-25 16:09:30 +02:00
mtr 21b05dafac [IMP] point_of_sale:-renamed files
bzr revid: mtr@mtr-20101026121259-tbowld1yx3skezpr
2010-10-26 17:42:59 +05:30