JayVora-SerpentCS / OdooEduERP

Education ERP based on Odoo!
http://www.serpentcs.com
151 stars 181 forks source link

Installation problem #24

Closed Universymo closed 7 years ago

Universymo commented 7 years ago

Dear Sir,

I have a problem in the installation of your module"school"on odoo v 10 with the error displayed "internal server error".

JayVora-SerpentCS commented 7 years ago

Would you please send us the traceback?

zeroheure commented 7 years ago

Probably his problem comes from wrong date format in xml demo data. Date are in M/D/Y while Odoo expect dates in D/M/Y. See in /var/lib/odoo/.local/share/Odoo/addons/10.0/school/demo/school_demo.xml

zeroheure commented 7 years ago

I forgot to copy mine installation error message:

ParseError: "date/time field value out of range: "12/31/2011"
LINE 1: ...te_date") VALUES(nextval('academic_year_id_seq'), '12/31/201...
                                                             ^
HINT:  Perhaps you need a different "datestyle" setting.
" while parsing /var/lib/odoo/.local/share/Odoo/addons/10.0/school/demo/school_demo.xml:90, near

<record id="demo_academic_year_1" model="academic.year">
            <field name="name">Academic Year 2011</field>
            <field name="code">2011</field>
            <field name="sequence">1</field>
            <field name="grade_id" ref="demo_student_grade_1"/>
            <field name="date_start">01/01/2011</field>
            <field name="date_stop">12/31/2011</field>
        </record>
zeroheure commented 7 years ago

Other install problems : I didn't saw python-qrcode dependency in the doc update.prices model is missing :

ParseError: "Error while validating constraint

Mod\xe8le non trouv\xe9 : update.prices

Contexte de l'erreur :
Vue `form.update.prices`
[view_id: 1361, xml_id: n/a, model: update.prices, parent_id: n/a]
None" while parsing /var/lib/odoo/.local/share/Odoo/addons/10.0/library/wizard/update_prices_view.xml:8, near
<record id="form_update_prices" model="ir.ui.view">
            <field name="name">form.update.prices</field>
            <field name="model">update.prices</field>
            <field name="arch" type="xml">
                <form string="Update Prices">
                    <p>
                        Update prices for this category?
                    </p>
                    <footer>
                        <button type="object" class="fa fa-check" name="action_update_prices" string="Update Price"/>
                        <button special="cancel" class="fa fa-ban" string="Cancel"/>
                    </footer>
                </form>
            </field>
        </record>
JayVora-SerpentCS commented 7 years ago

Please pull the latest code.