Commit Graph
54 Commits
Author SHA1 Message Date
Tanguy Charlier 16bf40f7c4 [IMP] hr_timesheet: Timesheet entries are now related to projects
- Hide account_id field and add a required project_id field on timesheet entries
- Remove is_timesheet field: as project_id is only required for timesheet entries and not for other analytic lines, it can be used to determine wether a line is a timeheet entry or not.
- Remove project_timesheet module as all its functionalities are moved to hr_timesheet
- Replace timesheets on contract option on products by timesheets on project
- Small fixes and improvements in timesheets and projects views and groups
2016-02-18 01:25:55 +01:00
Nicolas Martinelli fd8e9da7e3 [FIX] hr_timesheet_sheet: link account line and sheet
When an expense is recorded and linked to an analytic account, the
associated line will appear in the timesheet.

This fix links prevents linking an account analytic line to a timesheet
sheet if the line is not a timesheet.

Somehow related to a4b6e3a8

opw-657917
2015-12-22 14:57:47 +01:00
Nicolas Martinelli e021a08b30 [IMP] hr*: adaptation due to the new Sale module
Major changes:
- No use of UoS anymore
- No journal since invoicing is managed in Sale
- No invoicing from timesheet

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:10:18 +02:00
Joren Van Onder 7b32ca8452 [IMP] hr_timesheet: get rid of the "Service" product
The existence of the "Service" product caused issues when users would
eg. remove this product.

We allow user to create timsheets even if they dont have an employee associated
or if the product is missing on the employee. Those timesheets can still be
invoiced using the force product field of the wizard.

product_id is left blank if it cannot be deduced from the associated employee
and the amount is zero.

account_id is left blank we it not required anymore

journal_id is set the first general journal found.
2015-08-03 21:51:59 +02:00
qdp-odoo c04065abd8 [IMP] accounting v9. Yeeeeaah 2015-05-05 17:28:04 +02:00
qdp-odoo 81364790b9 [FIX] fixed tools/yaml_import.py in order to give correct context when computing default values and when evaluating the o2m fields + misc fixes among several modules to correct the errors that the fix on yaml_import revealed. PR #5612 2015-03-05 16:20:18 +01:00
cod-odoo a301b4c7fc [MOVE] account: moved account/project files to analytic or account, depending on which module the moved code belongs to. This allows to remove references to project in account module. Also added some improvements in project when deleting a project (delete account if void) or when deleting an account (delete project if void). 2014-08-04 13:23:46 +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
Thibault Delavallée 1a6eb52a32 [MERGE] [IMP] hr_payroll: improved demo data and yml tests demo data
bzr revid: tde@openerp.com-20130904141110-svlfpvl3ddu12al7
2013-09-04 16:11:10 +02:00
Olivier Dony 788eb29237 [MERGE] Forward-port of 7.0 bugfixes up to rev.9369 rev-id: launchpad_translations_on_behalf_of_openerp-20130820051502-deoiql3lru7goosd
bzr revid: odo@openerp.com-20130820152607-0p0fx87v1rqhk3vy
2013-08-20 17:26:07 +02:00
Laetitia Gangloff (Acsone) c167918f88 test: correct some try/except test
bzr revid: laetitia.gangloff@acsone.eu-20130809070605-w6ti80ljpv5zsh2p
2013-08-09 09:06:05 +02:00
Laetitia Gangloff (Acsone) 3a369e15c2 test: correct some try/except test
bzr revid: laetitia.gangloff@acsone.eu-20130808143622-7kk0p7ve786kg1yd
2013-08-08 16:36:22 +02:00
Thibault Delavallée a05b0bebbe [FORWARD] Forward port of 7.0 branch until revision 9143.
bzr revid: tde@openerp.com-20130521122359-b5vii7gv8arluz06
2013-05-21 14:23:59 +02:00
Quentin (OpenERP) 7351a7312d [FIX] hr_timesheet: improved perfomances on the read of timesheet sheets
bzr revid: qdp-launchpad@openerp.com-20130508085938-a2uyalx1cy2musj0
2013-05-08 10:59:38 +02:00
Vo Minh Thu 9bb5ee90e4 [IMP] removed unused netsvc imports.
bzr revid: vmt@openerp.com-20130222161029-zecwro75yra2vz0d
2013-02-22 17:10:29 +01:00
Vo Minh Thu 854dd54f47 [FIX] import netsvc from the openerp namespace.
bzr revid: vmt@openerp.com-20130209070923-db3hqz16exe6m6i4
2013-02-09 08:09:23 +01:00
niv-openerp e020a58b5f Removed some tests that are now useless
bzr revid: nicolas.vanhoren@openerp.com-20121004083433-86d2y81qdfio086c
2012-10-04 10:34:33 +02:00
niv-openerp 66b62190c7 Removed date_current more
bzr revid: nicolas.vanhoren@openerp.com-20121002151520-q1m2tpgbfmcvxzux
2012-10-02 17:15:20 +02:00
Fabien Pinckaers fabf4971aa [FIX] timesheet_sheet should not crash anymmore when tests are performed at 23:59
bzr revid: fp@tinyerp.com-20120917081451-ugk1qi0le22kn44n
2012-09-17 10:14:51 +02:00
Fabien Pinckaers e52e1d76ef [FIX] fixed a bug in the tests scenario that made runbot crashes on sunday evening (24:00-8.25)
bzr revid: fp@openerp.com-20120916201114-87of782oa0wv9j64
2012-09-16 22:11:14 +02:00
Harry (OpenERP) 86b4fac6dc [MERGE]
bzr revid: hmo@tinyerp.com-20120905133804-6fmqbv70oun3y3cn
2012-09-05 19:08:04 +05:30
Cecile Tonglet ad9e544f04 [FIX] Bad employeee demo
bzr revid: cto@openerp.com-20120903120600-dpeq5gnnmn5qd500
2012-09-03 14:06:00 +02:00
Cecile Tonglet 4da6c7b2bc [FIX] make tests works
bzr revid: cto@openerp.com-20120831165521-6h5q0r2abgt0nlpt
2012-08-31 18:55:21 +02:00
Rucha (Open ERP) 780bdb4a29 [IMP]: product: Changed xml_id of product in data file from product_product_0 to product_product_consultant to identify this record easily when accessing from py
bzr revid: rpa@tinyerp.com-20120726113914-gvpo9rx7fan77w3f
2012-07-26 17:09:14 +05:30
Rucha (Open ERP) 2558625eba [IMP]: product: Improved reference of product_consultant
bzr revid: rpa@tinyerp.com-20120703062321-w81hoysgssgwktbj
2012-07-03 11:53:21 +05:30
Rucha (Open ERP) 189fd8e390 [IMP]: (Work in progress)* Changed demo references according to changes in server, Aim is to add more common names and easy demo.
* Improved xml_id of demo like res_partner_1 instead of specific record name like res_partner_asus so in future we can change that record value easily avoiding confusions in names

bzr revid: rpa@tinyerp.com-20120619071624-3d9mcl9m76gp2s0c
2012-06-19 12:46:24 +05:30
Harry (OpenERP) 80ef7b58dd [IMP] hr_timesheet_sheet: improve API to signin/signout with new method 'attendance_action_change'
bzr revid: hmo@tinyerp.com-20120511073320-ilnxqtenca01l563
2012-05-11 13:03:20 +05:30
Quentin (OpenERP) 9b9f9fa75b [FIX] hr_timesheet_sheet: fixed yaml test
bzr revid: qdp-launchpad@openerp.com-20120314170050-kma11l6wz66vxv8v
2012-03-14 18:00:50 +01:00
Mayur Maheshwari (OpenERP) 5e6bec7de6 [FIX]crm,hr_contract,hr_timesheet_sheet,lunch: remove a user_id from record in yml
lp bug: https://launchpad.net/bugs/827287 fixed

bzr revid: mma@tinyerp.com-20120110104057-p16tjp48u1xdp072
2012-01-10 16:10:57 +05:30
Raphael Collet 76882d565d [FIX] hr_timesheet_sheet: fix incorrect datetime computation in test
bzr revid: rco@openerp.com-20120110083450-58txqb3phhax4yut
2012-01-10 09:34:50 +01:00
Bharat Devnani (OpenERP) 636840e844 [FIX] hr : improved test cases in hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml
bzr revid: bde@tinyerp.com-20120109105042-d52ii907hr2rd2wz
2012-01-09 16:20:42 +05:30
Raphael Collet a078b524c7 [FIX] missing definitions of xml ids hr.employee1, etc.
bzr revid: rco@openerp.com-20111222133559-mq58fblnrkhykguu
2011-12-22 14:35:59 +01:00
Raphael Collet bc40611002 [IMP] hr_timesheet: small code and test cleanup
bzr revid: rco@openerp.com-20111221105214-kgwedzef47lvoii8
2011-12-21 11:52:14 +01:00
Hemendra Paregi (Open ERP) 98cf8b318c [IMP] Improvement in YML
bzr revid: hpa@tinyerp.com-20111220065042-m4ebxsy2tl04yzf1
2011-12-20 12:20:42 +05:30
Hemendra Paregi (Open ERP) 540134eff2 [MERGE]Improvement in yml file
bzr revid: hpa@tinyerp.com-20111209064132-88p4ym4t451xqrwf
2011-12-09 12:11:32 +05:30
Fabien Pinckaers a60ca41282 [FIX] misc onchange YAML bugs
bzr revid: fp@tinyerp.com-20111114223119-iy5u2hlkpvo4qknp
2011-11-14 23:31:19 +01:00
Ujjvala Collins (OpenERP) 1c37d6d169 [IMP] hr, hr_xxx: Improved yamls to save data fetched from on change methods.
bzr revid: uco@tinyerp.com-20111108093329-sgfisy6uyb6dr2bi
2011-11-08 15:03:29 +05:30
Ujjvala Collins (OpenERP) b99ce24793 [MERGE]: Merged with trunk-addons.
bzr revid: uco@tinyerp.com-20111108083655-tu5u488okyudvts0
2011-11-08 14:06:55 +05:30
Quentin (OpenERP) c829e12bd2 [FIX] moved product_consultant data into the module product, as the hr_timesheet module is not the only one using it (sale do as well)
lp bug: https://launchpad.net/bugs/877495 fixed

