Odoo Help

2

0
3 Answers
0
ACLENYON Sprl Belgium
5/16/14, 8:52 AM

Confirmed, same behaviour with last night's build. Any progress on your side?

Found the issue: It lies on line 272 in sale_stock.py:

if (not line.procurement_id) or (line.procurement_id.state=='done'):

line.procurement_id.state goes to 'done' only for stockable product when the delivery is completed. This is not the case for 'service' or 'product'. A fix is to change the line to:

if (line.product_id.type=='consu' or line.product_id.type=='service' or (not line.procurement_id) or (line.procurement_id.state=='done')):

Problem is fixed

0
Santi Spain
7/11/14, 5:55 AM

I had the same problem. Sale Orders state didn't change to "Done" after delivering the shipment and paying the invoice. 

After installing mrp_jit (Just In Time Scheduling) module, my problem was solved....it changes the state of the Services to "Done" whichj allows the Sale Order state to change to "Done" as well. I'm not 100% sure what else this module does though...

0
Alexandros Katsonis Cyprus
9/22/14, 7:31 AM

I just want to point out that the bug still exists in OpenErp Version 7.0-20140804-231303. When ever a service is sold the status of the Sales Order remains "Sales Order" and never goes to Done.

I installed the mrp_jit (Just In Time Scheduling) module but nothing changed.

The next step is to edit the file sale_stock.py but I'm concerned about updates. Won't updates rewrite the sale_stock.py file? Anyone found another solution?

Thank you in avance.

Ask a Question
Writer
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now