Commit Graph
44 Commits
Author SHA1 Message Date
fja-odoo 617eba9417 [IMP] website_form, *: entirely review s_website_form snippet
*: web_editor, website_crm, website_form_project,
website_hr_recruitment, website_sale

The form builder is now using the left panel option system. Many new
options are introduced to build better forms more quickly.

The tests are now running with the new website_form implementation.

Part of: https://github.com/odoo/odoo/pull/42189
task-2092425

closes odoo/odoo#42189

Related: odoo/enterprise#7365
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-02-05 16:13:25 +00:00
Benjamin Vray 465b79829c [IMP] website_hr_recruitment: review website job
Add an option to add a right sidebar on the job list page.
Redesign the job list page and the job description page.
Integrate existing website snippets to customize the job description
page in the editor.

task-2145266

closes odoo/odoo#43655

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-02-03 08:30:00 +00:00
Romain Derie fdbf11643f [IMP] *: move test and tour files to new folder hierarchy and asset
As we now have a new debug mode 'tests' which load a new asset bundle
containing tour-test files, we moved those files to a new folder hierarchy.
That will clean the .js files trees.
Also, those files should be included in the new asset.

Basically, the .js tour files (not test) should be inside /static/src/js/tours
while .js tour test files (test=true) should be inside /static/tests/tours next
to QUnit tests, inside a tours folder.

+ test_new_api: don't run the test in debug assets

task-1934445
Comes with https://github.com/odoo/enterprise/pull/4281
Closes #33213
2019-06-05 05:56:33 +00:00
Jigar Patel 6c3de37761 [IMP] website_hr_recruitment: add default attributes for 'Job' form
task-32212
2019-04-19 10:39:21 +00:00
lbs-odoo 414ac1a49a [IMP] hr_recruitment : add residence country on website job apply form
- add residence_country field on hr.applicant
- adapt javascript tour to take into account this new field
- modify hr.applicant form view to integrate this new field
- modify website job apply form template to integrate this new field

Task ID : 1896305

closes odoo/odoo#30458

Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-03-06 14:56:12 +00:00
qsm-odoo da1899af48 [REF] *: definitely get rid of web_editor.base
* portal, sale, website, website_blog, website_crm, website_event,
  website_event_sale, website_forum, website_hr_recruitment,
  website_sale, website_sale_wishlist

At last, that ugly JS module can be removed. Before this current PR, it
was still used to wait for "page ready", to initialize widgets on page
loading. Now, all can be done thanks to public root and public widgets.

web_editor.base was also still used in tours, which should not be
necessary anymore for the same reason, especially since the tour manager
waits for the public root naturally.

Part of https://github.com/odoo/odoo/pull/29442
task-1932066
2019-02-27 10:02:46 +00:00
Cocographique 4dce6cc98b [IMP] website, *: review snippets and colors
* web, web_editor, website_hr_recruitment, website_mail_channel,
  website_mass_mailing

- Review all snippets and add new ones
- Add lots of new options
- Use odoo colors as default theme colors

task-38878
2018-08-13 18:30:01 +02:00
qsm-odoo d8c217a67d [REF] *: BS4, review color system
Odoo used to declare two main colors: primary and optional (which are
purple and turquoise in enterprise). Those were respectively assigned
to the 'primary' bootstrap variable and the 'btn-primary' bootstrap
variable.

BS4, however, does not allow to have a different primary color for
buttons. Instead, the 'primary' color is used for all 'primary' related
components and utility classes, same as for all other colors. So, if we
want to keep our enterprise buttons green, our 'optional' colors had to
become our 'primary' color. The old odoo primary is then renamed to the
'odoo' color.

The palette of grays is now larger by default and is numbered from 100 to
900 alongside the $black and $white variables. The equivalence for older
variables and the way we used them is:

$gray-darker          ->  gray 900 (unused before)
$gray-dark            ->  gray 900
$gray                 ->  gray 700
$gray-light           ->  gray 600
$gray-lighter-darker  ->  gray 400 (the old variable was created by us)
$gray-lighter-dark    ->  gray 300 (the old variable was created by us)
$gray-lighter         ->  gray 200

Fortunately, the 'lighter' variations we created fit well in the default
BS4 system ! Unfortunately, our $gray-lighter which carried the same
function as $gray-200 (see above) is very close to the new default
$gray-100 and quite distant from the new $gray-200. This will be handled
in the next commit.
2018-07-27 12:36:54 +02:00
qsm-odoo 97aa0a8dec [REF] *: convert less content to scss content
Convert content so that the assets compile on app installation. The
style is still broken after this as the variables/mixins/... are not
defined in the right order (as it did not matter in LESS but does in
SCSS).

