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