Priyesh (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.0-opw-50688-pso into
lp:openobject-addons/6.0.
Requested reviews:
nel (nel-tinyerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-50688-pso/+merge/83258
Hello,
I have fixed an issue of duplication period while duplicating of invoice.
to reproduce, follow the steps:
1. Create an invoice with invoice date and period
2. Duplicate it
3. The new draft invoice will come with the period
Period should be, by default, blank (period where the date belong) unless you
decide to force it.
Can you please share your views ?
Thanks,
Priyesh
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-50688-pso/+merge/83258
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.0-opw-50688-pso.
=== modified file 'account/invoice.py'
--- account/invoice.py 2011-10-24 07:25:44 +0000
+++ account/invoice.py 2011-11-24 08:53:27 +0000
@@ -610,6 +610,7 @@
'move_id':False,
'move_name':False,
'internal_number': False,
+ 'period_id': False
})
if 'date_invoice' not in default:
default.update({
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp