You are partner in a firm so technically you are the owner in the firm so if your business is making loss how are its owner supposed to earn in that. You can pay salary to yourself but you won't be able to claim it as deduction in income tax because as per income tax in case of loss a partnership firm can only give 150000 as salary. If you give more salary you can give it but you can't claim it as deduction in income tax.
If your firm is making a loss how will it pay you salary in the end it's your firm if you ask for salary today you will get loss profit in future.
Hope you find the information helpful if you do please rate it 5 and provide your valuable feedback for my improvement.
Thank you