openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #24719
[Bug 1132898] Re: [Trunk/7.0] account_analytics_plan not enabled for customer invoice
Hi Rifakat!
Thanks for your action!
Regards,
Houssine
--
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/1132898
Title:
[Trunk/7.0] account_analytics_plan not enabled for customer invoice
Status in OpenERP Addons (modules):
Fix Released
Bug description:
Hi there,
It seems that the account_analytics_plan has not been enabled for the
customer invoice.
When creating an customer invoice, i can't select a analytic
distribution like for supplier invoice.
looking at the code(account_analytic_plans_view.xml) it seems that the
followed inheritance hasn't been done for customer invoice.
<record model="ir.ui.view" id="invoice_supplier_form_inherit">
<field name="name">account.invoice.supplier.form.inherit</field>
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_supplier_form"/>
<field name="priority">2</field>
<field name="arch" type="xml">
<field name="account_analytic_id" position="replace">
<field name="analytics_id" domain="[('plan_id','<>',False)]" context="{'journal_id':parent.journal_id}" groups="analytic.group_analytic_accounting"/>
</field>
</field>
</record>
to reproduce install the accounting, account_analytic_plan,
sales_analytic_plan, purchase_analytic_plan,
Thanks for you help.
Houssine
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1132898/+subscriptions