diff --git a/purchase.py b/purchase.py index b505e1ed27..e64d38bab7 100644 --- a/purchase.py +++ b/purchase.py @@ -312,6 +312,11 @@ class QuotationLine(ModelSQL, ModelView): 'get_quotation_state', 'Quotation State'), 'on_change_with_quotation_state', searcher='search_quotation_state') + @classmethod + def __setup__(cls): + super().__setup__() + cls.__access__.add('quotation') + @staticmethod def order_quotation_state(tables): pool = Pool() diff --git a/purchase.xml b/purchase.xml index cfea50aaa4..90cf6b66cd 100644 --- a/purchase.xml +++ b/purchase.xml @@ -193,46 +193,6 @@ this repository contains the full copyright notices and license terms. --> purchase_request_quotation_line_list_request - - User in company - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - purchase.request