Community mailing list archives

community@mail.odoo.com

Re: Time Tracking (hr_timesheet)

by
Stefan Rijnhart
- 06/15/2015 16:48:32
On 15-06-15 22:36, Joseph Andrade wrote:

<blockquote cite="mid:CAL71EaGPi5LhQVfN9dazJo-G-M=ZZDtfJA0oaJtXC_pK0D-xuA@mail.gmail.com" type="cite">
Odoo Server Error

ParseError: "null value in column "name" violates not-null constraint
DETAIL:  Failing row contains (61, null, null, 1.00, null, 0, null, 1, fixed, 1, null, 2015-06-15 19:59:22.630716, 1.000, 1, t, 1, null, null, 1, null, 1, null, null, null, null, 2015-06-15 19:59:22.630716, t, f, null, null, consu, null, f, null, f, null, null, f, 7, t, 9, null, null, null, f, null, 1, 1, null, null, null, null, null, null, f, null, f, f).
" while parsing /opt/bitnami/apps/odoo/lib/odoo-8.0_20150423-py2.7.egg/openerp/addons/hr_timesheet/hr_timesheet_data.xml:15, near
<record id="product.product_product_consultant" model="product.product">
            <field name="sale_ok">True</field>
        </record>

Hi Joseph,

You seem to have removed the default 'Service product' at one point. This module changes a property of that product, but because it does not exist, the server tries to create it but without all the necessary data. Update the product module first to get back the Service product, then install the timesheet module.

Cheers,
Stefan

-- 
Therp - Maatwerk in open ontwikkeling

Stefan Rijnhart - Ontwerp en implementatie

mail: stefan@therp.nl
tel: +31 (0) 614478606
web: http://therp.nl