Odoo Help


1 Answer
11-09-18 05:22

I think i found it in sale_stock:

class ProductProduct(models.Model):

    _inherit = 'product.product'


    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

Stel een vraag
Keep Informed
1 volger(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.

Odoo Training Center

Access to our eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now