Hello Amit, analytic plans is not based in tax amount or tax percent, its based on price_unit you can test it with another Tax with percent >0 and you will see the duplicate line with 0 amount.
Journal entries are ok, so its affecting to tax codes but for this reason analytic is created with 0.00 w/o reason. We got in production this in 6.0 and planning migration so i fixed it. Maybe you can re check with a product with taxes percent > 0, journal entries will get 0.00 credit|debit line (and its ok) but analytic will duplicated with 0.00 amount. Regards, -- 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/1024193 Title: duplicate analytic line with plans Status in OpenERP Addons (modules): Invalid Bug description: Hello in 6.0 6.1 and trunk please follow this steps: Install account_analytic_plans Enter an supplier invoice: Product must be configured with a tax with both codes: base and tax generated Apply an analytic plan Approve the invoice As you know OpenERP generate lines with credit/debit 0.00 for tax codes this cause analytic line is generated too for 0.00 move line. i check the code in analytic plans you redefine create_analytic_lines and generate each line here you need to check if credit+debit>0 to generate lines. Regards, To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/1024193/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openerp-india Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-india More help : https://help.launchpad.net/ListHelp

