diff options
| author | Swapnesh Shah <swapneshshah111@gmail.com> | 2020-04-04 11:16:16 +0000 |
|---|---|---|
| committer | Swapnesh Shah <swapneshshah111@gmail.com> | 2020-04-08 13:59:42 +0000 |
| commit | d9a4f1a4fbfccddb9053994b54aa3655c2f0448d (patch) | |
| tree | aa82d0e5dbf4cebf0a4fd697af6358021a476669 /doc/reference/javascript_reference.rst | |
| parent | 923988934a2434a7856829d99c285a37a29ae3f7 (diff) | |
[FIX] account: disable creation of account.move.line in any view
Creating new `account.move.line` is already blocked at List/Form view but it was not disabled at Kanban views since it is needed for mobile views. Creating new AML from Kanban leads to traceback due to the required field.
In this commit, we pass `'create':0` in the action so user can not create new AML from any view.
closes odoo/odoo#49244
X-original-commit: 1db71a9968b09bc56eff11e54d4e5b52693196cf
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
