Analytic defaults doesn't work with purchase orders
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Low
|
OpenERP R&D Addons Team 3 |
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_
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_
Windows 7 Home Edition with Chrome
5) The OpenERP version you are using (e.g. 6.1.1-20120910-
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.
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 25 lines (+17/-0)1 file modifiedaccount_analytic_default/account_analytic_default.py (+17/-0)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Hello Andres,
I have checked your issue with 6.1 as well as latest trunk . But, Currently "account_ analytic_ default" module functionality only worked for invoice part only, So If you tried with customer/supplier invoice then it's working fine.
But, We didn't implemented this for Sale/purchase Order, but it's good improvement that's why I am confirming this issue.
Thanks for reporting..!!