Commit Graph
342 Commits
Author SHA1 Message Date
Mitesh Savani 0dfc44bbb2 [IMP¯hr: onboarding improvements :
- label improvements
- added Other gender
- update demo data (less odoo-ish); those have also been updated in hr_payroll and
project_timesheet
2015-01-20 17:05:55 +01:00
Leonardo Donelli 4a0b13ed92 [REF] remove vim modelines and resulting trailing blank lines
Let 2015 be a year without modelines!
cf #4174
2014-12-31 15:52:13 +01:00
Christophe Simonis 5068cffbb0 [MERGE] forward port of branch 8.0 up to 491372e 2014-11-05 20:30:40 +01:00
Raphael Collet f2e4a10e1a [IMP] use model._fields instead of model._all_columns to cover all fields
The old-api model._all_columns contains information about model._columns and
inherited columns.  This dictionary is missing new-api computed non-stored
fields, and the new field objects provide a more readable api...

This commit contains the following changes:

 - adapt several methods of BaseModel to use fields instead of columns and
   _all_columns

 - copy all semantic-free attributes of related fields from their source

 - add attribute 'group_operator' on integer and float fields

 - base, base_action_rule, crm, edi, hr, mail, mass_mailing, pad,
   payment_acquirer, share, website, website_crm, website_mail: simply use
   _fields instead of _all_columns

 - base, decimal_precision, website: adapt qweb rendering methods to use fields
   instead of columns
2014-11-04 13:47:57 +01:00
fwi-odoo b5b2718e76 [IMP] hr: onboarding 2014-10-30 11:48:08 +01:00
Bhumi Patel af311c5a27 [FIX] hr: fix traceback when updating manager of department (ids is already a list, not necessary to list it) 2014-10-10 14:49:32 +02:00
Jigar Patel 10c342aff1 [IMP] hr_recruitment: switched job state selection order 2014-10-10 14:48:17 +02:00
Jigar Patel b98b3b6d95 [IMP] hr: job position: better state help + job positions are now open by default. 2014-09-09 12:50:39 +02:00
Christophe Simonis 31bf30d2d0 [MERGE] forward port of branch 8.0 up to ed1c173 2014-09-05 15:28:22 +02:00
Richard Mathot e236c27cdc [IMP] hr: strenghtening of write() 2014-08-19 12:50:59 +02:00
ssh-odoo 77ea2fe76b [IMP] hr: first employee is named after admin 2014-08-18 14:18:11 +02:00
Olivier Dony 2bbff57691 [IMP] hr,mail,product,project,base: use @auto_join=True on _inherits FK field
This can give a performance boost on large databases
and should not be a concern in terms of access control
as the inheritance already grants access to the parent
records.
2014-08-07 18:03:08 +02:00
Mansi Kariya 9c83c48bc0 [IMP] hr modules: needaction, subtypes and department-based improvements.
This commit prepares some cleaning in various hr-related modules that are
about to land in master. There are mainly improvements on subtypes. The
subtypes are now linked to department subtypes, allowing to follow some records
based on the department (like project/task/issue).
2014-07-31 16:59:29 +02:00
rlu-odoo 8b67a7202d [REF] OpenERP --> Odoo in various UI texts
Rebranding has been done in:
- data/demo files
- html templates
- help notices
- comments
- logger messages
- and other various messages

(Commit taken from odoo-dev:8.0-improve-openerp-odoo-rlu at rev 7deaa08)

Closes #1260
2014-07-18 13:45:41 +02:00
Christophe Simonis a5419ca800 [MERGE] forward port of branch saas-5 up to e0759c1 2014-07-15 11:21:59 +02:00
Olivier Dony e31fd6a1e1 [MERGE] Fwd-port saas-3 up to a9d2b65 2014-07-11 11:53:07 +02:00
Olivier Dony a9d2b65da5 [MERGE] Fwd-port 7.0 up to 783b9e1 2014-07-11 11:51:06 +02:00
Richard Mathot 117a26babe [FIX] hr: call hr_employee super's when unlinking
Also fixes some weird inheritance bugs in upper versions
2014-07-11 11:41:17 +02:00
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Jaydeep Barot 026e38b48f [REM] Unnecessary size parameters on char fields 2014-06-25 17:13:43 +02:00
Christophe Simonis eef6330c55 [MERGE] forward port of branch saas-5 up to adf07a9 2014-06-19 16:23:32 +02:00
Christophe Simonis 5087612d1d [MERGE] forward port of branch saas-3 up to bf53aed 2014-06-19 15:44:07 +02:00
Denis Ledoux 3c0292645f [MERGE] Forward-port of 7.0 bugfixes up to 63ea0df73f 2014-06-16 17:37:10 +02:00
Thibault Delavallée e95545dcf0 [FIX] hr: typo in a field definition 2014-06-12 17:32:32 +02:00
Thibault Delavallée e5379bc1a0 [IMP] project: task: added reviewer_id field, linking towards a res.users, that is the
reviewer of the task. This field is automatically tracked, using a small update of the get_auto_subscribe_fields method that is
weirdly implemented.
2014-06-11 10:40:39 +02:00
Christophe Simonis 1091b24a0c [MERGE] forward port of branch saas-3 up to revid 9450 chs@openerp.com-20140507153348-g2qw61dkxvps13br
bzr revid: chs@openerp.com-20140507160023-8wwqlbf3bv7yqe67
2014-05-07 18:00:23 +02:00
Christophe Simonis 1953aa442f [MERGE] forward port of branch 7.0 up to revid 10037 mat@openerp.com-20140507133552-v4qsdp7qdp9iwewi
bzr revid: chs@openerp.com-20140507153348-g2qw61dkxvps13br
2014-05-07 17:33:48 +02:00
Martin Trigaux fab9da65d9 [MERGE] [FIX] hr: when duplicating an employee or user, do not duplicate the reference to other employees (opw 607313)
bzr revid: mat@openerp.com-20140505101313-5y72gs2xpgokhxl1
2014-05-05 12:13:13 +02:00
Amit Vora (OpenERP) da4cf6d55c [FIX] override copy method to avoid duplicate child ids
lp bug: https://launchpad.net/bugs/1256437 fixed

bzr revid: voraamitr@gmail.com-20140226061623-255kguaytkex9a8m
2014-02-26 11:46:23 +05:30
Thibault Delavallée 79a0a10f93 [MERGE] [IMP] hr: broadcast the welcome message only for new employee coming
from the recruitment, not all created employees.
Before this merge, every created employee was broadcasted to all existing users
of the same company. However when creating a batch of employees, for example
when configuring an new openerp instance, this was creating a lot of noise
in the inboxes.
Now, only recruited employee have a welcome message.

bzr revid: tde@openerp.com-20140218162958-2rr967jh9zu2spwe
2014-02-18 17:29:58 +01:00
Turkesh Patel (Open ERP) 49351f6edb [IMP] create new method to broadcast message to employess in hr.
bzr revid: tpa@tinyerp.com-20140212111238-3b3ddlwl3062fjef
2014-02-12 16:42:38 +05:30
Turkesh Patel (Open ERP) 6d17db2101 [MRG] merge with lp:openobject-addons
bzr revid: tpa@tinyerp.com-20140212104340-0vv22hxz3fdhy1dy
2014-02-12 16:13:40 +05:30
Thibault Delavallée 610ebaef85 [CLEAN] hr: moved color field + an action in hr_recruitment, because they are used in this module + removed unnecessary code
bzr revid: tde@openerp.com-20140211120433-f34jsy7xjga1ultt
2014-02-11 13:04:33 +01:00
Thibault Delavallée 923028c4db [CLEAN] hr: review and cleaning before merging
- hr.py: small cleaning of job code + method renaming + context propagation + compat-mode for
method renaming
- hr_view: job_id on employee form is no longer 'no_open', because otoherwise it is impossible
to see jobs. Removed simplified form for job. Better form for job, recruitmnet-related stuff
is invisible when job is 'open'.

bzr revid: tde@openerp.com-20140210161326-c9qqff69squehg9v
2014-02-10 17:13:26 +01:00
Turkesh Patel (Open ERP) f94df0e389 [MRG] merge with lp:openobject-addons
bzr revid: tpa@tinyerp.com-20140210072100-p3ry9oq4eklwt9k0
2014-02-10 12:51:00 +05:30
Turkesh Patel (Open ERP) 181aee3c50 [IMP] as per TDE's suggetion dont move code of posting message in hr_recruitment just do it based on context key
bzr revid: tpa@tinyerp.com-20140205060500-v70n8oy9rm1dflwf
2014-02-05 11:35:00 +05:30
Turkesh Patel (Open ERP) 130dac62e8 [MRG] merge with lp:openobject-addons
bzr revid: tpa@tinyerp.com-20140205052603-296obc5otpu72fsu
2014-02-05 10:56:03 +05:30
Antony Lesuisse 033c38c304 [MERGE] trunk
bzr revid: al@openerp.com-20140129021916-ckb3rplmcpjbqel3
2014-01-29 03:19:16 +01:00
Antony Lesuisse da020d326d [IMP] hr.department cleanup
- Consolidate multiple hr.departement definition into hr.py file
- Remove ulgy department_users_get() domain hack on act_window
- Add the jobs_ids inverse relationship from departement to jobs

bzr revid: al@openerp.com-20140129002913-5qgq10jy9u3xn74e
2014-01-29 01:29:13 +01:00
Turkesh Patel (Open ERP) 584a7b27f2 [IMP] improved code, remove unneccesary changes and convert application_count function field to one2many field.
bzr revid: tpa@tinyerp.com-20131224072224-b7gq9z4mqhyh7540
2013-12-24 12:52:24 +05:30
Turkesh Patel (Open ERP) 50d67b6461 [IMP] post welcome employee message only if employee created from applicant.
bzr revid: tpa@tinyerp.com-20131223102329-147mo4x9o1mc59lq
2013-12-23 15:53:29 +05:30
Christophe Matthieu fd2821086f [MERGE] sync with trunk
bzr revid: chm@openerp.com-20131202150925-eqsi0uu0fqtwimhj
2013-12-02 16:09:25 +01:00
Turkesh Patel (Open ERP) 982549b31a [MRG] merge with lp:openobject-addons
bzr revid: tpa@tinyerp.com-20131126124206-gw02bnwnerl5dzrv
2013-11-26 18:12:06 +05:30
Christophe Simonis bb1e256f5b [MERGE] forward port of branch saas-2 up to revid 9010 dle@openerp.com-20131125143003-vjtzj1c5051pdnk3
bzr revid: chs@openerp.com-20131125150054-b135qshkx6icakgk
2013-11-25 16:00:54 +01:00
Fabien Pinckaers 1129cc5d39 [FIX] HR Recruitment, numbers
bzr revid: fp@openerp.com-20131116095814-xk9wu0mqhxrh847c
2013-11-16 10:58:14 +01:00
Fabien Pinckaers 46072d92ef [REVERT] partially reverted wrong change
bzr revid: fp@openerp.com-20131111224509-xxpw3qltvib53rhj
2013-11-11 23:45:09 +01:00
Fabien Pinckaers 43af25742e [IMP] some fixes in HR: #employees -> integer not float, forecasted employees is fixed and 'in recruitment' is computed so that it is still correct after doing a new recruitment
bzr revid: fp@openerp.com-20131111203209-cpoqpwsvepkl1elx
2013-11-11 21:32:09 +01:00
Turkesh Patel (Open ERP) f901a761e0 [IMP] set hired employees also 0 on copy
bzr revid: tpa@tinyerp.com-20131030072414-3r9alrqe6om3z7um
2013-10-30 12:54:14 +05:30
Olivier Dony b1c221e9c4 [FIX] hr: notification about new employee joining should only be sent to employees (base.group_user)
In the future we should directly use the
`Whole Company` mail.group, but this does
not work well enough now, as recipients
will not be able to directly go to the
employee record (e.g. to follow her)

bzr revid: odo@openerp.com-20131023155340-z2e78xo3vb7yq008
2013-10-23 17:53:40 +02:00
Turkesh Patel (Open ERP) c463ba221e [IMP] improved copy method to do not copy employees related to job.
bzr revid: tpa@tinyerp.com-20131022064625-x6p0hro241dlz118
2013-10-22 12:16:25 +05:30