Skip to content

Commit e4057d6

Browse files
author
bosd
committed
[FIX] contract: align Other Information tab into a single 2-col grid
The "Other Information" tab on the contract form had two outer ``<group>`` blocks. The first wrapped a single inner "Sales" group (rendered on the left half, with the right half empty); the second was a bare top-level ``<group>`` containing ``code``, ``group_id`` and ``currency_id`` -- which Odoo's form layout renders as a single full-width column, so each of those fields was visibly wider than the Sales group fields above and broke the visual rhythm of the tab. Merge them into one outer ``<group>`` with two inner groups (``Sales`` + ``Administration``), so the whole tab renders as a consistent 2-column grid and the second column lines up next to the first. No model change, no functional change -- pure layout fix.
1 parent 09aa14e commit e4057d6

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

contract/views/contract.xml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -363,14 +363,17 @@
363363
groups="base.group_multi_company"
364364
/>
365365
</group>
366-
</group>
367-
<group>
368-
<field name="code" />
369-
<field name="group_id" />
370-
<field
371-
name="currency_id"
372-
groups="base.group_multi_currency"
373-
/>
366+
<group
367+
string="Administration"
368+
name="group_administration"
369+
>
370+
<field name="code" />
371+
<field name="group_id" />
372+
<field
373+
name="currency_id"
374+
groups="base.group_multi_currency"
375+
/>
376+
</group>
374377
</group>
375378

376379
<group

0 commit comments

Comments
 (0)