This commit basically changes:
- Variables: @​var_hello -> $var-hello
- Mixins: .mixin_world() {} -> @​mixin mixin-world {}
- Classes used as mixin: .my_class() -> @​extend .my_class
    - Here there were no other solution than to convert the use of
      a mixin call by the use of an extend as a first approximation
- LESS functions -> SCSS functions (e.g. fade -> rgba)
- Move first variable definition before the variable is used
    - Still need to make sure last variable definition is at the
      right place
2018-04-18 15:59:16 +02:00
qsm-odoo b04dec4025 [REF] *: rename all LESS files to SCSS
This is a simple renaming without adaptation.
2018-04-18 15:59:15 +02:00
stefanorigano 680ab98860 [IMP] website_hr_recruitment: easily edit the default template 2017-07-03 11:43:33 +02:00
Jeremy Kersten 9edaf9fdf0 [IMP] website_form, website_hr_recruitment: improve thankyou page
Improve thank page after the application to a job.
Stop duplicate Magic field, using global fields
Add helper method on website to retreive the last created record
2017-03-10 18:20:11 +01:00
Christophe Matthieu 48fccec1f2 [IMP] website_hr_recruitment: convert tours to use web_tour.tour 2016-08-30 13:54:28 +02:00
Csaba Fazekas 00cfb0889b [IMP] website_hr_recruitment: new job position default template 2016-08-23 11:42:05 +02:00
Xavier Morel 4d44b33ffe [IMP] crm & hr_recruitment tours: remove unnecessary tours
To check for result of a tour, would run a second tour performing
JSON-RPC calls to check if the first tour had correctly impacted the
database.

Tours are expensive, an empty tour takes ~6s without doing anything.

Replace second tour by regular ORM calls.
2015-09-04 12:59:27 +02:00
David Monjoie a77f5cf42f [ADD] website_form: generic form controller
Contains a new ajax post function that comes from mdo's
original code and that I was not able to get rid of.
2015-08-26 16:01:19 +02:00
Simon Lejeune 195fa93168 [MERGE] backend front end integration
Render the top-menu (backend menu or frontend editbar) server-side.
Use Fontawesome icons (mail, timezone, chat).
Refactor website widgets, split Website.editorBarin editorbar, ace, editorbar- content, editorbarCustomize.
2014-06-27 11:03:34 +02:00
Fabien Meghazi b0cbaf330a [IMP] website: load website.xml templates only in editable mode
bzr revid: fme@openerp.com-20140505113800-wv5vh802us270oez
2014-05-05 13:38:00 +02: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
Christophe Matthieu 4ff1af4d01 [FIX] website: display or not editor edit button; website_sale: test tour; website: contact qweb widget
bzr revid: chm@openerp.com-20140121123912-0ya4ziusj09efti3
2014-01-21 13:39:12 +01:00
Christophe Matthieu 4ff74cbf99 [IMP] website: editor menus is displayed in function of users groups (event, blog...)
bzr revid: chm@openerp.com-20140116180535-c736cuxn12qghiea
2014-01-16 19:05:35 +01:00
Xavier Morel f2fa5b5e62 [IMP] website_hr_recruitment: only iterate once on jobs to get addresses and departments, extract browsing
bzr revid: xmo@openerp.com-20131125135211-mwuoj4g0474r4byn
2013-11-25 14:52:11 +01:00
Fabien Meghazi 7598bcdb98 [ADD] Content menu links splitted per modules
TODO: website.prompt() should be finished for Add a blog post link

Added @id=editable_scripts_hook in layout template so modules can easly add *.editor.js files

bzr revid: fme@openerp.com-20131113171438-3l0wo08ta5vsulq3
2013-11-13 18:14:38 +01:00
Christophe Matthieu bfc8f61984 [FIX] website: can choose an other controller to publish data. Website sale: add a contraint for address and organizer for publish an event. Auto publish address and organizer in front end. Clean website_hr_recruitment publisher
bzr revid: chm@openerp.com-20131104155230-j36l2e1fez0vnkwi
2013-11-04 16:52:30 +01:00
Christophe Matthieu 84e24d62b5 [IMP] add website_hr_recruitment
Module for jobs displayed on the website.
The public user can apply or follow the jobs.

little fixes in website_mail

