Commit Graph

87951 Commits

Author SHA1 Message Date
Martin Trigaux 95ba80f174 [FIX] warning: make blocking warning actually doing something (opw 607380)
Instead of raising an exception (which only interupt the call of the onchange methods), return a dictionnary to set the forbidden partner or product to an empty value.
The call is not blocking in a way it forbid to create a record that uses this partner/product but it make it not possible to select it through the web interface.

bzr revid: mat@openerp.com-20140507102550-sms5nbf0u7pdkci9
2014-05-07 12:25:50 +02:00
Denis Ledoux 883f695b67 [FIX] auth_oauth: missing field body in formview
The body is the field used to actually display the 'log in with ...'
As not shown in the view, when adding a new provider, this field was empty and therefore wasnt visible on the login form...

bzr revid: dle@openerp.com-20140507102414-vz7ur7zvh4ptuk2e
2014-05-07 12:24:14 +02:00
Gery Debongnie 9f3abe3ea4 [FIX] code cleanup (addon crm)
improves the method to count opportunities/meetings/phonecalls in res_partner.py.  It was bugged in two different way: the phonecall_count field was counting the number of meetings and not of phone calls, and it was in the try statement, so it might give an incorrect value if an exception occurs in the computation of opportunity/meeting

Also, remove useless meeting_ids one2many field in crm_lead.py and improves the method meeting_count

bzr revid: ged@openerp.com-20140507100954-1aqnd93iu5wsixob
2014-05-07 12:09:54 +02:00
Martin Trigaux fd50793820 [IMP] gamification: avoid subscription hacks and send directly relevant messages to followers of the challenge, remove the goals of users not matching the user domain anymore
bzr revid: mat@openerp.com-20140507095616-1xvetgj4qel7iqii
2014-05-07 11:56:16 +02:00
Gery Debongnie 88cef3a8eb [FIX] code cleanup (addon crm)
remove unused fields meeting_count and meeting_ids

bzr revid: ged@openerp.com-20140507094553-fwj05122ncr3uic1
2014-05-07 11:45:53 +02:00
Quentin (OpenERP) 62c08817e6 [REF] stock: stock.inventory's set_check_qty() renamed into reset_real_qty()
bzr revid: qdp-launchpad@openerp.com-20140507094440-f11xqs3iao3je3ib
2014-05-07 11:44:40 +02:00
Gery Debongnie ca5e95b7ef [FIX] code cleanup (addon stock)
improves the _move_count method by removing try statement and using better logic.  Also, removes now useless one2many field (move_ids)

