Commit Graph
48 Commits
Author SHA1 Message Date
qsm-odoo d66997dd39 [FIX] website_hr: restore employee publishing feature
Broken with https://github.com/odoo/odoo/commit/4ecbacaf59576a22ff45615a5aa5c67244e4fb93
2017-11-28 09:59:13 +01:00
rde 4ecbacaf59 [ADD] website: add new page management
website.page = old ir.ui.view with page=True
website.redirect is a new mechanism to replace in the futur the ir.attachment
mechanism of redirect.

From now, we don't have a specific /page controller to serve 'page'.

We use a new model website.page which is rendered if none route matches the url
 and that the field 'url' on website.page matches the request.httprequest.path.

The order to serve a path is:
    - Routes defines in controllers (/shop, /blog, ...)
    - ir.attachment with name matching the path
    - website.page with url matching the path
    - website.redirect with url_from matching the path
    - 404

To improve:
    - allow regexp in website.redirect model
    - allow to edit the view_arch from the page.management via redirect backend
      (needed when traceback in the page, or when modifying a js/css/less/...)
2017-09-15 15:29:37 +02:00
Xavier Morel cbffd99341 [IMP] use hasclass() xpath function 2017-08-11 10:44:40 +02:00
Christophe Simonis 6c4389df41 [MERGE] forward port branch 10.0 up to 6804085b8c 2017-01-23 14:33:53 +01:00
Martin Trigaux 2f1d3ad712 [FIX] website_hr: use correct group
Group present in hr and taggued accordingly since v10, not base
Introduced in forward port
2017-01-20 12:56:51 +01:00
Christophe Simonis 0b846861b6 [MERGE] forward port branch 10.0 up to 5dc1c57 2016-12-01 17:05:08 +01:00
Christophe Simonis 7842498934 [MERGE] forward port branch 9.0 up to 5bed95f 2016-12-01 15:33:21 +01:00
Denis Vermylen (dve) a82055c911 [FIX] hr_*: Make button box visible to employees
The employee form view button box should be enabled for employees,
it's up to each button in their respective modules to define
more restrictive groups, and in fact they already do
(see hr_holidays, hr_timesheet_sheet, hr_contract ...)

For example, hr_holidays adds the "Leaves left" smart button
which is supposed to be visible for employees looking at their own profile,
but it was actually hidden because they couldn't see the entire buttonbox.

Also added fixes to buttons that came afterwards and relied on this behavior.

fix for https://github.com/odoo/odoo/pull/14164
2016-11-28 14:50:15 +01:00
Kinjal Mehta b87e6e02a8 [IMP] general: Place (Un)Archive button as last button by default
PURPOSE
=======

Usability Issue of  "Archived" button. People tend to click on it accidentally

+ Also rename `Unarchive` into `Restore`
2016-10-21 09:34:13 +02:00
rsi-odoo 437bc69c84 [MIG] website_hr: code migration to new api. 2016-03-23 14:53:25 +01:00
rsi-odoo 4c96dd813e [MOV] website_hr: file renaming according to new api 2016-03-23 14:53:18 +01:00
Dharmraj Jhala 67a74ebe2b [IMP] website_hr: usability improvements
- Added module description
- Added public_info field to employee form view
- Fixed bootstrap columns height issue on About Us page
2015-08-14 10:22:39 +02:00
Christophe Simonis a304194936 [MERGE] forward port of branch saas-6 up to 81b5c60 2015-06-25 00:26:31 +02:00
Julien Legros b4d66099ca [IMP] website_*: website publish button
When clicking on the publish/unpublish button in a form view, if the
user does not belong to the `base.group_website_publisher` group,
fallback to a simple toggling behavior.
2015-06-19 12:22:46 +02:00
Nicolas Lempereur e765875700 [FIX] form_views: fix button box for new design
Now there should be only one button box per page, and the name should be
"button_box".

