Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[13.0] sale_order_line_number #363

Open
rshahid93 opened this issue Sep 17, 2020 · 2 comments
Open

[13.0] sale_order_line_number #363

rshahid93 opened this issue Sep 17, 2020 · 2 comments

Comments

@rshahid93
Copy link

rshahid93 commented Sep 17, 2020

When trying to edit a sales order after it has been saved once, an error appears "sale.order.line(,).number"

Edit inclues: Adding new sale order line (product), changing customer, changing quotation date, etc.

image

Error Video: https://youtu.be/ucOUk8Bc2Lk

@jjscarafia
Copy link
Member

Hi @rshahid93
I guess this is v13, isn't it?
Thanks for the detailed video. I've tried to reproduce it locally but couldn't.
Can you try to reproduce it on runbot: http://runbot3.adhoc.com.ar/runbot/repo/git-github-com-ingadhoc-sale-git-8
Are you sure you have this code on your instance? https://github.com/ingadhoc/sale/blob/13.0/sale_order_line_number/models/sale_order_line.py

@rshahid93
Copy link
Author

rshahid93 commented Sep 17, 2020

@jjscarafia yes this is V13. This is so strange the way it behaves on runbot is completely different than it is behaving on my installation.I noticed on Runbot, the 'number' field stays 0 untill record is saved. On my installation it generates the serial 1,2,3,4 on creation of a new line

runbot install (0,0,0,0)
image

myinstall (1,2,3,4)
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants