[IMP]Design and pading

bzr revid: dle@openerp.com-20121112111206-n1ayr44ywliprgy7
This commit is contained in:
Denis Ledoux dle@openerp.com 2012-11-12 12:12:06 +01:00
parent a3e379881a
commit 3e1e1f268c
1 changed files with 17 additions and 15 deletions

View File

@ -3,21 +3,10 @@
<templates id="template" xml:space="preserve">
<t t-name="AccountMoveLineQuickAdd">
<div class="select2-container oe_account_quickadd">
<div>
Journal :
<select class="oe_account_select_journal select2-choice" >
<t t-foreach="widget.journals" t-as="journal">
<option t-if=" journal[0] === widget.current_journal" t-att-value="journal[0]" selected="selected">
<t t-esc="journal[1]"/>
</option>
<option t-if="journal[0] !== widget.current_journal" t-att-value="journal[0]">
<t t-esc="journal[1]"/>
</option>
</t>
</select>
Period :
<select class="oe_account_select_period select2-choice">
<div class="oe_account_quickadd ui-toolbar" style="margin-bottom:0px;">
<div class="oe_form_dropdown_section">
<h4>Period :</h4>
<select class="oe_account_select_period">
<t t-foreach="widget.periods" t-as="period">
<option t-if=" period[0] === widget.current_period" t-att-value="period[0]" selected="selected">
<t t-esc="period[1]"/>
@ -28,6 +17,19 @@
</t>
</select>
</div>
<div class="oe_form_dropdown_section">
<h4>Journal :</h4>
<select class="oe_account_select_journal" >
<t t-foreach="widget.journals" t-as="journal">
<option t-if=" journal[0] === widget.current_journal" t-att-value="journal[0]" selected="selected">
<t t-esc="journal[1]"/>
</option>
<option t-if="journal[0] !== widget.current_journal" t-att-value="journal[0]">
<t t-esc="journal[1]"/>
</option>
</t>
</select>
</div>
</div>
</t>