[FIX] sale: analytic account in confirmed state
[FIX] sale: analytic account in confirmed state

- Activate analytic accounting
- Create a SO, validate
- Edit, and in the tab 'Additional Information' set an 'Analytic
  Account'
- Save

The analytic account is not saved.

The domain applied on the field is:
`attrs="{'readonly': ['|',('analytic_account_id','!=',False),('invoice_count','!=',0),('state','=','sale')]}"`

This means that once the account is set, the field becomes read-only.
However, a read-only field is by default not sent to the server.

opw-1882448

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo