OCA / purchase-workflow

Odoo Purchases, Workflow and Organization
GNU Affero General Public License v3.0
199 stars 765 forks source link

[17.0][IMP] purchase_request (Lines readonly if is_editable==False) #2303

Open patrickrwilson opened 3 months ago

patrickrwilson commented 3 months ago

Majority of the fields are readonly once the PR gets approved except the product lines which can be edited even though the PR was approved or done. This PR adds the same readonly="is_editable == False" that the other fields use on the form to the line_ids to not allow modifications once the PR is approved/done.