Commit Graph

169 Commits

Author SHA1 Message Date
Jeremy Kersten 8be29c33fa [IMP] website_crm: allow medium_id and section_id field to be overwrited by form 2015-02-05 09:50:36 +01:00
Olivier Dony 8e03852fd4 [I18N] Update translations from Launchpad 8.0 branches 2015-01-26 16:36:51 +01:00
Olivier Dony 495ec92251 [I18N] Update translations from Launchpad 8.0 branches 2015-01-21 15:36:54 +01:00
Olivier Dony 39f00b3637 [I18N] Update translation templates with latest terms
Total new terms: 270
Total deleted terms: 82
Total identical terms: 19653
Old total number of terms: 19735
New total number of terms: 19923
2015-01-21 15:31:22 +01:00
Yannick Tivisse ecb4638a70 [FIX] website_crm: 2 fixes commit, yeah
- admin is not follower anymore of all leads created through the
contact form. The famous no_subscribe key is added in the context
for that purpose.
- fixed medium and sales_team of the contact form leads. A bad
xml_id + bad use of get_object_reference + bad use of try/catch
prevented from having any of those. It now works correctly
even if the medium and/or sales team has been deleted.

Courtesy of Use Merge: Yannick Tivisse.
Reviewed by Use Merge: Thibault Delavallée.

I think this commit message is waaaay longer than the commit
itself, although I think I will never beat Olivier or
Martin. Those two are able to write 3 pages of commit messages
when doing a one-line fix. Well, this fix can be tricky
to understand but, hey, I am not writing stupid things just to
gain some characters. Not my style.

Have a good day.
2015-01-12 10:17:31 +01:00
Christophe Simonis 3e2eca45cb [FIX] website_crm: contactus: do not polute lead creation values 2014-11-21 15:05:48 +01:00
Olivier Dony a6d24db305 [I18N] Update translations from Launchpad 8.0 branches 2014-11-19 17:49:12 +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
Jeremy Kersten 0f6146ff2f [FIX] website_crm: remove useless request from params, anyway it's a global var 2014-10-15 17:54:25 +02:00
Olivier Dony 7439421ad2 [I18N] Update translations from Launchpad 8.0 branches 2014-10-08 17:52:25 +02:00
Jeremy Kersten 651d5748e3 [IMP] website_crm: allow the response from crm thanks page to be overridable 2014-10-06 14:34:29 +02:00
Jeremy Kersten ab7b5d7732 [FIX] website_crm: move the input hidden generated with kwargs at bottom of the form. Else, if the args is a field displayed later, form never look about the new value and error remains. When we post a form with 2 fields with the same name, we got only the first one into kwargs from controller. 2014-10-03 22:26:26 +02:00
Olivier Dony b74d830eb2 [I18N] Update translation templates with latest term changes 2014-09-23 19:13:50 +02:00
Olivier Dony 1c5b5e4290 [I18N] Update translations from Launchpad 8.0 branches
server: rev. 26 rev-id launchpad_translations_on_behalf_of_openerp-20140923072744-tkfs0yinu8msjh09
addons: rev. 39 rev-id launchpad_translations_on_behalf_of_openerp-20140923072715-5j7qvnuvmmb1zzy1
web: rev. 23 rev-id launchpad_translations_on_behalf_of_openerp-20140923072757-jvh9l6r2x0vfcyhb
2014-09-23 13:42:05 +02:00
Olivier Dony 53aa92d3c9 [I18N] Update translations from Launchpad branches 2014-09-18 11:47:16 +02:00
Jeremy Kersten 1a9f4471b6 [FIX] website_hr_recruitement: typo 2014-09-15 15:50:16 +02:00
Jeremy Kersten e049e56b3f [IMP] website_crm: keep the new id from the created lead to allow another function which override this one to get the new lead. 2014-09-12 15:58:59 +02:00
Olivier Dony fac96241df [I18N] Update 8.0 translations with latest changes from Launchpad 2014-09-08 19:04:25 +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
Fabien Pinckaers 8aca457e34 [IMP] Updated website urls on modules and info page 2014-08-26 21:40:18 +02:00
Olivier Dony 50ef63881a [I18N] Update 8.0 translation with latest source code 2014-08-14 17:01:54 +02:00
Fabien Pinckaers ef944dcd55 [IMP] Maifest for Github README.md on main apps 2014-08-12 11:33:15 +02:00
Christophe Simonis fd4fd35e32 [MERGE] forward port of branch saas-5 up to e4cb520 2014-07-30 20:52:14 +02:00
Christophe Simonis e4cb5202a0 [MERGE] forward port of branch saas-4 up to fa07bc8 2014-07-30 20:30:14 +02:00
Jeremy Kersten d63ef168a8 [IMP] website_crm: allow to specify a view_from and view_callback for a form. That will allow to redirect the user on another thanks page depending form the form. We add also a preRenderThanks method with allow to updates the values used by the thanks page rendering. 2014-07-28 14:41:48 +02:00
Olivier Dony ef53a831c6 [MERGE] Forward-port saas-5 up to a5f7891 2014-07-23 16:58:00 +02:00
Jeremy Kersten 5ae0b900f7 [IMP] website_crm - add kwargs into create_lead function. That allow to get some fields which will be already join in the description from values to custom the behavior from create_lead function 2014-07-23 15:43:59 +02:00
Denis Ledoux a5f7891b68 [MERGE] forward port of branch saas-4 up to 5739aebfb1 2014-07-23 13:18:30 +02:00
Jeremy Kersten a0ebd2c88e [IMP] website_crm: allow creation of the lead to be overrided. That avoid people to rewrite all the routine of the form if they want to change the default behavior at lead creation when form is submitted. 2014-07-23 11:15:07 +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 f654a7719b [MERGE] forward port of branch saas-5 up to 73d39a0 2014-07-10 22:49:53 +02:00
Christophe Matthieu 6183fb105e [FIX] website_crm: the path '/crm/contactus' have an error if you does'nt use the website contact form or if you reload the page, insead of redirect to contact form. 2014-07-09 10:45:35 +02:00
Jeremy Kersten faba7cd5aa [IMP] Crm: Add tracking mixin to manage utm campaign and add this mixin to mass_mailing, crm_lead and sale_order 2014-07-08 17:33:00 +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
Olivier Dony d9cda97cf4 [MERGE] Forward-port saas-4 up to 5ceded9 2014-07-05 01:28:19 +02:00
Olivier Dony 5ceded9d69 [MERGE] Forward-port saas-3 up to 4fa30f5 2014-07-05 01:04:19 +02:00
Jeremy Kersten b647795d73 [IMP] website_crm - cherry pick from 29ad0216e3 - Improve contact_us to fill in all fields from the model crm_lead posted in the form except a blacklist of fields. 2014-07-03 22:49:34 +02:00
Jeremy Kersten 72678c6551 [IMP] website_crm - cherry pick from 29ad0216e3 - Improve contact_us to fill in all fields from the model crm_lead posted in the form except a blacklist of fields. 2014-07-03 21:39:19 +02:00
Jeremy Kersten 3214dde029 [IMP] website_crm - cherry pick from 29ad0216e3 - Improve contact_us to fill in all fields from the model crm_lead posted in the form except a blacklist of fields. 2014-07-03 21:33:53 +02:00
Christophe Matthieu afc495a99e [FIX] website_crm: when there is an error in required field, user_id=False in the controller overwrite the user_id browse record to display the contact form template. 2014-06-06 09:56:40 +02:00
Xavier Morel e06f5b414b [IMP] inherit_option_id -> application 2014-05-27 12:13:51 +02:00
Christophe Simonis a756b82372 [MERGE] forward port of branch saas-4 up to revid bb26dea 2014-05-20 20:19:55 +02:00
Fabien Meghazi 35efb5bf5f [MERGE] upstream 2014-05-19 12:12:46 +02:00
Thibault Delavallée 37ccbada84 [FIX] website_sale, website_crm: website salesteam value in correct
module.
2014-05-14 17:34:43 +02:00
Fabien Meghazi e6e5ac048b [FIX] broken routes for pages 2014-05-14 12:11:24 +02:00
Thibault Delavallée a1e70ea0a4 [IMP] website_crm, website_sale: have only one salesteam to handle ecommerce and contact form.
The xml_id is now based on website.
2014-05-13 12:09:24 +02:00
Fabien Meghazi 8eed143112 [IMP] Invert multilang logic in route decorator. True by default, can be set to False explicitlty 2014-05-13 11:35:45 +02:00
Xavier Morel cc9d056711 [FIX] website_crm, website_event_sale: remove stray prints
also do some trivial cleanup/simplification of website_crm while at it:

