Merge lp:~therp-nl/openobject-addons/7.0-account_voucher_tax_filter_on_general_form into lp:openobject-addons

Proposed by Stefan Rijnhart (Opener)
Status: Needs review
Proposed branch: lp:~therp-nl/openobject-addons/7.0-account_voucher_tax_filter_on_general_form
Merge into: lp:openobject-addons
Diff against target: 13 lines (+2/-1)
1 file modified
account_voucher/account_voucher_view.xml (+2/-1)
To merge this branch: bzr merge lp:~therp-nl/openobject-addons/7.0-account_voucher_tax_filter_on_general_form
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+135140@code.launchpad.net
To post a comment you must log in.

Unmerged revisions

8078. By Stefan Rijnhart (Opener)

[FIX] Inappropriate taxes on general voucher view

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account_voucher/account_voucher_view.xml'
2--- account_voucher/account_voucher_view.xml 2012-11-15 12:38:51 +0000
3+++ account_voucher/account_voucher_view.xml 2012-11-20 12:49:26 +0000
4@@ -75,7 +75,8 @@
5 <group>
6 <field name="narration" nolabel="1" placeholder="Internal Notes"/>
7 <group class="oe_subtotal_footer oe_right" attrs="{'invisible':[('type','in',['payment', 'receipt', False])]}">
8- <field name="tax_id" on_change="onchange_price(line_ids, tax_id, partner_id)" widget="selection" nolabel="1"/>
9+ <field name="tax_id" on_change="onchange_price(line_ids, tax_id, partner_id)" nolabel="1"
10+ domain="[('type_tax_use', 'in', ['all'] + (type in ['sale', 'purchase'] and [type] or []))]"/>
11 <field name="tax_amount" nolabel="1"/>
12 <div class="oe_subtotal_footer_separator">
13 <label for="amount"/>

Subscribers

People subscribed via source and target branches

to all changes: