Community mailing list archives

community@mail.odoo.com

Re: Time Tracking (hr_timesheet)

by
Skillteam, Houssine BAKKALI
- 06/16/2015 03:22:26

Stefan was referring to the product service. It's not a module. Normally it should appear in the products list. It may have been deleted this is why you get this error

Le 16 juin 2015 08:52, "Joseph Andrade" <jandrade42@gmail.com> a écrit :

Hello Stefan,

Many thanks. I can see that the Product & Pricelists (Product) module is installed.

Are you referring to another one?

Many thanks.


On Mon, 15 Jun 2015 10:26 PM Stefan <stefan@therp.nl> wrote:
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

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe