Commit Graph
83232 Commits
Author SHA1 Message Date
Denis Ledoux 4818a83f26 [FIX] point_of_sale: validate and closing pos sessoin handle multi company
When the user who validated and closed the pos session was not the same user who created the session, and if this user was not in the same company, it wasnt possible to validate and close the pos session.

This explanation if also valid if the user who created the pos session changed of company in his preferences between the creation and the validation.

bzr revid: dle@openerp.com-20140206163444-ckcmurcwk2vhi5vp
2014-02-06 17:34:44 +01:00
Martin Trigaux 610010876b [ADD] stock: update pot file to latest version of translations
bzr revid: mat@openerp.com-20140206160059-7fkwb6havgazmttg
2014-02-06 17:00:59 +01:00
Martin Trigaux f79172c7b5 [MERGE] [FIX] mail: mail: backport of saas-2 revision 9065 and 9081 and security improvements.
Add followers before super call in mail_thread creation.
This allows to have a value for the _set_followers call and be able to have record rules based on followers at creation.

Set the priority of message_follower_ids fields to -10 (default is 0) to be sure it will be executed before other function fields using these followers (eg: _set_stage_per_user from note.note does a browse which would trigger record rules to read the note)

Context hack to avoid checking read access at creation of the record (check create rules instead)

lp bug: https://launchpad.net/bugs/1259913 fixed

bzr revid: mat@openerp.com-20140206121438-epghqo042ync24v5
2014-02-06 13:14:38 +01:00
Martin Trigaux 5ebcb64c34 [IMP] mail: in case of creation, still check creation access rights for subscription
bzr revid: mat@openerp.com-20140206120109-6h2vz1ulu33t1509
2014-02-06 13:01:09 +01:00
Thibault Delavallée 4420bdf831 [FIX] mail: followers widget: is_follower was not computed if the current user
was not in the first 10 displayed followers of the document. Compute is_follower
based on all followers, not just the first 10.

bzr revid: tde@openerp.com-20140206112145-ibir7cj6wxe1ksgt
2014-02-06 12:21:45 +01:00
Martin Trigaux 922836d8cd [IMP] mail: check at least access_rights in case of creation
bzr revid: mat@openerp.com-20140206110327-zar4yl03r1lympx6
2014-02-06 12:03:27 +01:00
Martin Trigaux 7407f3c888 [FIX] mail: backport of saas-2 revision 9065 and 9081.
Make sure the user is subscribed before the super() call in mail_thread. This allows to have follower based record rules working (eg: note.note)

bzr revid: mat@openerp.com-20140206104714-anpehaik4wajnfrw
2014-02-06 11:47:14 +01:00
Anael Closson 30d22d327e [FIX] typo, wrong ordering of lines
bzr revid: acl@openerp.com-20140205125208-8ds2hxfqnuqsngbd
2014-02-05 13:52:08 +01:00
Anael Closson f6207124f9 [FIX] OPW 598942 : orm read_group doesn't take referenced fields or aggregated fields in account when sorting
Sorting was done using a search on ids that where found in a custom SQL field,
only 1 record among aggregated records with same groupby value was used
when using search for ordering, resulting data ordered on
max(aggregated_data).field_value instead of sum(aggregated_data.field_value).

lp bug: https://launchpad.net/bugs/106086 fixed

bzr revid: acl@openerp.com-20140203125854-ypi0bu0lbhatg9b1
2014-02-03 13:58:54 +01:00
Cedric Snauwaert e41b26f4e0 [FIX]putaway location should be taken into account when force_assign a move
lp bug: https://launchpad.net/bugs/1273635 fixed

