← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 666592] Re: save and close crash adding product in point of sale

 

Hello Cristian,
I have followed the steps in latest trunk-addons, but I am not able to reproduce,
"Save & close" button in Add products wizard prompt for "Make Payement", but when we click on cancel, it successfully adds the product in pos lines,
I have also checked the error in given link: http://openerp.pastebin.com/T1xZSMgw
Having a look on it, it seems that you have an error in "Return Products" not in "Add Products",
[I paste here one line from above link: File "/home/ovnicraft/repos/openerp-commiter/addons_trunk/point_of_sale/wizard/pos_return.py", line 344, in close_action],=> this is from "Return Products".
Can you make it clear?

Thanks

** Changed in: openobject-addons
       Status: Confirmed => Incomplete

-- 
save and close crash adding product in point of sale
https://bugs.launchpad.net/bugs/666592
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Incomplete

Bug description:
Hello, i am testing POS module, i added the pos_add_product wizard as button in POS Orden view, then follow this steps:

1 Click on Add Product
2 Select product (change qty)
3 Click on 'Save & Close' button

I get this error: http://openerp.pastebin.com/T1xZSMgw
This button call close_action, i really dont understand what code wants to do there, 'Save $ Close' tells the user add the pos line  what you select and close this wizard, maybe launch the payment wizard, but never is added the pos line.
Its necessary use add_product method from pos.order, i added a simple patch but this dont update the view with new product added.

Regards,





References