Steps:
- Open Projects
- Go to Tasks
- Create a SOL on the fly
- Create a new product on the fly (click on 'create', not on 'create and edit')
- There is a field for delivered quantity which is editable
Issue:
-The 'delivered quantity' is editable when it shouldn't be. It should only be
editable when Invoice policy is Based on Delivered quantity.
Cause:
- The readonly attribute was only given when delivered_quantity method is not manual.
Fix:
- By making delivered quantity field readonly for project task form view.
Task-3522113
closesodoo/odoo#142348
X-original-commit: 0b5d197e0690e49948b848b2addffeb0e57b5db7
Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
Co-authored-by: Prakash Prajapati <ppr@odoo.com>