bzr revid: csn@openerp.com-20140129100410-6r185w2jkm4oporu
2014-01-29 11:04:10 +01:00
Christophe Matthieu 911d95eabd [FIX] website_sale: display the line name in my cart
bzr revid: chm@openerp.com-20140129095900-iux7i0flrtg1qj2t
2014-01-29 10:59:00 +01:00
Gery Debongnie 1edb992857 [IMP] removes the hardcoded Day, Month, Year value in crm.phonecall.report model and updates the corresponding view (addon crm)
bzr revid: ged@openerp.com-20140129095655-xn031hst4yw79kna
2014-01-29 10:56:55 +01:00
Fabien Pinckaers 1486e52927 [IMP] better apps names
bzr revid: fp@tinyerp.com-20140129095132-fl2fnhxlk4pxanj8
2014-01-29 10:51:32 +01:00
Christophe Matthieu 5b54fa0061 [IMP] website_event_sale: don't display reduction for product event in my cart
bzr revid: chm@openerp.com-20140129094220-alhq9n8eevc3fvbt
2014-01-29 10:42:20 +01:00
Fabien Pinckaers ca2991908c [IMP] Typo
bzr revid: fp@tinyerp.com-20140129093309-o567mh3bdstx121j
2014-01-29 10:33:09 +01:00
Gery Debongnie a482809cf9 [FIX] correctly compute the attribute 'length' in a query_group so that the list view properly display groups when grouped by 'date:interval' (addon web)
bzr revid: ged@openerp.com-20140129092359-20kw6n3sxqobiqu5
2014-01-29 10:23:59 +01:00
Christophe Matthieu 2b3ad30f8a [FIX] website: change auth=admin into auth=public. Fix website_project link
bzr revid: chm@openerp.com-20140129091050-w2d7dbigflwod1uj
2014-01-29 10:10:50 +01:00
Josse Colpaert 7848349e53 [ADD] Add files now needed in mrp instead of stock
bzr revid: jco@openerp.com-20140129085303-war5qlk5pqkf3gfg
2014-01-29 09:53:03 +01:00
Gery Debongnie cffcc5ea18 [FIX] hopefully, properly uses the user's timezone when performing a readgroup (in orm.py)
bzr revid: ged@openerp.com-20140129084721-6m4cfg087vhqb51d
2014-01-29 09:47:21 +01:00
Launchpad Translations on behalf of openerp 4d3a623af7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140128070310-721zmkmw0ocyz6im
bzr revid: launchpad_translations_on_behalf_of_openerp-20140129060326-647er2mw0mfn2j5s
2014-01-29 06:03:26 +00:00
Antony Lesuisse dc439ea9ca [FIX] ir.model.data conversion typo
bzr revid: al@openerp.com-20140129053533-dcx97b9opmqzrhmw
2014-01-29 06:35:33 +01:00
Antony Lesuisse 6f8d8434dc [FIX] website_hr_recruitment full cleanups
- keep url namespace under /jobs
- public mode fixes
- moved jobs_ids field in hr_recruitment
- simplify code, remove dead code and data

bzr revid: al@openerp.com-20140129051403-cipao0bllxa85gsg
2014-01-29 06:14:03 +01:00
Antony Lesuisse 8bed2fb861 [FIX] ir_ui_view noupdate only if arch change, otherwise it flags them when you check them in customize
bzr revid: al@openerp.com-20140129051009-iuqpdz8a6qta6dx5
2014-01-29 06:10:09 +01:00
Antony Lesuisse 7eebddd09a [IMP] ir_ui_view try to add search on xml_id, doesnt seem to work
bzr revid: al@openerp.com-20140129050341-bbu8csko2rcofv13
2014-01-29 06:03:41 +01:00
Antony Lesuisse 9aed30381e [FIX] ir.model.data more faithful backward compatibilty
bzr revid: al@openerp.com-20140129032053-nb5x1oll6mkpw86h
2014-01-29 04:20:53 +01:00
Antony Lesuisse 6b7d9f2bac [IMP] ir.model.data new api
bzr revid: al@openerp.com-20140129030853-aqm4nu8buhj9gu7n
2014-01-29 04:08:53 +01:00
Antony Lesuisse 928f25a4f1 [IMP] ir.model.data clean up xmlid lookup mess
- introduce a new xmlid_ set of function with a single cache and raise_on_not_found=False
- implement backward compatible api based on the new one

