[FIX/IMP] fix indetantion and add css for pager button
bzr revid: rgaopenerp-20120807113419-v11tltq2k1kcw66o
This commit is contained in:
parent
1d0beb5779
commit
a567a1fc5c
|
@ -9,32 +9,26 @@
|
|||
<field name="arch" type="xml">
|
||||
<form string="Journal Item" layout="manual" version="7.0">
|
||||
<group>
|
||||
<h3>
|
||||
<a type="button" class="oe_pager_button" data-pager-action="previous">Previous</a>
|
||||
<a type="button" class="oe_pager_button" data-pager-action="next">Next</a>
|
||||
<field name="partner_id"/>
|
||||
(<span class="oe_pager_index_extend">0</span><span class="oe_pager_separator"> / </span><span class="oe_pager_count_extend">0</span>)
|
||||
|
||||
</h3>
|
||||
|
||||
<div>
|
||||
<label for="last_reconciliation_date"/>
|
||||
<field name="last_reconciliation_date" />
|
||||
<label for="latest_date"/>
|
||||
<field name="latest_date"/>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<button string="Reconcile" name="%(action_view_account_move_line_reconcile)d" widget="list_button" type="action"/>
|
||||
<button string="Nothing to Reconcile" name="skip_partner" widget="btn_extend" type="object"/>
|
||||
<field name="reconciliation_progress" widget="progressbar"/>
|
||||
</div>
|
||||
<div name="div4">
|
||||
|
||||
</div>
|
||||
|
||||
</group>
|
||||
|
||||
<h3>
|
||||
<a type="button" class="oe_pager_button" data-pager-action="previous">Previous</a>
|
||||
<a type="button" class="oe_pager_button" data-pager-action="next">Next</a>
|
||||
<field name="partner_id"/>
|
||||
(<span class="oe_pager_index_extend">0</span><span class="oe_pager_separator"> / </span><span class="oe_pager_count_extend">0</span>)
|
||||
</h3>
|
||||
<div>
|
||||
<label for="last_reconciliation_date"/>
|
||||
<field name="last_reconciliation_date" />
|
||||
<label for="latest_date"/>
|
||||
<field name="latest_date"/>
|
||||
</div>
|
||||
<div>
|
||||
<button string="Reconcile" name="%(action_view_account_move_line_reconcile)d" widget="list_button" type="action"/>
|
||||
<button string="Nothing to Reconcile" name="skip_partner" widget="btn_extend" type="object"/>
|
||||
<field name="reconciliation_progress" widget="progressbar"/>
|
||||
</div>
|
||||
<div name="div4">
|
||||
</div>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
@ -1589,7 +1589,6 @@
|
|||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_id" ref="view_move_line_tree"/>
|
||||
<field eval="False" name="auto_search"/>
|
||||
<field name="extended_form_view_id" ref="view_account_move_reconciliation_form_view"/>
|
||||
<field name="context">{'view_mode':True}</field>
|
||||
</record>
|
||||
|
||||
|
@ -1599,7 +1598,6 @@
|
|||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field eval="False" name="auto_search"/>
|
||||
<field name="extended_form_view_id" ref="view_account_move_reconciliation_form_view"/>
|
||||
<field name="domain">[('partner_id.customer','=',True)]</field>
|
||||
<field name="context" eval="{'view_mode':True, 'extended_form_view_id': ref('view_account_move_reconciliation_form_view')}"></field>
|
||||
</record>
|
||||
|
|
|
@ -11,6 +11,23 @@
|
|||
margin: 2px;
|
||||
}
|
||||
|
||||
.openerp .oe_pager_button{
|
||||
float: left;
|
||||
height: 22px;
|
||||
line-height: 24px;
|
||||
display: inline-block;
|
||||
border: 1px solid #ababab;
|
||||
color: #4c4c4c;
|
||||
cursor: pointer;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
padding: 0 5px 0 5px;
|
||||
margin: 0 2px 0 2px;
|
||||
float: left;
|
||||
border-right: 1px solid #ababab;
|
||||
}
|
||||
|
||||
.openerp .oe_pager_m2o li {
|
||||
display: inline-block;
|
||||
height: 24px;
|
||||
|
|
|
@ -4,7 +4,6 @@ var _t = instance.web._t,
|
|||
instance.web.views.add('form_clone', 'instance.account.extend_form_view');
|
||||
instance.web.form.tags.add('list_button','instance.account.list_button')
|
||||
instance.web.form.tags.add('btn_extend','instance.account.btn_extend')
|
||||
instance.web.form.widgets.add('many2one_pager','instance.account.many2one_pager')
|
||||
|
||||
instance.account.extend_viewmanager = instance.web.ViewManagerAction.include({
|
||||
start : function(){
|
||||
|
|
Loading…
Reference in New Issue