Conflicts:
	addons/crm/crm_tip_data.xml
	addons/event/event_tip_data.xml
	addons/fleet/fleet_view.xml
	addons/hr/hr_view.xml
	addons/hr_recruitment/hr_recruitment_view.xml
	addons/project/project_tip_data.xml
	addons/purchase/purchase_tip_data.xml
	addons/sale_crm/sale_crm_view.xml
	addons/website_quote/views/website_quotation_backend.xml
	openerp/addons/base/res/res_partner_view.xml

Conflicts:
	addons/account_reports/views/partner_view.xml

Conflicts:
	addons/claim_from_delivery/claim_delivery_view.xml
	addons/stock/stock_view.xml
2015-06-15 16:30:37 +02:00
David Monjoie b81d384c52 [IMP][REF] website_hr: add of published mixin, update of displayed
employees. Website publishers now see all employees + a publish button, like
for other website documents. Other people see the same published employees
as before.

The URL link for employees is not a specific url for each employee but the
about us page.
2015-01-20 17:34:33 +01:00
Fabien Meghazi bc5e6fa2cb [ADD] Helper for /website/image (allows to use aggressive cache) 2014-09-16 19:54:59 +02:00
Antony Lesuisse 2d296cb779 [MERGE] ir-ui-view split active and show_customize
Split the ternary field application in active and show_customize, all four
possible value are now needed for the customize theme popup.
2014-08-31 16:56:44 +02:00
Xavier Morel e06f5b414b [IMP] inherit_option_id -> application 2014-05-27 12:13:51 +02:00
Christophe Matthieu ee370a837c [IMP] website: Removing unnecessary spaces at beginning of line
bzr revid: chm@openerp.com-20131212105821-mqvxb7yc04cj5k2s
2013-12-12 11:58:21 +01:00
Christophe Matthieu 32ec9cccdd [IMP] website: views for drag and drop snippets
bzr revid: chm@openerp.com-20131128160851-xmepb4h6n0logclo
2013-11-28 17:08:51 +01:00
Christophe Matthieu 4dad2bb177 [FIX] website snippet: fix parallax; website.hr.recruitment; split snippet js
bzr revid: chm@openerp.com-20131112162036-neoyem1sus473tqr
2013-11-12 17:20:36 +01:00
Fabien Pinckaers 395310b276 [IMP] Job Announces
bzr revid: fp@openerp.com-20130929213721-ytbpd16l00lfjdd2
2013-09-29 23:37:21 +02:00
Fabien Pinckaers 15acb82c95 [IMP] optional job announces
bzr revid: fp@openerp.com-20130929213318-hmjedrv127ikg7u0
2013-09-29 23:33:18 +02:00
Fabien Pinckaers 87f65130f9 [IMP] view name
bzr revid: fp@openerp.com-20130929213142-amxpiezrlbqjhblt
2013-09-29 23:31:42 +02:00
Fabien Pinckaers 0ab6dfd448 [IMP] Our Team Page
bzr revid: fp@openerp.com-20130929212431-e833rd9kvf40eepj
2013-09-29 23:24:31 +02:00
Fabien Pinckaers 9f5a163bcb [IMP] Website HR WIP
bzr revid: fp@openerp.com-20130929182813-l6v41ud970gifqd6
2013-09-29 20:28:13 +02:00
Fabien Meghazi 426696aec7 [IMP] website_hr multilang
bzr revid: fme@openerp.com-20130926151136-x6zrixi7lmxxadgi
2013-09-26 17:11:36 +02:00
Christophe Matthieu c66c5d5b6a [IMP] change publish button, fix website_sale product order + push top/bottom
bzr revid: chm@openerp.com-20130926111854-22ikjc2enj0hi0qu
2013-09-26 13:18:54 +02:00
Xavier Morel e0662b11d0 [FIX] wrap the wrapper in order to allow RTE on all of the page (except the toolbar)
CKEditor does not work directly on body, and it's a bad idea anyway
(editing the edition toolbar won't end well). 

A big wrapper around all of the page's content can be used as RTE hook
to give access to the body as well as the header and footers.

bzr revid: xmo@openerp.com-20130918145028-6ppi9sro2un0quh5
2013-09-18 16:50:28 +02:00
Xavier Morel e132c19f5a [REM] reference to removed website_hr.js, unused static directory
bzr revid: xmo@openerp.com-20130911103640-sl6yzzq8o1wf5f0k
2013-09-11 12:36:40 +02:00
Christophe Matthieu 7fee8f5609 [IMP] website: change footer xml
bzr revid: chm@openerp.com-20130905092927-2aixeyk1z5ot4oku
2013-09-05 11:29:27 +02:00
Christophe Matthieu 91052e02c9 [IMP] website: apply publisher css to all website modules
bzr revid: chm@openerp.com-20130903110410-cxigps11scpr9dpr
2013-09-03 13:04:10 +02:00
bth-openerp e2c9e2a26e [IMP]Added class name.
bzr revid: bth@tinyerp.com-20130823132138-tq40mj780juni8ky
2013-08-23 18:51:38 +05:30
bth-openerp 860f76a011 [IMP]IMproved bootstrap 3 in website_hr module.
bzr revid: bth@tinyerp.com-20130823131720-aueyal8plqv7ttky
2013-08-23 18:47:20 +05:30
Fabien Meghazi e039e76883 [IMP] Improved template's t-foreach
You need to pull Rev#4980 of server/trunk-website-al

bzr revid: fme@openerp.com-20130821140953-zb2hdglg1nvp2ckq
2013-08-21 16:09:53 +02:00
Christophe Matthieu 30f643c641 [IMP] website: add '/website/image' controllers. Use img and google_map method in website_sale, website_event and website_hr
bzr revid: chm@openerp.com-20130814135741-t3bgdtzw2brq8edz
2013-08-14 15:57:41 +02:00
Christophe Matthieu 39d5bced7f [IMP] website: refact. javascript,xml for website publish button
bzr revid: chm@openerp.com-20130814083439-wvc07n0sg2vblq1y
2013-08-14 10:34:39 +02:00
Christophe Matthieu ba0230fa53 [FIX] website_hr: add javascript tag, website_sale: t-if for display number of product
bzr revid: chm@openerp.com-20130813142743-gwmmm2ik495ospbq
2013-08-13 16:27:43 +02:00
Christophe Matthieu e1958f2ad7 [IMP] website: change some name button in website addons
bzr revid: chm@openerp.com-20130813115247-b8rq6hytqbwn4eog
2013-08-13 13:52:47 +02:00
Christophe Matthieu 3f86396b4e [IMP] website: move hearder and footer in layout
bzr revid: chm@openerp.com-20130812093255-3cbehw7nx0h57qca
2013-08-12 11:32:55 +02:00
Christophe Matthieu ab61a67021 [IMP] website_hr: create page/aboutus and add Trombinoscope Teams
bzr revid: chm@openerp.com-20130808072115-9clevg0tqzir7kjc
2013-08-08 09:21:15 +02:00
Christophe Matthieu eff6013900 [IMP] website_hr: add public mail group: jobs
bzr revid: chm@openerp.com-20130807144850-7zkkoq4wr9wcke4p
2013-08-07 16:48:50 +02:00
Christophe Matthieu 24a790e95f [FIX] website_hr
bzr revid: chm@openerp.com-20130806153323-ctvf6y0yskaiwv8y
2013-08-06 17:33:23 +02:00
Christophe Matthieu bf86ccf433 [IMP] website: clean xml
bzr revid: chm@openerp.com-20130806080412-aq2mtf577zt1t3pl
2013-08-06 10:04:12 +02:00
Christophe Matthieu 89ddff91e3 [IMP] website_event
bzr revid: chm@openerp.com-20130802043526-btxa9x3xi5co9oru
2013-08-02 06:35:26 +02:00
Christophe Matthieu de0e2ab313 [IMP] website_hr
bzr revid: chm@openerp.com-20130802035434-zynhb3ogkozn8ak1
2013-08-02 05:54:34 +02:00
Christophe Matthieu 5950ebdd23 [IMP] website_hr: begin
bzr revid: chm@openerp.com-20130731135434-am7nqltt16riikxa
2013-07-31 15:54:34 +02:00