Hi all,
I’m trying to make the quantity
field editable in the production
form view for users in a specific group (sample_production_user
).
Right now, non-admin users can’t create or edit this form which is what I would want, everything but the quantity
field.
<!-- Quantity can be changed by Woven Label Designer -->
<record model="ir.model.field.access" id="access_production_quantity_woven_label_designer">
<field name="model">production</field>
<field name="field">quantity</field>
<field name="group" ref="sample_production_user"/>
<field name="perm_create" eval="True"/>
<field name="perm_read" eval="True"/>
<field name="perm_write" eval="True"/>
<field name="perm_delete" eval="False"/>
</record>
How can I do something similar in Tryton — allow only this group to edit just the quantity
field in the form, while keeping the rest of the model read-only for them?
Thanks!