Error occuring as "No LSB modules are available"

Bug #419726 reported by Deven Moga

This bug report was converted into a question: question #81077: Error occuring as "No LSB modules are available".

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

Bug Description

Hello,

I am trying to change the display name of the different fields in the Purchase order screen. Below is my code.

<record id="purchase_order_form_inherit_for_deliveryandinvoice" model="ir.ui.view">
     <field name="name">purchase.order.form.inherit_for_deliveryandinvoice</field>
            <field name="model">purchase.order</field>
            <field name="type">form</field>
     <field name="inherit_id" ref="purchase.purchase.order.form"/>
            <!--<field name="arch" type="xml">
                  <field name="invoice_method" string="Hi"/>
      </field>-->
</record>

Currently i have commented the code where i want to put custom display name. But either it is commented or uncommented, it's generating below error,

No LSB modules are available.
[2009-08-27 11:45:50,375] ERROR:init:[01]:
[2009-08-27 11:45:50,376] ERROR:init:[02]: Environment Information :
[2009-08-27 11:45:50,376] ERROR:init:[03]: System : Linux-2.6.27-14-generic-i686-with-debian-lenny-sid
[2009-08-27 11:45:50,376] ERROR:init:[04]: OS Name : posix
[2009-08-27 11:45:50,376] ERROR:init:[05]: Distributor ID: Ubuntu
[2009-08-27 11:45:50,376] ERROR:init:[06]: Description: Ubuntu 8.10
[2009-08-27 11:45:50,376] ERROR:init:[07]: Release: 8.10
[2009-08-27 11:45:50,376] ERROR:init:[08]: Codename: intrepid
[2009-08-27 11:45:50,376] ERROR:init:[09]: Operating System Release : 2.6.27-14-generic
[2009-08-27 11:45:50,377] ERROR:init:[10]: Operating System Version : #1 SMP Tue Aug 18 16:25:45 UTC 2009
[2009-08-27 11:45:50,377] ERROR:init:[11]: Operating System Architecture : 32bit
[2009-08-27 11:45:50,377] ERROR:init:[12]: Operating System Locale : en_IN.ISO8859-1
[2009-08-27 11:45:50,377] ERROR:init:[13]: Python Version : 2.5.2
[2009-08-27 11:45:50,377] ERROR:init:[14]: OpenERP-Server Version : 5.0.3
[2009-08-27 11:45:50,377] ERROR:init:[15]: Last revision No. & ID : 1839 <email address hidden>
[2009-08-27 11:45:50,377] ERROR:init:[16]: <record id="purchase_order_form_inherit_for_deliveryandinvoice" model="ir.ui.view">
[2009-08-27 11:45:50,377] ERROR:init:[17]: <field name="name">purchase.order.form.inherit_for_deliveryandinvoice</field>
[2009-08-27 11:45:50,377] ERROR:init:[18]: <field name="model">purchase.order</field>
[2009-08-27 11:45:50,377] ERROR:init:[19]: <field name="type">form</field>
[2009-08-27 11:45:50,378] ERROR:init:[20]: <field name="inherit_id" ref="purchase.purchase.order.form"/>
[2009-08-27 11:45:50,378] ERROR:init:[21]: <!--<field name="arch" type="xml">
[2009-08-27 11:45:50,378] ERROR:init:[22]: <field name="invoice_method" string="Hi"/>
[2009-08-27 11:45:50,378] ERROR:init:[23]: </field>-->
[2009-08-27 11:45:50,378] ERROR:init:[24]: </record>

Please kindly provide solution for this error.
Waiting for the valuable reply.

Sincerely,
Deven

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Deven,

Would you please tell me whether the ref you use for inherit_id field is the correct one?

I doubt because it should be MODULENAME.XMLID. not the MODULENAME.FORMNAME

IMHO, it should be purchase.purchase_order_form.

Thanks.

Changed in openobject-addons:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.