← Back to team overview

openerp-india team mailing list archive

[Bug 1021006] Re: delivery - create invoice must respect defaults for journal

 

Quote Amit #1
Now, as all know that the "Set as default" is working for creating a new record with same object(only osv.osv) and here "Create invoice" wizard is osv_memory object. So we can't set "Set as a default" on this wizard.
/Quote

I did a test:

I copied the ir_values for journal_id replacing the model "account.invoice" by "stock.invoice.onshipping" and the correct values have been taken 
Hence
 - the underlying logic supports defaults also for osv.memory objects
 - the clients do not allow to enter defaults for osv.memory objects - which should be enabled

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1021006

Title:
  delivery - create invoice must respect defaults for journal

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  after fixing the bug
  https://bugs.launchpad.net/openobject-addons/+bug/1019267
  the proposed journal in the wizard must respect the defaults for invoices

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1021006/+subscriptions


References