bzr revid: ged@openerp.com-20140507093442-ew1gc06r58tbl9ug
2014-05-07 11:34:42 +02:00
Quentin (OpenERP) b3967dfece [REF] stock: renamed th_qty field into theoretical_qty for more clarity
bzr revid: qdp-launchpad@openerp.com-20140507093417-nvvifmnz0ds9z7fb
2014-05-07 11:34:17 +02:00
Quentin (OpenERP) 475d252dc4 [FIX] stock: removed unused fields on stock.picking.type + set the type of last_done_picking to char (actually it returns a list but i suppose it's the more appropriate/the closer)
bzr revid: qdp-launchpad@openerp.com-20140507093216-muojvor1d1tzj9gh
2014-05-07 11:32:16 +02:00
Gery Debongnie 2d924f3e22 [FIX] code cleanup (addon sale)
improves the _sales_count method in product.product by removing try/catch and by using better logic.  Also, removes now useless sales_ids one2many field.

bzr revid: ged@openerp.com-20140507092303-a2g4gq2mq3obelye
2014-05-07 11:23:03 +02:00
Quentin (OpenERP) 0170fe87bc [REF] removal of stock/wizard/mrp_procurement.py which was unused + refactoring of procurement.do_view_procurements() in order to use new API of ir.model.data
bzr revid: qdp-launchpad@openerp.com-20140507091818-hp6fgipxi1arpv4u
2014-05-07 11:18:18 +02:00
Gery Debongnie 298edf7217 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140507091210-2bhcz5azxmgcc37o
2014-05-07 11:12:10 +02:00
Gery Debongnie d8fef2825e [FIX] code cleanup (addon account_analytic_default)
improves the _rules_count method (remove try/catch and better logic), and
removes now useless one2many field rules_ids

bzr revid: ged@openerp.com-20140507090841-jptga7kjrverd25n
2014-05-07 11:08:41 +02:00
Gery Debongnie 943f2d4e4e [FIX] code cleanup (addon hr_evaluation)
improves _appraisal_count method and remove now useless one2many field appraisal_ids

bzr revid: ged@openerp.com-20140507090328-wyl9gbfzdc540d1k
2014-05-07 11:03:28 +02:00
Thibault Delavallée 59b9344bab [IMP] website_mail, mass_mailing: icon in editor for the snippets + renaming
bzr revid: tde@openerp.com-20140507090029-fh312buk013t1gdp
2014-05-07 11:00:29 +02:00
Gery Debongnie ff7ad5e918 [FIX] code cleanup (addon project)
improves the _task_count method by removing try clause and using
search_count

bzr revid: ged@openerp.com-20140507085535-16w47y51r6q3yqza
2014-05-07 10:55:35 +02:00
Gery Debongnie cc041c516a [FIX] code cleanup (addon hr_holidays)
improves th _leaves_count method, and remove an useless one2many field
(leaves_ids)

bzr revid: ged@openerp.com-20140507083556-rqm5sllj8fc3qfev
2014-05-07 10:35:56 +02:00
Quentin (OpenERP) 683c0f1866 [MERGE] small fixes
bzr revid: qdp-launchpad@openerp.com-20140507082354-v6til9vb0vwwzrh2
2014-05-07 10:23:54 +02:00
Gery Debongnie b08e0b0fe1 [FIX] code cleanup (addon crm_claim)
improves the _claim_count method by removing try/except/pass and by using
search_count. Also, removes the now useless one2many field claims_ids (strangely, it was defined before
_claim_count, but was not used.

bzr revid: ged@openerp.com-20140507081723-7pi1t33xxjb6hbwy
2014-05-07 10:17:23 +02:00
Gery Debongnie 0a9a393010 [FIX] code cleanup (addon fleet)
improve the _count_all method by removing try/catch/pass and by
using search_count instead of the one2many relation.

Also, removes now useless one2many fields costs_ids and odometer_ids

bzr revid: ged@openerp.com-20140507075645-2tp5zgayeea9ehv2
2014-05-07 09:56:45 +02:00
Fabien Meghazi cea5591742 [FIX] runbot color
bzr revid: fme@openerp.com-20140507074310-bt0r1vt6rsgy9wqe
2014-05-07 09:43:10 +02:00
Jitendra Prajapati (OpenERP) 6eeb3eab49 [REM]:process_view.xml.THIS
bzr revid: jpr@tinyerp.com-20140507063755-n17cv0pbcxmdz70p
2014-05-07 12:07:55 +05:30
Launchpad Translations on behalf of openerp 93bab6ba7a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140507062712-t81pc41duzjfrwa6
2014-05-07 06:27:12 +00:00
Fabien Meghazi 7db3619c37 [REM] html_template and render_bootstrap_template()
bzr revid: fme@openerp.com-20140506163422-vruavrvkcowu09zi
2014-05-06 18:34:22 +02:00
Fabien Meghazi 8dc5f240a9 [REM] Removed addons.web#html_template usage
bzr revid: fme@openerp.com-20140506163334-x94pz9bau4a0r0lb
2014-05-06 18:33:34 +02:00
Fabien Meghazi 15380fd5d2 [ADD] modules global rendering variable
This is temporary

bzr revid: fme@openerp.com-20140506163204-u63n3wv1yv6yohd3
2014-05-06 18:32:04 +02:00
Mohammed Shekha 0e62b9d8df [IMP] Jinja template for database manager
bzr revid: fme@openerp.com-20140506155051-3u3kkb9lpvm06iad
2014-05-06 17:50:51 +02:00
Denis Ledoux d1bba709b4 [FIX] account_analytic_analysis: recurring invoices, map_tax and map_account methods of fiscal position model expect a browse record
bzr revid: dle@openerp.com-20140506153459-0vv6rcttihl628l3
2014-05-06 17:34:59 +02:00
Fabien Meghazi ee1fbd17c8 [FIX] jQuery.ui - boostrap conflict
bzr revid: fme@openerp.com-20140506153335-x2fwpajvthcru1cv
2014-05-06 17:33:35 +02:00
Fabien Meghazi b393c4ac18 [FIX] jQuery.ui - boostrap conflicts
bzr revid: fme@openerp.com-20140506153300-0p1gwnrxihpb4y3r
2014-05-06 17:33:00 +02:00
Gery Debongnie c941eb8ca4 [FIX] code cleanup (addon purchase)
remove useless one2many field in product.product, and improves the way
purchase_count is computed

bzr revid: ged@openerp.com-20140506150732-e0ztuzqm7hqu183p
2014-05-06 17:07:32 +02:00
Thibault Delavallée 0295b34c9b [MERGE] [FIX] website_forum: batch of fixes :
- fixed reopen link that was broken (python code appearing)
- fixed close link that was leading to a 500 error due to post -> question
- fixed link to question author, was redirecting to the current user
- fixed displayed number of questions in the forum, now displaying actual question
number, not number of displayed questions in the page
- improved guidelines: added link back to the forum
- fixed tags display: now by posts_count desc, unused tags are not shown
- users are now displayed by desc karma
- converting a comment as an answer does not allow to create a new answer if another
one by uid is already present, it just moves the comment
- display tag name in 'filter' bar when filtering on a tag
- display active tag in a blue color
- order answers: correct first, then most upvoted

bzr revid: tde@openerp.com-20140506150145-c1uvlaqtyvkjcwea
2014-05-06 17:01:45 +02:00
Martin Trigaux 3cf7488b45 [REF] gamification: performance improvements when running with a large number of users
- gamification.goal do not depends of mail.thread anymore (message posting and fields tracking was slow)
- check reward works in batch mode
- fix update method that did not reset variable in loop
- when the cron is running commit after each goal definition update

bzr revid: mat@openerp.com-20140506145623-476s3q3vxoybya77
2014-05-06 16:56:23 +02:00
Thibault Delavallée 6c8db2ce68 [ADD] mass_mailing: add a snippet to allow subscribing to a contact list (newsletter)
bzr revid: tde@openerp.com-20140506145145-qvncr41sdmplc0bp
2014-05-06 16:51:45 +02:00
Martin Trigaux 3fa2751855 [FIX] name_get returns tuple
bzr revid: mat@openerp.com-20140506143834-od28gkhbpbhsgde4
2014-05-06 16:38:34 +02:00
Martin Trigaux 3cdb9803d4 [IMP] unsubscribing at each cron run is overkill
bzr revid: mat@openerp.com-20140506135953-3hssq2lycvy1c3df
2014-05-06 15:59:53 +02:00
Martin Trigaux 687d675de5 [FIX] gamification: using batch mode to check rewards
bzr revid: mat@openerp.com-20140506134805-4nsurv82cg9anfvm
2014-05-06 15:48:05 +02:00
Thibault Delavallée 69ec02b2d4 [FIX] website_forum: more fixes :
- display tag name in 'filter' bar when filtering on a tag
- display active tag in a blue color
- order answers: correct first, then most upvoted

bzr revid: tde@openerp.com-20140506123001-fz5gt6i9zw6ondcu
2014-05-06 14:30:01 +02:00
Fabien Meghazi f6e33eca13 [IMP] do_warn on ClientAction not found
bzr revid: fme@openerp.com-20140506122840-01b9xtewp4wcv42g
2014-05-06 14:28:40 +02:00
Mantavya Gajjar 79de0ce79b [IMP]: improve code
bzr revid: mga@tinyerp.com-20140506122230-5kf1l77cjt7di32p
2014-05-06 17:52:30 +05:30
Mantavya Gajjar b712f38fb8 [IMP]: improve code
bzr revid: mga@tinyerp.com-20140506122206-o1oj4zihrq3b2t0u
2014-05-06 17:52:06 +05:30
Denis Ledoux fbbefe43c0 [MERGE] Forward-port of latest saas-3 bugfixes, up to rev. 5122 revid:dle@openerp.com-20140506121627-4oyw4zl4o6azy73w
bzr revid: dle@openerp.com-20140506121755-15gj3h43oqof6xx9
2014-05-06 14:17:55 +02:00
Denis Ledoux b882dd7109 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5294 revid:odo@openerp.com-20140505074636-bl2y5pst4pfmpz3u
bzr revid: dle@openerp.com-20140506121627-4oyw4zl4o6azy73w
2014-05-06 14:16:27 +02:00
Martin Trigaux 409bf269d3 [FIX] gamification: be sure that not challenge get subscribers depending of the report_message_frequency
bzr revid: mat@openerp.com-20140506115245-ktuxhcsml466ym6u
2014-05-06 13:52:45 +02:00
Martin Trigaux a233e26f71 [IMP] gamification: commit for each goal definition in cron
bzr revid: mat@openerp.com-20140506113831-iut3aqbwfwbnertv
2014-05-06 13:38:31 +02:00
Martin Trigaux 697dcae728 [IMP] gamification: move write in goal update inside the first loop to be able to group the computation by definition (and potentially apply intermediate commits)
bzr revid: mat@openerp.com-20140506112109-z4rsx5umet5x6n26
2014-05-06 13:21:09 +02:00
Jitendra Prajapati (OpenERP) e8d8762c77 [IMP]override name_search method and set _rec_name on subject in mail_mail
bzr revid: jpr@tinyerp.com-20140506104621-7gryl1gpv1hrmfvr
2014-05-06 16:16:21 +05:30
Fabien Meghazi c033b660e8 [ADD] openerp.loadBundle()
bzr revid: fme@openerp.com-20140506103649-wrfa25boj2chy6gl
2014-05-06 12:36:49 +02:00
Martin Trigaux ccf4d142b0 [FIX] gamification: avoid recomputing every goal for every challenge
bzr revid: mat@openerp.com-20140506102942-obopc9j5a2136cxh
2014-05-06 12:29:42 +02:00
Jitendra Prajapati (OpenERP) e418d2b2f6 [IMP]override name_search method
bzr revid: jpr@tinyerp.com-20140506102333-c8nrun01dxgjel22
2014-05-06 15:53:33 +05:30