|
|
@ -15,7 +15,8 @@ |
|
|
|
<field name="type">form</field> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<form string="Open calling partner"> |
|
|
|
<field name="calling_number" colspan="4"/> |
|
|
|
<group col="5" name="fix-width-gtk-client-v50-windows"> |
|
|
|
<field name="calling_number" colspan="4" /> |
|
|
|
<group attrs="{'invisible':[('partner_id','=',False)]}" colspan="4"> |
|
|
|
<field name="partner_address_id" /> |
|
|
|
<field name="partner_id" /> |
|
|
@ -27,6 +28,7 @@ |
|
|
|
<button name="open_invoices" icon="gtk-go-forward" string="Related invoices" type="object" /> |
|
|
|
<button special="cancel" icon="gtk-cancel" string="Cancel" name="cancel1"/> |
|
|
|
<newline /> |
|
|
|
<label string=" " /> <!-- Hack to have the full view of the Cancel button on GTK Client v50 for Windows --> |
|
|
|
<!-- TODO : try to reimplement the scenario where the partner_address exist but not the partner ; cf the 6.1 branch --> |
|
|
|
</group> |
|
|
|
|
|
|
@ -46,6 +48,9 @@ |
|
|
|
<newline /> |
|
|
|
|
|
|
|
<button special="cancel" icon="gtk-cancel" string="Cancel" colspan="8" /> |
|
|
|
<newline /> |
|
|
|
<label string=" " /> <!-- Hack to have the full view of the Cancel button on GTK Client v50 for Windows --> |
|
|
|
</group> |
|
|
|
</group> |
|
|
|
<!-- I repeat the cancel button for layout reasons --> |
|
|
|
</form> |
|
|
|