Odoo Help

Welcome!

This community 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.

1

avoid automatic procurement creation on Service Products in odoo 9.0

By
Micky
on 11/20/15, 1:32 PM 712 views

Hi,

is it possible to avoid a automatic generation for procurement of a service Product. For a example you have a Product which is a service product with a fixed price and not based on hours. If i generate out of the quotation an order, automatically a procurement order is placed but service product can not be bought an will have no inventory.

best regards

1
Javier Almancevo
On 11/23/15, 5:55 AM

In Odoo v9 a service does not produce a procurement order. There is a line in the code that says that if a order line is not a stockable product or a consumable, ignore it.

I have a product which is from type Service. It has the following attributes: Can be sold Invoicing Policy: Delivered quantities Track Service : Manually set quantities If i generate a quotation with this product and then i confirm the sale. Now if i look inside my inventory i get a procurement exception, because of a missing rule. Please can you guide me to code where i can find the behavior? best regards.

Micky
on 11/23/15, 6:09 AM
Hi

Sorry, I missed your email. I am starting in Odoo development and I created that module just as a test. Right now I know a lot more about Odoo development so I am kind of ashamed of that module, and wanted to rewrite it completely. It should not take me long, but I am a bit busy at the moment. Hopefully in a week or two I will update with a module that is up to a standard where it can be included in the OCA repository.

So I think its better to just wait for the new update (if you are in a hurry I accept a small tip to get it done quick). In case you want to try with that version, it creates a new picking type in the main warehouse for the PoS as to not mix the "normal" delivery pickings from sales and the automatic pickings from the PoS. You need to have a procurement rule for this case. But as I said, I did not completely understood the push-pull routes system of Odoo and the module does use the system as it should. Its better if you wait for the new version.

Javier

2015-11-23 12:09 GMT+01:00 Micky <micky@schweikarts-vom-dach.de>:

I have a product which is from type Service. It has the following attributes: Can be sold Invoicing Policy: Delivered quantities Track Service : Manually set quantities If i generate a quotation with this product and then i confirm the sale. Now if i look inside my inventory i get a procurement exception, because of a missing rule. Please can you guide me to code where i can find the behavior? best regards.

--
Micky
Gesendet von Odoo S.A. mit Odoo Zugriff Ihre Nachrichten

Javier Almancevo
on 12/1/15, 7:13 AM
Hi

I have come around to update the pos_procurement module. I have attached a copy of the new version. It should work without any special configuration (you can add a custom procurement rule but its not needed and unless you fully understand the Odoo routing system is better if you leave it blank as is by default). I have tested on my system with odoo v9 and everything is working fine. If it does'nt in yours write back with the problem. I'd appreciate if you write back in case everything is working as well.

Javier

2015-11-23 12:09 GMT+01:00 Micky <micky@schweikarts-vom-dach.de>:

I have a product which is from type Service. It has the following attributes: Can be sold Invoicing Policy: Delivered quantities Track Service : Manually set quantities If i generate a quotation with this product and then i confirm the sale. Now if i look inside my inventory i get a procurement exception, because of a missing rule. Please can you guide me to code where i can find the behavior? best regards.

--
Micky
Gesendet von Odoo S.A. mit Odoo Zugriff Ihre Nachrichten

Javier Almancevo
on 12/2/15, 12:06 PM
I have created a new update and uploaded to github: https://github.com/javieralmancevo/pos_procurement


To get it just type in a terminal: git clone https://github.com/javieralmancevo/pos_procurement.git

Javier

2015-12-02 18:06 GMT+01:00 Javier Almancevo <javieralmancevo@gmail.com>:
Hi

I have come around to update the pos_procurement module. I have attached a copy of the new version. It should work without any special configuration (you can add a custom procurement rule but its not needed and unless you fully understand the Odoo routing system is better if you leave it blank as is by default). I have tested on my system with odoo v9 and everything is working fine. If it does'nt in yours write back with the problem. I'd appreciate if you write back in case everything is working as well.

Javier

2015-11-23 12:09 GMT+01:00 Micky <micky@schweikarts-vom-dach.de>:

I have a product which is from type Service. It has the following attributes: Can be sold Invoicing Policy: Delivered quantities Track Service : Manually set quantities If i generate a quotation with this product and then i confirm the sale. Now if i look inside my inventory i get a procurement exception, because of a missing rule. Please can you guide me to code where i can find the behavior? best regards.

--
Micky
Gesendet von Odoo S.A. mit Odoo Zugriff Ihre Nachrichten


Javier Almancevo
on 12/4/15, 4:42 AM
0
Micky
On 11/23/15, 6:09 AM

I have a product which is from type Service. It has the following attributes:

Can be sold

Invoicing Policy: Delivered quantities

Track Service  : Manually set quantities

If i generate a quotation with this product and then i confirm the sale. Now if i look inside my inventory i get a procurement exception, because of a missing rule.

Please can you guide me to code where i can find the behavior?

best regards.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/20/15, 1:32 PM
Seen: 712 times
Last updated: 9/30/16, 8:24 AM