Merge lp:~openerp-dev/openobject-addons/7.0-opw-596134-dhr into lp:openobject-addons/7.0

Proposed by Dharti Ratani(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/7.0-opw-596134-dhr
Merge into: lp:openobject-addons/7.0
Diff against target: 26 lines (+4/-4)
1 file modified
account_payment/account_payment_view.xml (+4/-4)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-596134-dhr
Reviewer Review Type Date Requested Status
Stéphane Bidoul (Acsone) (community) Needs Fixing
Naresh(OpenERP) Pending
Review via email: mp+179634@code.launchpad.net

Description of the change

Hello Sir,

Made amount field visible in payment order without multi currency group, as in some case there is no requirement of multi currency, but need to enter the amount in payment lines while manually registering payment lines instead of importing invoices.

Thanks
dhr

To post a comment you must log in.
Revision history for this message
Stéphane Bidoul (Acsone) (sbi) wrote :

Hello,

This looks good.

To be complete, can you also make a similar change in the tree view showing the payment order lines (about 40 lines below in the same file)?

-sbi

review: Needs Fixing
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Hi,

I am proposing a branch into this branch here:

https://code.launchpad.net/~therp-nl/openobject-addons/7.0-lp1207375-payment_order_amounts_visibility/+merge/180578

It makes the line amount visible in the tree view, and it also adds the order amount in the order's form view.

Dharti Ratani, please have a look to see if it is acceptable to merge into your own branch.

9353. By Dharti Ratani(OpenERP)

[MERGE]Merged with latest 7.0

9354. By Dharti Ratani(OpenERP)

[IMP]Also made amount field visible in payment line tree view in payment order

Revision history for this message
Dharti Ratani(OpenERP) (dhr-openerp) wrote :

Hello,

Also made change to the tree view of payment lines in payment order to make the amount field visible without multi currency group.

Thanks
dhr

Unmerged revisions

9354. By Dharti Ratani(OpenERP)

[IMP]Also made amount field visible in payment line tree view in payment order

9353. By Dharti Ratani(OpenERP)

[MERGE]Merged with latest 7.0

9352. By Dharti Ratani(OpenERP)

[IMP]Made amount field in payment order visible without multi currency group to enter amount manually in payment orders, as in some case there is no requirement of multi currency, but need to enter the amount in payment lines

9351. By Dharti Ratani(OpenERP)

[IMP]Making 'Amount in Company Currency' visible in payment order to know the amount in case of manually creating bank statement lines rather then importing from wizard

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account_payment/account_payment_view.xml'
2--- account_payment/account_payment_view.xml 2013-02-25 13:38:04 +0000
3+++ account_payment/account_payment_view.xml 2013-08-22 06:32:38 +0000
4@@ -119,10 +119,10 @@
5 <field name="move_line_id" on_change="onchange_move_line(move_line_id,parent.mode,parent.date_prefered,parent.date_scheduled,currency,company_currency)" domain="[('reconcile_id','=', False), ('credit', '>',0),('amount_to_pay','>',0)] "/>
6 <separator colspan="4" string="Transaction Information"/>
7 <field name="date"/>
8- <label for="amount_currency" groups="base.group_multi_currency"/>
9- <div groups="base.group_multi_currency">
10+ <label for="amount_currency"/>
11+ <div>
12 <field name="amount_currency" on_change="onchange_amount(amount_currency,currency,company_currency)" class="oe_inline"/>
13- <field name="currency" nolabel="1" class="oe_inline"/>
14+ <field name="currency" nolabel="1" class="oe_inline" groups="base.group_multi_currency"/>
15 </div>
16 <field name="partner_id" on_change="onchange_partner(partner_id,parent.mode)"/>
17 <field domain="[('partner_id','=',partner_id)]" name="bank_id"/>
18@@ -159,7 +159,7 @@
19 <field name="bank_id" domain="[('partner_id', '=', partner_id)]"/>
20 <field name="ml_maturity_date"/>
21 <field name="date"/>
22- <field name="amount_currency" string="Amount" groups="base.group_multi_currency"/>
23+ <field name="amount_currency" string="Amount"/>
24 <field name="currency" groups="base.group_multi_currency"/>
25 <field name="name"/>
26 <field name="amount" sum="Total in Company Currency" invisible="1"/>