Josse Colpaert (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-1062621-jco into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #1062621 in OpenERP Addons: "[7.0@r7718]  Can't backdate payments in 
Supplier Invoice Pay function"
  https://bugs.launchpad.net/openobject-addons/+bug/1062621

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1062621-jco/+merge/139036

The period_id was added in the view that appears after clicking on Pay or 
Register Payment.  That way the on_change will change the period_id and it will 
apply it correctly to the moves,... created afterwards when clicking the pay 
button.  
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1062621-jco/+merge/139036
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-1062621-jco.
=== modified file 'account_voucher/voucher_payment_receipt_view.xml'
--- account_voucher/voucher_payment_receipt_view.xml	2012-12-08 10:33:38 +0000
+++ account_voucher/voucher_payment_receipt_view.xml	2012-12-10 17:01:32 +0000
@@ -305,6 +305,7 @@
                                 widget="selection"
                                 on_change="onchange_journal(journal_id, line_cr_ids, False, partner_id, date, amount, type, company_id, context)"
                                 string="Payment Method"/>
+                            <field name="period_id" invisible="1"/>
                         </group>
                         <group>
                             <field name="date" invisible="context.get('line_type', False)" on_change="onchange_date(date, currency_id, payment_rate_currency_id, amount, company_id, context)"/>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : openerp-dev-gtk@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to