Readonly fields when party is inactive
When a party is deactivated all fields of the form are set to readonly so the user
cannot change them. However, several modules extend the party form which do not
follow the same behaviour. Some examples of such fields/modules are:
- tax rules
- stock locations
- bank accounts
- sale pricelist
- sale invoice grouping
Exactly the same problem exists with the product form.
We should standarize this:
- The easiest thing is to change all those modules to have the same STATES
definition.
- We could allow modifying those fields
- We could try to find a way to make all fields readonly (except "active")