* Initialize a dict directly via literal
* Use straightforward dict copy instead of whatever that convoluted crap was
* Use gencomp for set creation
* Lift a pair of keysets to the original dict creation
2014-05-13 09:56:28 +02:00
chm@openerp.com 0e062e61b2 [IMP] website_crm: designer can add input type file in form view. All files create an ir.attachment linked with the created lead
bzr revid: chm@openerp.com-20140408144110-4j9aljn2kgjt0adk
2014-04-08 16:41:10 +02:00
Christophe Simonis 0fad8159f3 [MERGE] forward port of branch saas-3 up to revid 9380 chs@openerp.com-20140407144439-10n8fs6zovodwwtx
bzr revid: chs@openerp.com-20140407163318-hh3jwfkj3o2c83lk
2014-04-07 18:33:18 +02:00
Denis Ledoux 73b3c851da [FIX] website*: remove unusable demo links from manifests
bzr revid: dle@openerp.com-20140403145128-9w92v4mmasz66mqj
2014-04-03 16:51:28 +02:00
chm@openerp.com d1798dcb36 [FIX] website_crm: textarea don't keep value when they are an error because the view use t-attf insead of value inside textarea tags
bzr revid: chm@openerp.com-20140311103537-mp6x2v015tyuimux
2014-03-11 11:35:37 +01:00
chm@openerp.com 697b72befc [IMP] website_crm: prefill form with query strig value
bzr revid: chm@openerp.com-20140311102946-l4razug7j701mska
2014-03-11 11:29:46 +01:00
chm@openerp.com b77521ae7f [FIX] website_crm: update post value and not values object
bzr revid: chm@openerp.com-20140310164204-q0nm93jmq10aa20x
2014-03-10 17:42:04 +01:00
chm@openerp.com 9aa0baf7dd website_crm: contact form improvement
get argument are processed and set into input fields + hidden fields
save some datas from http headers
controller should save all the submitted vars

bzr revid: chm@openerp.com-20140310162626-libizyxlycvuwo7h
2014-03-10 17:26:26 +01:00
Denis Ledoux 18532330d4 [FIX] *: replace urllib calls by werkzeug calls, as werkzeug handles utf-8 encoding while urllib doesnt
bzr revid: dle@openerp.com-20140130112408-8pdju26jnkyxvlw2
2014-01-30 12:24:08 +01:00
Denis Ledoux 905e92d81c [FIX] website_crm: contact us form create lead without salesteam and with channel 'Website'
No sales team is assigned because:
1. This is not cleary explained anywhere that the sales team which will have the lead should have "Website" in its code.
2. Assigning the leads coming from the website to one specific sales team is not enough generic and does not cover all cases. For instance, assignation can be done on the customer country/language, not that it comes from the website.
3. The actual way to filter leads coming from the site is to assign the channel "Website" to the lead

bzr revid: dle@openerp.com-20140129134114-686ytvsck8osrzr9
2014-01-29 14:41:14 +01:00
Fabien Pinckaers 1486e52927 [IMP] better apps names
bzr revid: fp@tinyerp.com-20140129095132-fl2fnhxlk4pxanj8
2014-01-29 10:51:32 +01:00
Fabien Pinckaers c974af606d [IMP] fix manifest links
bzr revid: fp@tinyerp.com-20140127224957-n3gb6x82n74w1xaq
2014-01-27 23:49:57 +01:00
Fabien Pinckaers 3e2c0c6d64 [FIX] showing help message for leads and its alias
bzr revid: fp@tinyerp.com-20140126093236-9djrusln4wvi3zdx
2014-01-26 10:32:36 +01:00
Christophe Matthieu 33eeff4448 [IMP] website_crm, website_sale: add a Website sale team and new lead and order to this sale team
[FIX] website_sale: remove auto assignation to administrator from website lead and order

bzr revid: chm@openerp.com-20140124114224-w80wd2ea0bx20ldk
2014-01-24 12:42:24 +01:00
Stephane Wirtel f27237b8dd [FIX] Set the auto_install flag to False
bzr revid: stw@openerp.com-20140123102632-2zhttz8u3vh29tct
2014-01-23 11:26:32 +01:00
Fabien Meghazi 14bb6060d7 [REM] Removed @website.route() decorator
Need trunk-website-al Rev#5151

