Skip to content
Snippets Groups Projects
Commit 3c48eaf5 authored by Nicolas Martinelli's avatar Nicolas Martinelli Committed by Nicolas Martinelli
Browse files

[FIX] account: partner read-only

Partner should be read-only on a posted AML.

Fixes #24423
opw-1849177
parent 4ea3838d
No related branches found
No related tags found
No related merge requests found
......@@ -1140,7 +1140,8 @@
<group>
<field name="name"/>
<field name="partner_id"
domain="['|', ('parent_id', '=', False), ('is_company', '=', True)]"/>
domain="['|', ('parent_id', '=', False), ('is_company', '=', True)]"
attrs="{'readonly': [('parent_state', '=', 'posted')]}"/>
</group>
<notebook colspan="4">
<page string="Information">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment