mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
Merge pull request #1 from yvaucher/9.0-crm_claim_rma
Fix Button box layout to make it responsive on crm_claim
This commit is contained in:
@@ -114,16 +114,16 @@
|
||||
</xpath>
|
||||
|
||||
<!-- Smart buttons -->
|
||||
<xpath expr="//field[@name='name']/parent::group" position="after">
|
||||
<div class="oe_right oe_button_box" name="buttons">
|
||||
<button class="oe_inline oe_stat_button"
|
||||
<xpath expr="//field[@name='name']/parent::group" position="before">
|
||||
<div class="oe_button_box" name="button_box">
|
||||
<button class="oe_stat_button"
|
||||
name="%(act_crm_claim_rma_sale_orders)d"
|
||||
type="action"
|
||||
icon="fa-strikethrough"
|
||||
string="Sales"
|
||||
attrs="{'invisible': ['|',('partner_id','=', False)]}"
|
||||
context="{'search_default_partner_id': [partner_id], 'search_default_user_id':False}"/>
|
||||
<button class="oe_inline oe_stat_button"
|
||||
<button class="oe_stat_button"
|
||||
name="%(act_crm_claim_rma_purchase_orders)d"
|
||||
type="action"
|
||||
icon="fa-shopping-cart"
|
||||
@@ -132,7 +132,7 @@
|
||||
context="{'search_default_partner_id': [partner_id],
|
||||
'search_default_user_id':False}"/>
|
||||
|
||||
<button class="oe_inline oe_stat_button"
|
||||
<button class="oe_stat_button"
|
||||
name="%(act_crm_claim_rma_invoice)d"
|
||||
type="action"
|
||||
string="Invoices"
|
||||
@@ -140,7 +140,7 @@
|
||||
attrs="{'invisible': ['|',('partner_id','=', False)]}"
|
||||
context="{'search_default_partner_id': [partner_id], 'group_by':'type', 'search_default_user_id':False}"/>
|
||||
|
||||
<button class="oe_inline oe_stat_button"
|
||||
<button class="oe_stat_button"
|
||||
name="%(act_crm_claim_rma_refunds)d"
|
||||
type="action"
|
||||
string="Refunds"
|
||||
@@ -148,7 +148,7 @@
|
||||
attrs="{'invisible': ['|',('partner_id','=', False), ('claim_type','in', ['customer','other'])]}"
|
||||
context="{'search_default_partner_id': [partner_id], 'group_by':'type', 'search_default_user_id':False}"/>
|
||||
|
||||
<button class="oe_inline oe_stat_button"
|
||||
<button class="oe_stat_button"
|
||||
icon="fa-reply"
|
||||
name="%(act_crm_claim_rma_picking_in)d"
|
||||
type="action"
|
||||
|
||||
Reference in New Issue
Block a user