bzr revid: chm@openerp.com-20131002115603-ikgipps88vbf69ef
2013-10-02 13:56:03 +02:00
bth-openerp 77a8dcdb39 [IMP]In comparision snippet statement displayed in 1line.
bzr revid: bth@tinyerp.com-20130930135533-noxxi0aw64mbjidq
2013-09-30 19:25:33 +05:30
bth-openerp 06fb56ec8b [IMP]IMproved code for publish as per main branch.
bzr revid: bth@tinyerp.com-20130927060207-ssj30gad3xuchqsb
2013-09-27 11:32:07 +05:30
bth-openerp e984021107 [IMP]Added imnges for developer.
bzr revid: bth@tinyerp.com-20130925131706-bopkk84un7ukpr5q
2013-09-25 18:47:06 +05:30
bth-openerp 83dee1fd78 [IMP]Improve code for publish and removed div.
bzr revid: bth@tinyerp.com-20130920103846-dx3hlg9clu95u2mh
2013-09-20 16:08:46 +05:30
bth-openerp 6a4d0f0270 [IMP]View is changed like event.
bzr revid: bth@tinyerp.com-20130920085839-o7jxsr7a9oa2h73o
2013-09-20 14:28:39 +05:30
bth-openerp bea9ea9d24 [IMP]Email is not entered then return.
bzr revid: bth@tinyerp.com-20130919093033-0d1dir0fyqbaql80
2013-09-19 15:00:33 +05:30
Paramjit Singh Sahota d543cb31f7 [IMP] remove the title Job name
bzr revid: psa@tinyerp.com-20130919085918-sccfkrai1s44yvdk
2013-09-19 14:29:18 +05:30
Paramjit Singh Sahota 9b956fcb3a [IMP] Make the job position clickable and non clickable on publish and unpublish.
bzr revid: psa@tinyerp.com-20130913103545-9mh7bb4xmjai6u3c
2013-09-13 16:05:45 +05:30
Paramjit Singh Sahota 20323e3eac [IMP] Changed webcontext to website and clear the email input after subscribe.
bzr revid: psa@tinyerp.com-20130913085944-d6315wj8f75uoms4
2013-09-13 14:29:44 +05:30
bth-openerp 5093f52887 [IMP]Improved code for publish and subscribe.
bzr revid: bth@tinyerp.com-20130905102511-338aevjlwe3jktcc
2013-09-05 15:55:11 +05:30
bth-openerp fdb48df20f [IMP]Improved code for add group and subscribe using mail group.
bzr revid: bth@tinyerp.com-20130904132628-hcubl7wo85euxni9
2013-09-04 18:56:28 +05:30
bth-openerp d22223df14 [IMP]Convert into bootstrap 3.0 and removed publish.
bzr revid: bth@tinyerp.com-20130904123017-v3q93lxrlr9yt58l
2013-09-04 18:00:17 +05:30
bth-openerp 74ae0e99a8 [IMP]Improved code for subscribe and unsubscribe and removed unneccesary code.
bzr revid: bth@tinyerp.com-20130822073718-32ibwy5li2b510ot
2013-08-22 13:07:18 +05:30
bth-openerp 26d3154f2d [IMP]Added subscribed/unsubscribed.
bzr revid: bth@tinyerp.com-20130821133927-er9tpo9hucwo5ylg
2013-08-21 19:09:27 +05:30
bth-openerp 78314bd805 [IMP]Onclick of publish/unpublish value is changed of recruitment or no recruitment message is there.
bzr revid: bth@tinyerp.com-20130821074839-e5i73a8pmacetknb
2013-08-21 13:18:39 +05:30
bth-openerp ed55a11ae7 [ADD]Added file recruitment.js
bzr revid: bth@tinyerp.com-20130821064937-60f9997w8t6yo0yl
2013-08-21 12:19:37 +05:30
Paramjit Singh Sahota 9ad4edf35c [REM] Removed the captcha plugin.
bzr revid: psa@tinyerp.com-20130812093847-xp734gjsu21moiov
2013-08-12 15:08:47 +05:30
bth-openerp efae961fb8 [IMP]Implemet captch on apply job form.
bzr revid: bth@tinyerp.com-20130801125857-lb5qso72vb5wahf8
2013-08-01 18:28:57 +05:30
bth-openerp e196c6f2ba [REN]Rename website_career to website_hr_recruitment.
bzr revid: bth@tinyerp.com-20130801064503-bcl1cxprqdyno9qb
2013-08-01 12:15:03 +05:30