Odoo Help

0

0
1 Answer
0
Reinhart Spain
05:22, 11/09/2018

I think i found it in sale_stock:

class ProductProduct(models.Model):

    _inherit = 'product.product'


    @api.multi

    def _need_procurement(self):

        for product in self:

            if product.type not in ['service', 'digital']:

                return True

        return super(ProductProduct, self)._need_procurement()


I'm not so confident to override this further, so i think i'm just going to make the product as a service and hope there are no other consecuences

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