Olivier Dony
7e66bd9d55
[FIX] orm.search_read: drop active_test context flag during the read() step
...
The active_test flag is meant for search(),
but when passed to search_read() it was also
propagated to the read() call.
This has little consequence normally because
read() ignores this flag, but it can have
side-effects when reading x2m fields or
function fields. They are likely to call
search() somewhere downstream, still with
the propagated active_test flag, while
it should not be applied anymore.
Ultimately dropping this flag could be
done by read() in all cases, but changing
search_read() is less likely to block
exotic cases where the flag was passed
on purpose. Moving it to read() could
be done as a later step.
2014-05-13 17:29:35 +02:00
Martin Trigaux
7dbfcede36
[FIX] sale_stock: when checkign the available quantity, do not include uom as it is already present in the context and will be included in the computation of product_obj.virtual_available (opw 607150)
...
fixing error message that does not match chosen units when not enough stock
2014-05-13 17:02:13 +02:00
Xavier Morel
6369400f5b
[FIX] website_forum: restrict a bunch of controllers to POST-only, convert a few more links to buttons
2014-05-13 16:57:12 +02:00
Fabien Meghazi
c3cfc4bc32
[MERGE] sitemap backport, merge trunk from 9438 til 9440
...
merge from 9438 revid:fp@tinyerp.com-20140511115231-g8ke14r9iepyypv4 til 9440 revid:fp@tinyerp.com-20140511143314-nzn1239l00arbxjq
2014-05-13 16:38:31 +02:00
Martin Trigaux
c50d82ddea
[FIX] crm: make days to close and days to open simple calendar delta
...
When computing the duration to close or to open a lead, do not use some kind of complex computation with working days. It does not make sense to use the number of intervals with the number of days. The computation was incorrect and very slow.
Replaced by simple calendar delta.
2014-05-13 16:09:26 +02:00
Fabien Meghazi
c321b3f2f7
[MERGE] upstream
2014-05-13 16:00:27 +02:00
Anael Closson
5bc76f63e9
[FIX] sale_stock: error message does not match chosen units when not enough stock.
2014-05-13 14:19:45 +02:00
Anael Closson
11a9c2d409
[FIX] sale_stock: new product uom is done twice in sale order line on change - opw 607150
...
[FIX] sale_stock: comparing stock and sale order line qty is always done with default uom rounding precision
2014-05-13 14:00:06 +02:00
Christophe Simonis
08c504d39e
[FIX] web: Dialog: avoid triggering "closing" twice.
2014-05-13 13:38:10 +02:00
Xavier Morel
3ca44e9324
[FIX] partner website URLs in demo data so they can actually be embedded in website pages
2014-05-13 11:41:20 +02:00
Xavier Morel
53d859ba9c
[FIX] a bunch of incomplete website URLs
2014-05-13 10:49:42 +02:00
Denis Ledoux
709e22c32a
[FIX] sale: sale report view, wrong domain
...
Quotations are sale.order with state draft and sent
Sale orders are sale.order with state other than draft, sent and cancel
2014-05-13 10:15:01 +02:00
Launchpad Translations on behalf of openerp
f173d926c8
Launchpad automatic translations update.
2014-05-13 06:28:52 +00:00
Launchpad Translations on behalf of openerp
0e41af84a9
Launchpad automatic translations update.
2014-05-13 06:28:18 +00:00
Christophe Simonis
4922c5363e
[FIX] website_{customer,partner,crm_partner_assign}: correct views and controllers
2014-05-12 19:51:21 +02:00
Martin Trigaux
00a4845bc7
[FIX] website_blog: fix broken change cover wizard
2014-05-13 12:31:57 +02:00
Xavier Morel
eed75b620d
[FIX] website_forum: replace deprecated country by country_id
2014-05-13 12:15:23 +02:00
Xavier Morel
ef06e5087a
[FIX] various website modules, re-enable crawler tests
...
* fix crawler to discard URL fragments before deduplicating and crawling
* fix website_forum links which should not be links (either because their urls
are JSON-RPC methods or because their urls are side-effecting
* remove stray print statements
* side-improvements (simplifications) to some methods
2014-05-13 11:42:05 +02:00
Xavier Morel
36bb8acfab
[IMP] website_event_track: simplify event_agenda
2014-05-13 10:49:24 +02:00
Thibault Delavallée
e863668bc3
[IMP] email_template simplified form view: add link to website
2014-05-13 10:35:09 +02:00
Richard Mathot (OpenERP)
f012baf71f
[MERGE][FIX] website_event_track: display days in chronological order
2014-05-13 10:01:00 +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
Richard Mathot (OpenERP)
5cf2386e72
[FIX] website_event_track: display days in chronological order
2014-05-13 09:28:03 +02:00
Xavier Morel
023aa7acdf
[FIX] website_forum links which should not be, post-install crawler
...
* move URLs of purely-JS-hook <a> to data-href so the crawler does not try to
access them (they're JSON-RPC endpoints...)
* replace side-effecting links (...) by styled buttons
* fix crawler to not take fragments in account when deduplicating and
navigating URLs
2014-05-12 18:34:55 +02:00
Richard Mathot (OpenERP)
2cc170980d
[MERGE][FIX] URL generation in blog template
2014-05-12 16:38:49 +02:00
Richard Mathot (OpenERP)
d34c54dbb6
[FIX] URL generation in blog template
2014-05-12 16:20:48 +02:00
Martin Trigaux
fc7a31f842
[FIX] ir_ui_view: remove undetermist order on search for views as the _order on the model is more specific (opw 607262)
...
This was problematic on some views where two views with the same priority could be chosen depending on the server, postgresql version and the age of the captain
2014-05-12 14:56:30 +02:00
Martin Trigaux
55ac64258f
[FIX] gamification: correct name of ir.rule fixing bad copy-paste
...
bzr revid: mat@openerp.com-20140512085041-b0euexzgxgvb30oe
2014-05-12 10:50:41 +02:00
Denis Ledoux
e70fc38f2f
[FIX] crm: The get_formview_id method does not expect a model arg anymore
...
bzr revid: dle@openerp.com-20140512075919-ewldirr5ejd5py13
2014-05-12 09:59:19 +02:00
Denis Ledoux
d2716e2db9
[ADD] hw_escpos: TM-T20II printer added in supported device list
...
bzr revid: dle@openerp.com-20140512074150-9wepj7andgwrgj7x
2014-05-12 09:41:50 +02:00
Launchpad Translations on behalf of openerp
8c139b01e7
Launchpad automatic translations update.
2014-05-12 06:38:16 +00:00
Launchpad Translations on behalf of openerp
1397b7aa34
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140510075539-empsrh7k5l6q44ln
bzr revid: launchpad_translations_on_behalf_of_openerp-20140510075505-nu0zmfg57i2352lz
bzr revid: launchpad_translations_on_behalf_of_openerp-20140511070820-8xp1e2jxonp4i750
bzr revid: launchpad_translations_on_behalf_of_openerp-20140503064840-v6n2wyrm1l162bh4
bzr revid: launchpad_translations_on_behalf_of_openerp-20140504062728-9tmsk2r01vvs3avi
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506072722-8xpshoxb4um6ef30
bzr revid: launchpad_translations_on_behalf_of_openerp-20140511070841-lboiasc73m8h3fb2
2014-05-11 07:08:41 +00:00
Fabien Meghazi
dbd6e4362a
[MOV] ir.ui.view#write() forced noupdate moved in website (RTE only)
...
bzr revid: fme@openerp.com-20140509164408-rtml4brrhpiv4zz9
2014-05-09 18:44:08 +02:00
Fabien Meghazi
09d530268f
[MOV] ir.ui.view#write() forced noupdate moved in website (RTE only)
...
bzr revid: fme@openerp.com-20140509164338-gnz7p3qxt8etrh5w
2014-05-09 18:43:38 +02:00
Fabien Meghazi
501ad7abeb
[IMP] dumb code
...
bzr revid: fme@openerp.com-20140509151855-7v4hp08qvmac1u2d
2014-05-09 17:18:55 +02:00
Fabien Meghazi
7caabb8f75
[MERGE] upsteam
...
bzr revid: fme@openerp.com-20140509144608-btah4s8zorzon2jo
2014-05-09 16:46:08 +02:00
Fabien Meghazi
f506fc45a3
[MOV] ir.ui.view#write() forced noupdate moved in website (RTE only)
...
bzr revid: fme@openerp.com-20140509141106-vbokuh0prptxavvg
2014-05-09 16:11:06 +02:00
Fabien Meghazi
69a93b07c7
[MOV] ir.ui.view#write() forced noupdate moved in website (RTE only)
...
bzr revid: fme@openerp.com-20140509141024-xa9mawoye3o8e6c1
2014-05-09 16:10:24 +02:00
Thibault Delavallée
b9c62c7adb
[MERGE] [ADD] mass_mailing: add a snippet to allow subscribing to a contact list (newsletter). Also cleaned the wording of the snippet allowing to subscribe do a discussion group to avoid confusion.
...
bzr revid: tde@openerp.com-20140509135051-tt1blzojwtpt86lr
2014-05-09 15:50:51 +02:00
Martin Trigaux
dab3557253
[FIX] website_forum: correct the 'Editor' goal definition, the field author_id on a mail_message is a m2o to res.partner and not res.users
...
bzr revid: mat@openerp.com-20140509134434-6u2ft2gyv0hcryxq
2014-05-09 15:44:34 +02:00
Thibault Delavallée
6f60eb218f
[IMP] subscribe to group / newsletter widgets: wording cleaning
...
bzr revid: tde@openerp.com-20140509132156-qbmop9au07cllgkk
2014-05-09 15:21:56 +02:00
Martin Trigaux
3691ee0ca7
[FIX] gamification: avoid challenge to be initialised at the target limit (e.g. set your company data goal has a target of 0) and make sure we will compute the goal at least once
...
bzr revid: mat@openerp.com-20140509131839-lm5zt696sif1krvx
2014-05-09 15:18:39 +02:00
Kersten Jeremy
9e141c760c
[FIX] Kanban / Modal - Close the backdrop from dialog when we open the dialog for add a new column in kanban view. This bug was introduced since with use bootstrap modal
...
bzr revid: jke@openerp.com-20140509131203-4gy3nhlj0v6fk7zv
2014-05-09 15:12:03 +02:00
Martin Trigaux
b87db84c0d
[FIX] ir_values: try to evaluate the given expression before saving it in pickle form (opw 607398)
...
The value_unpickled given by xml data is usualy already evaluated but when it is given by the web client, a str is recieved by the method (as the field is a text field). In the later case, we need to evaluate the field before storing to be correctly evaluated as a default value.
bzr revid: mat@openerp.com-20140509130412-ki211x7qdccdnv5w
2014-05-09 15:04:12 +02:00
Thibault Delavallée
4c4d610336
[IMP] mass_mailing: added newsletter as mailing list data + imported contact still demo data
...
bzr revid: tde@openerp.com-20140509125358-2kjc462ttrnxmpxm
2014-05-09 14:53:58 +02:00
Thibault Delavallée
da20dc9899
[IMP] website_mail: rename newsletter mail group to discussion group
...
to avoid confusion with mass mailing mailing lists and newsletters.
bzr revid: tde@openerp.com-20140509125118-obvdjkgreyiez8k9
2014-05-09 14:51:18 +02:00
Thibault Delavallée
ad65e32cc2
[MERGE] Sync with upstream (saas-4)
...
bzr revid: tde@openerp.com-20140507090057-24hacfi1jxs6ob5g
bzr revid: tde@openerp.com-20140509124711-v82rqm57nyc0jlcm
2014-05-09 14:47:11 +02:00
Kersten Jeremy
0826340b8a
[FIX] Event - Don't update the context but a copy when we recompute dates with the timezone specified for the event.
...
bzr revid: jke@openerp.com-20140509123121-xchv133t7gh0e5nh
2014-05-09 14:31:21 +02:00
Kersten Jeremy
67fb735b50
[FIX] Event - Allow to specify the timezone from the event and use it in template mail.
...
bzr revid: jke@openerp.com-20140509121827-3ngkf93jhduobcoa
2014-05-09 14:18:27 +02:00
Cedric Snauwaert
dee000be14
[FIX]modal: when closing a modal, focus previous one to allow several escape hit key
...
bzr revid: csn@openerp.com-20140509094836-yhncaqp60od67w7k
2014-05-09 11:48:36 +02:00