Use the _constraint in py file.
and in function check the length of the orderlines. and raise an error in case of the more than 2 lines found
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more