diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2018-09-10 09:57:39 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim-odoo@users.noreply.github.com> | 2018-09-10 13:07:22 +0200 |
| commit | fb22a4db2a75ae59156ba70ba5ee5e8ca2fc0281 (patch) | |
| tree | 39853717f9fe1b01d825e476f84ea886a9ba36bb /doc/reference/javascript_reference.rst | |
| parent | 8fca115b04ee50c3c3daaa3a0183a3d0795e5914 (diff) | |
[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
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
