openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #23037
[Bug 1098493] Re: [Trunk/7.0] Point of sale order is "invoiced" when state of invoice is draft
Hello,
It has been fixed in to : https://code.launchpad.net/~openerp-dev
/openobject-addons/trunk-bug-1098493-cga
Revision No:8532
Revision ID:cga@xxxxxxxxxxx-20130206051032-s5aundvw2p927gd3
Thanks
** Branch linked: lp:~openerp-dev/openobject-addons/trunk-
bug-1098493-cga
** Changed in: openobject-addons
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1098493
Title:
[Trunk/7.0] Point of sale order is "invoiced" when state of invoice is
draft
Status in OpenERP Addons (modules):
Fix Committed
Bug description:
Steps to reproduce:
1. Create empty db and install POS. Configure accounting
2. Create a product (MTS / buy / Stockable) and update the stock level and create a customer (whatever the info)
3. Configure one journal as payment method
4. Create a POS object and start a new session
5. Sell your product, execute payment, print the order and the leave the front end
6. go in the back end, in the pos orders, and select the only order you created
7. Add the client to the order and invoice the order
8. As you can see, the invoice is in draft state. You can delete it.
Problem is:
1. On your pos order, the order is still marked as "invoiced" (while it's not)
2. If you close your session, no sales accounting entries can be found as you removed the invoice before it create entries.
Possible solutions:
1. Mark order as invoiced only once invoice is validated (not when is created in draft)
2. Make it possible to click on the invoice button if the invoice field on the pos order is empty (easy)
3. Don't make it possible to close the session if there are orders in state "invoice" but that invoice field is empty (easy)
4. If 3 not good enough, automatically create the entries in accounting as for a normal (non invoiced) order if the order is in state invoiced and invoice field is empty (much more difficult to do and error prone)
5. Make it possible to revert back to paid an order in invoiced state (difficult)
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1098493/+subscriptions
References