bzr revid: fme@openerp.com-20140120153733-ve3dn2kwvha7n3yl
2014-01-20 16:37:33 +01:00
Christophe Matthieu 5593d53e94 [IMP] website_crm: auto install (and add the contact form in the contact us page) when install crm and website
bzr revid: chm@openerp.com-20140115142630-p3vfz2p3upilbthk
2014-01-15 15:26:30 +01:00
Christophe Matthieu 8d26804796 [FIX] website_crm: contact-us form
bzr revid: chm@openerp.com-20140107145400-32j6hgx8176llwxw
2014-01-07 15:54:00 +01: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 b777fddb30 [FIX] website_partner, website_crm_partner_assign, website_membership, website_customer: display partner without break access right
bzr revid: chm@openerp.com-20131205150801-tquspeo351to77o4
2013-12-05 16:08:01 +01:00
ddm 2db8e35792 [TODO] Re-enable when modules properly fixed (access rights)
bzr revid: ddm@openerp.com-20131204172334-9q0t4r4n5qd9w20b
2013-12-04 18:23:34 +01:00
Fabien Meghazi 6745bb3fed [FIX] font-awesome icons migration to v4
bzr revid: fme@openerp.com-20131203141632-ubc35ca7d4l80s7m
2013-12-03 15:16:32 +01:00
Fabien Meghazi 557d887496 [IMP] preprocess static @href|src|action, static url doesn't need t-href anymore
you need to pull server branch

bzr revid: fme@openerp.com-20131112144442-y9bw5q6kkoym8o1i
2013-11-12 15:44:42 +01:00
Xavier Morel 5ce1bfdddf [FIX] more templates which aren't actually pages
bzr revid: xmo@openerp.com-20131105151404-olp8wvdqx9yxuxj9
2013-11-05 16:14:04 +01:00
Fabien Meghazi 853cb1dd26 [MERGE] SEO meta data persistence. New template title handling
bzr revid: fme@openerp.com-20131014151509-6bnux7ncvqmy3tea
2013-10-14 17:15:09 +02:00
Thibault Delavallée 9415662718 [MOV] website_crm: moved data file into data directory (new module organization)
bzr revid: tde@openerp.com-20131014082401-3bkmrq7zmbxpjk5a
2013-10-14 10:24:01 +02:00
Fabien Meghazi 6a37c2fb82 [IMP] Use view 'name' as title for main_object of type ir.ui.view
bzr revid: fme@openerp.com-20131010145525-417zbwltyqzbjolz
2013-10-10 16:55:25 +02:00
Fabien Meghazi 9b40e849d6 [WIP] new title managment in templates. expose main_object for seo
bzr revid: fme@openerp.com-20131010132907-xxmg96qmcw9j5f2d
2013-10-10 15:29:07 +02:00
Fabien Pinckaers 230129c8fc [IMP] Add icon
bzr revid: fp@openerp.com-20131004232848-y5hr3ilp4fl9l83w
2013-10-05 01:28:48 +02:00
Fabien Pinckaers a7febabbbd [IMP] screenshots
bzr revid: fp@openerp.com-20131004232058-yfevm0tit410iq7l
2013-10-05 01:20:58 +02:00
Fabien Pinckaers 84f5774e3c [IMP] Adding files
bzr revid: fp@openerp.com-20131004231821-mpgxk44zrmcvjwlb
2013-10-05 01:18:21 +02:00
Thibault Delavallée fabe8d7208 [IMP] website_crm
- added error management in contact us form, using a new error argument in the view;
- improved thanks template, to display more like contactus with company description;
- extracted company description in website to be able to re-use it in thanks template
- added optional company_name in contactus form, used to flil partner_name in lead

bzr revid: tde@openerp.com-20131002114818-y369gu6u32uxry1m
2013-10-02 13:48:18 +02:00
Thibault Delavallée 81b0266ac3 [REF] website_google_map, website_crm, website_crm_partner_assign, website_membership: extracted res.partner model stuff into dedicated module and moved model-related stuff inside a models directory.
Website related fields on res.partner are now located inside their own module, in website_partner.
This module is a dependency for other modules that previously (re)defined various website fields.

Next step is to refactor a bit those modules, but one thing at a time. All glory to the hypnotoad.

bzr revid: tde@openerp.com-20131002092309-jlov4j1v6s9r6jyk
2013-10-02 11:23:09 +02:00
Thibault Delavallée 726cda367e [FIX] website and all derived addons: fixed imports broken when moving
website.py to models/ directory in website (revision 9491 revid:xmo@openerp.com-20130930145358-qh7xdicgg21prsk4).

