c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #26230
[Bug 796246] [NEW] [6.0] expense department not set
Public bug reported:
Hi,
When a user creates an expense, the departement is not set.
How to reproduce:
- login as a user that is in a department
- create an expense
- save the expense
- bug: the departement field is not set
- expected behaviour: the department field should be set
The departement is correcty set when one changes the employee on the
expense, because the onchange_employee_id is then triggered. However a
'normal' user never changes the employee because he can only enter
expenses for self. Therefore, for such users, the department is never
set.
I attach a proposed patch that initializes the departement.
Best regards,
-sbi
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/796246
Title:
[6.0] expense department not set
Status in OpenERP Modules (addons):
New
Bug description:
Hi,
When a user creates an expense, the departement is not set.
How to reproduce:
- login as a user that is in a department
- create an expense
- save the expense
- bug: the departement field is not set
- expected behaviour: the department field should be set
The departement is correcty set when one changes the employee on the
expense, because the onchange_employee_id is then triggered. However
a 'normal' user never changes the employee because he can only enter
expenses for self. Therefore, for such users, the department is never
set.
I attach a proposed patch that initializes the departement.
Best regards,
-sbi
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/796246/+subscriptions
Follow ups
-
[Bug 796246] OpenERP Majordomo Message
From: OpenERP Majordomo, 2011-08-16
-
[Bug 796246] Re: expense department not set
From: Amit Parik (OpenERP), 2011-06-14
-
[Bug 796246] Re: [6.0] expense department not set
From: Amit Parik (OpenERP), 2011-06-14
-
[Bug 796246] Re: [6.0] expense department not set
From: Amit Parik (OpenERP), 2011-06-14
-
[Bug 796246] Re: [6.0] expense department not set
From: Amit Parik (OpenERP), 2011-06-14
-
[Bug 796246] Re: [6.0] expense department not set
From: Stéphane Bidoul, 2011-06-14
-
[Bug 796246] Re: [6.0] expense department not set
From: Stéphane Bidoul, 2011-06-13
-
[Bug 796246] Re: [6.0] expense department not set
From: Amit Parik (OpenERP), 2011-06-13
-
[Bug 796246] Re: [6.0] expense department not set
From: Amit Parik (OpenERP), 2011-06-13
-
[Bug 796246] Re: [6.0] expense department not set
From: Stéphane Bidoul, 2011-06-12
-
[Bug 796246] Re: [6.0] expense department not set
From: Stéphane Bidoul, 2011-06-12
-
[Bug 796246] [NEW] [6.0] expense department not set
From: Stéphane Bidoul, 2011-06-12
References