← Back to team overview

openerp-l10n-pt-pt team mailing list archive

[Bug 419343] [NEW] message for hr time encode by project should be explicit

 

Public bug reported:

Hello to all.

After using the 5.0.0-3 webclient (also tested on 5.0.1) version on
windows, an issue came up.

If the user create a clean database without defining an accounting chart
(this can be done since there's a none option from the list) like for
example the United Kingdom - minimal aka 'l10n_chart_uk_minimal' and
also if the user choose the service profile, when one tries to encode
the some task's time per project, there will be an erro triggered: "null
value in column general_account_id violates not-null constraint."

To fix this after using openerp and pgadmin to find where this field
general_account_id come from, so i've found that the
account_analytic_line.general_account_id is linked to
account_account.id.

There was an error in the past when a user tried to encode time for a
task for an user without a defined employee it was also triggered and id
error similar to this, so i believe that there should be also a more
user friendly error message, like "no accounting chart found".

Regards.

** Affects: openerp
     Importance: Undecided
         Status: New


** Tags: accounting chart encode error hr time

** Project changed: openerp-pt => openerp

-- 
message for hr time encode by project should be explicit
https://bugs.launchpad.net/bugs/419343
You received this bug notification because you are a member of Open ERP
em Português, which is the registrant for OpenERP Portugal.

Status in Enterprise Management Software: New

Bug description:
Hello to all.

After using the 5.0.0-3 webclient (also tested on 5.0.1) version on windows, an issue came up.

If the user create a clean database without defining an accounting chart (this can be done since there's a none option from the list) like for example the United Kingdom - minimal aka 'l10n_chart_uk_minimal' and also if the user choose the service profile, when one tries to encode the some task's time per project, there will be an erro triggered: "null value in column general_account_id violates not-null constraint."

To fix this after using openerp and pgadmin to find where this field general_account_id come from, so i've found that the account_analytic_line.general_account_id is linked to account_account.id.

There was an error in the past when a user tried to encode time for a task for an user without a defined employee it was also triggered and id error similar to this, so i believe that there should be also a more user friendly error message, like "no accounting chart found".

Regards.



Follow ups

References