bzr revid: qdp-launchpad@openerp.com-20111018153152-s7op06lppfu2p0up
2011-10-18 17:31:52 +02:00
Ujjvala Collins (OpenERP) 4b38a40c3d [IMP] hr_timesheet_sheet: Improved yaml, added test cases for some methods.
bzr revid: uco@tinyerp.com-20110923122733-rgjt5coflc4xj7gc
2011-09-23 17:57:33 +05:30
Olivier Dony c121f79c60 [FIX] hr_timesheet_sheet: make timesheet test more robust depending on time of execution
bzr revid: odo@openerp.com-20110718110350-jn12uvei3h63e8c2
2011-07-18 13:03:50 +02:00
Antony Lesuisse ab3cab8955 [FIX] hr_timesheet_sheet test fix, marital is a selection
bzr revid: al@openerp.com-20110712145726-6zv3ip3qvtpmdtbb
2011-07-12 16:57:26 +02:00
skh 6e53fe7629 [FIX] hr_timesheet_sheet: fix yaml to make dynamic dates for new timesheet remove hardcoding
bzr revid: skh@tinyerp.com-20110506102710-be1zaqnlwdkd9abf
2011-05-06 15:57:10 +05:30
ARA (OpenERP) 55329ffbf6 [FIX] hr_timesheet_*: fix yml warning
bzr revid: ara@tinyerp.com-20110503130024-rs4iyy2tjcmyn7y0
2011-05-03 18:30:24 +05:30
qdp-launchpad@tinyerp.com 2df4a68377 [MERGE] merged the dev3 branch
bzr revid: qdp-launchpad@tinyerp.com-20110114001101-wk77opsrvslh7pak
2011-01-14 01:11:01 +01:00
mtr 3d7e6eb788 [IMP] account_followup,auction,base_calendar,crm,hr*,idea,lunch:changed static date of 2010 to current date
bzr revid: mtr@mtr-20110106053608-whpiu8tu9xkoo1ix
2011-01-06 11:06:08 +05:30
husen f433b959c2 merged with trunk
bzr revid: husen@husen-laptop-20101230095809-cl6dkve1odgdtqtv
2010-12-30 15:28:09 +05:30
Jay (OpenERP) 48c6af52fe [FIX] Regression fixed by a commit 4240 which made employee_id field mandatory
bzr revid: jvo@tinyerp.com-20101006185316-d1u5tjc2ng01hb0t
2010-10-07 00:23:16 +05:30
Olivier Dony be2f05745f [IMP] hr_*,idea,stock_planning: enforce unambiguous ISO date format for date[time] fields in YAML tests
bzr revid: odo@openerp.com-20100916144405-ktoka7d1m4re1rg2
2010-09-16 16:44:05 +02:00
PSI(OpenERP) 300eea6300 [IMP] hr improvements
bzr revid: mra@mra-laptop-20100820113054-mayxce6dsf6b316n
2010-08-20 17:00:54 +05:30