← Back to team overview

openerp-india team mailing list archive

[Bug 1082249] Re: Analytic defaults doesn't work with purchase orders

 

Hi Andres Calle,

  Whenever this fix will be merged in trunk branch then after you can
see the code on next nightly build from that day.

Thank you,
Khushboo.

-- 
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/1082249

Title:
  Analytic defaults doesn't work with purchase orders

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  1) Steps to reproduce the issue you have observed
  In a database with the sample data go to Accounting / Configuration / Analytic Accounting / Analytic Defaults and create an analytic_dafault for product "Ice Cream" and partner "Agrolait", then make a Purchase Order and select partner Agrolait then add a product line with product Ice Cream... the analytic default should have load but it doesn't.

  2) The result you observed
  I'm trying to use account_analytic_default to automatically select the analytic account on a "purchase order" based on partner and product. But it doesn't selects any analytic account, however it worked just fine when creating supplier invoices from blank.

  3) The result you expected
  It should work according to Comunity Book where is stated "Working with Analytic Default (...) the correct analytic account will be proposed when creating an order or an invoice."  

  Even more, usually you create a purchase order prior to a suplier
  invoice, then if the purchase order didn't have any analytic account
  at its creation time the supllier invoice won't either even if
  defaults are set.

  4) The platform you are using (and browser version, if relevant)
  OpenERP 6.1 with modules analytic 6.1.1.1, account_analytic_default 6.1.1.0
  Windows 7 Home Edition with Chrome

  5) The OpenERP version you are using (e.g. 6.1.1-20120910-233309), if possible including the specific revision (e.g. r.2824) if you use the source repositories.
  OpenERP 6.1-20121118-003301

  This bug has a some relation with bug 493444 but the fix provided
  seems not to cover the scenario of purchase orders.

  Thanks for your help.

  Best Regards,

  Andrés Calle
  TRESCLOUD Cía Ltda.

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


References