bzr revid: al@openerp.com-20140129030256-pqj3eay9vf4w2m14
2014-01-29 04:02:56 +01:00
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
Fabien Pinckaers 70f5cb99cd [IMP] put column widget back again
bzr revid: fp@tinyerp.com-20140128235218-7u5aljut4duxflde
2014-01-29 00:52:18 +01:00
Fabien Pinckaers 0d734eb74e [IMP] Product Tour
bzr revid: fp@tinyerp.com-20140128223623-t9autfy4iin20e20
2014-01-28 23:36:23 +01:00
Fabien Pinckaers 0f224b4857 [IMP] event
bzr revid: fp@tinyerp.com-20140128222135-py7grrnngy2goyt0
2014-01-28 23:21:35 +01:00
Fabien Pinckaers 321a21df15 [IMP] removing add column widget
bzr revid: fp@tinyerp.com-20140128221704-hxymw16ttpukrpog
2014-01-28 23:17:04 +01:00
Fabien Pinckaers f768a186b2 [IMP] Blog Tutorial
bzr revid: fp@tinyerp.com-20140128215446-kcli2g34s34qlyqw
2014-01-28 22:54:46 +01:00
Fabien Meghazi b91b265cb8 [IMP] Use ensure_db() for /web and /web/login. Logout controller does not clear the db anymore
bzr revid: fme@openerp.com-20140128211802-9y77th2zojfhp35q
2014-01-28 22:18:02 +01:00
Fabien Meghazi 031523fa5b [FIX] use of http#ensure_db in auth_* modules
bzr revid: fme@openerp.com-20140128211723-3135gyn0raxjz8qc
2014-01-28 22:17:23 +01:00
Fabien Meghazi cfaadc0433 [ADD] http#ensure_db()
A helper that allows to force a db in the controller context otherwise redirect to database selector

Used for /web, /web/login and auth_* modules

bzr revid: fme@openerp.com-20140128211550-vmhy5nu0qbi33qh5
2014-01-28 22:15:50 +01:00
Antony Lesuisse c1e7f7fe5b [FIX] base_geolocalize unlist removed demo file
bzr revid: al@openerp.com-20140128205823-wfaw6v4i4axv3fbv
2014-01-28 21:58:23 +01:00
Antony Lesuisse 94746ae827 [FIX] website_sale remove usless size
bzr revid: al@openerp.com-20140128205328-r5gwz7zfndjmdurq
2014-01-28 21:53:28 +01:00
Antony Lesuisse d4bbe13963 [REM] t-href is now t-attf-href
bzr revid: al@openerp.com-20140128205017-47rxm2xbb84dmjas
2014-01-28 21:50:17 +01:00
Denis Ledoux 14cd12e3ba [FIX] im: no need to see im.user to send him a message
bzr revid: dle@openerp.com-20140128203621-gjjxaf9tw33li52h
2014-01-28 21:36:21 +01:00
Fabien Meghazi 326c35aecd [IMP] Merge bananas and cumcumbers in order to prepare the t-href|t-action removal
bzr revid: fme@openerp.com-20140128201417-1elmttz8qen9q3ws
2014-01-28 21:14:17 +01:00
Christophe Simonis adac86d0ce [FIX] website_sale: redirect to shop when trying to pay an empty cart
bzr revid: chs@openerp.com-20140128201258-nq4t5axsz3vmrjiw
2014-01-28 21:12:58 +01:00
Fabien Meghazi 38e651cbd2 [REM] Removed t-href|t-action|t-src from server's ir.qweb. Restor add_template for template preprocessing
bzr revid: fme@openerp.com-20140128201235-iv2gwjt1jn00bwoo
2014-01-28 21:12:35 +01:00
Denis Ledoux f9af9fae12 [FIX] im: wrong access rule (user_ids in an array of ids, not an array of tuple (id, name)) + useless arg passed to ensure_users
bzr revid: dle@openerp.com-20140128195718-47861aq02r3mqdf8
2014-01-28 20:57:18 +01:00
Denis Ledoux b090a05a36 [FIX] im: history in order
bzr revid: dle@openerp.com-20140128190235-rauds4lp3h8jqhqr
2014-01-28 20:02:35 +01:00
Olivier Dony 53a0ca20a3 [IMP] website_sale: promo code should not be translatable
bzr revid: odo@openerp.com-20140128190013-91v14eauzqt5nip0
2014-01-28 20:00:13 +01:00
Olivier Dony 1457e2c6a5 [FIX] event: useless @oldname on SQL view model
bzr revid: odo@openerp.com-20140128190007-sco31zofi20wae8d
2014-01-28 20:00:07 +01:00
Olivier Dony 52b811b7f9 [FIX] Incomplete merge during previous trunk sync
bzr revid: odo@openerp.com-20140128185736-p5s5oujsju1mj88k
2014-01-28 19:57:36 +01:00
Olivier Dony 95d3995614 [MERGE] Sync with trunk revno 5038 rev-id ged@openerp.com-20140127161125-2br49sy5bnyuen7f
bzr revid: odo@openerp.com-20140128184158-19hj4mg83jazp3nr
2014-01-28 19:41:58 +01:00