add product in pos dont update the lines

Bug #695463 reported by Cristian Salamea
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP R&D Addons Team 3

Bug Description

Add product in Point of Sale is not updating the lines in Point of Sale, i check the code the M2O object (pos.order) is as active_id but is not working.

Regards,

Tags: add pos product
Revision history for this message
Jamin Shah(OpenERP) (jamin-openerp) wrote :

Hello Cristian Salamea,

I have checked your issue with latest revision.
In GTK client it's working fine.
In web client, You have to save the parent record first as there is limitation for O2M field.

Thanks.

Changed in openobject-addons:
status: New → Invalid
Revision history for this message
Cristian Salamea (ovnicraft) wrote :

Hello, i'm at revno:
client : 1749
server : 3091
addons: 4160

Create a Point of Sale
Click add Product button, select the product in the wizard
Click on Save & New button
The product was not showed in detail, if you close the Wizard (pos.add.product) the lines are refresh and product appears
I create this video maybe can helps http://rapidshare.com/files/440137488/pos_bug.ogv

Best regards and happy new year,

Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

thanks for the video, I reopen the bug.

Changed in openobject-addons:
status: Invalid → New
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Cristian,

I wonder how it happens.
As soon as you click on any button, if all the mandatory fields have been entered and form passes the validation;the records is going to be saved on the click of the button.

At one stage, you have 2 unsaved records of pos lines. When you click on 'Make payment' the record of POS should be saved and is Saves at my end.

I would like to ask, what action you performed after clicking 'cancel' on payment wizard? (till you cancelled the wizard, and after you cancelled it, values of lines were still intact.)

Thanks.

Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Cristian Salamea (ovnicraft) wrote :

@Jay As you se in video i just cancel the payment wizard to show what both buttons in Add Product wizard does not update the lines in order.

If you check the video, adding second product the amont to pay its ok (sum 2 lines) 'internally' the object its ok but is not showing in client.
Closing wizards the view is updated.

In twitter you tell me about active_id but i read the code and its so.

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hi Cristian,

Thanks for being quick here.
I still stick to the point I mentioned earlier, that as soon as you click on make payment button,record on the form is Saved into DB(here it saves o2m as well).

I have attached a video for the confirmation.

P.s. : Sorry for not the BEST quality of video.

Revision history for this message
Cristian Salamea (ovnicraft) wrote :

Hi Jay, so the video is really bad :/ after adding products your close the wizard? If yes off course the o2m is saved and product appears the problem is when you try with Save & New button or Save & Close the o2m is not updated in form

Regards,

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hi,

After adding the 2 products, we have 2 lines in pos lines.

Now, I am clicking the 'Make Payment' Button; disregard to what I click on new form, Parent form is saved.

I will redo it today.

Thanks.

Revision history for this message
Jamin Shah(OpenERP) (jamin-openerp) wrote :

Hello Cristian,

I have attached video.
Please check it.

Thanks.

Revision history for this message
Cristian Salamea (ovnicraft) wrote :

@Jas Yes i see your video, if you see when you click on Save & New adding product the lines in order was not update (second 10 in your video), that is the bug, i agree with you when you click on cancel lines appears but adding products it does not happen.

Regards,

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Wishlist
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.