bzr revid: tde@openerp.com-20131001085739-hoczgpqrv2nrr6lb
2013-10-01 10:57:39 +02:00
Fabien Meghazi ad42063349 [IMP] website_crm multilang
bzr revid: fme@openerp.com-20130926145845-pym8hr4atb6el9kn
2013-09-26 16:58:45 +02:00
Fabien Pinckaers 364995c7f4 [IMP] oe_structure, cleaning of wrap
bzr revid: fp@openerp.com-20130915172537-jbd04hmgqvzz71qb
2013-09-15 19:25:37 +02:00
Fabien Meghazi 0e82448ed8 [IMP] Refactor code + WIP multiwebsite
bzr revid: fme@openerp.com-20130910134133-esdgbhbtt8eguapk
2013-09-10 15:41:33 +02:00
Fabien Meghazi d2e90f0621 [BREAK] request.context everywhere
some stuff broken will be repaired by chm

bzr revid: fme@openerp.com-20130905151803-7d17us7rn9yubnb2
2013-09-05 17:18:03 +02:00
Fabien Meghazi 6621c1275b [IMP] Refactoring using `webcontext`
bzr revid: fme@openerp.com-20130904153236-gc78bs8pxeprktkr
2013-09-04 17:32:36 +02:00
Christophe Matthieu 5b83f20086 [IMP] website_crm: remove non used code
bzr revid: chm@openerp.com-20130830140858-hqku5ync7gxxzcb2
2013-08-30 16:08:58 +02:00
Christophe Matthieu dec8c40c11 [IMP] rename website_google_map; add demo for event
bzr revid: chm@openerp.com-20130830134026-88luqb16o6ny6voy
2013-08-30 15:40:26 +02:00
Fabien Pinckaers 1aea7145c7 [IMP] fixes bootstrap
bzr revid: fp@openerp.com-20130829220425-xxyub3uvrmdi13j4
2013-08-30 00:04:25 +02:00
Fabien Pinckaers 607e6f73e4 [IMP] bootstrap 3 mobile menu
bzr revid: fp@openerp.com-20130829204553-qyfk30am8tj4bm5n
2013-08-29 22:45:53 +02:00
Fabien Pinckaers 7768e28a7b [IMP] Bootstrap 3
bzr revid: fp@tinyerp.com-20130829175831-9f3sh4631m0jmq88
2013-08-29 19:58:31 +02:00
bth-openerp 4eee602d6e [MERGE]Merge lp:~openerp-dev/openobject-addons/trunk-website-al.
bzr revid: bth@tinyerp.com-20130829063717-t8kqjombb25gqmsb
2013-08-29 12:07:17 +05:30
Fabien Pinckaers cc2d285b84 [IMP] Open the right page after installing an app
bzr revid: fp@tinyerp.com-20130827151303-3z6r15vikxza7x11
2013-08-27 17:13:03 +02:00
bth-openerp 35216e1a53 [MERGE]Merge lp:~openerp-dev/openobject-addons/trunk-website-al.
bzr revid: bth@tinyerp.com-20130827125728-08li08bkjyia7vok
2013-08-27 18:27:28 +05:30
Christophe Matthieu 26fb3758e7 [IMP] website_crm_partner_assign: new module for display worldmap for list of partner. Call the template in an iframe (with get options: partner_id, width, height, partner_url).
bzr revid: chm@openerp.com-20130827102353-htupokzt9nmaiyeu
2013-08-27 12:23:53 +02:00
Paramjit Singh Sahota 7f0956b47e [IMP] Improved code of 'website_crm' to make it compatible according to bootstrap 3.0
bzr revid: psa@tinyerp.com-20130823130108-j92k3izdr38nnyl0
2013-08-23 18:31:08 +05:30
Fabien Pinckaers 6989e90f0a [IMP] Modules names
bzr revid: fp@tinyerp.com-20130812114917-d98hdknrr55ayq8g
2013-08-12 13:49:17 +02:00
Fabien Pinckaers d81b6b4fc8 [IMP] removed auto_install --> Apps menu makes it unuseful
bzr revid: fp@tinyerp.com-20130812114346-0t9v2eiwbimsrfp5
2013-08-12 13:43:46 +02:00
Fabien Pinckaers a416267806 [IMP] Website Apps
bzr revid: fp@tinyerp.com-20130811140619-a164pkqxwpdwrohc
2013-08-11 16:06:19 +02:00
Fabien Pinckaers 478b45a3ec [IMP] Improved feedback page for contact us
bzr revid: fp@tinyerp.com-20130810174209-wkbxjz7pszyyrnku
2013-08-10 19:42:09 +02:00