Commit Graph

166 Commits

Author SHA1 Message Date
Cedric Snauwaert 3a4e264978 [FIX]use bootstrap modal windows. refactor and cleaned from trunk-ui-to-boostrap-modal
bzr revid: csn@openerp.com-20140410155022-3cqys3zc55idc4vg
2014-04-10 17:50:22 +02:00
Darshan Kalola (OpenERP) ad2984f564 [IMP]disabled dropdown button when there is no item in dropdown.
bzr revid: dka@tinyerp.com-20140331073100-qexuumfnynssfto1
2014-03-31 13:01:00 +05:30
Darshan Kalola (OpenERP) 7dc413070c [IMP]mail_follower:closed dropdown when there is no child element in ul.
bzr revid: dka@tinyerp.com-20140225045142-fg6qbnlvl4ylys0k
2014-02-25 10:21:42 +05:30
Darshan Kalola (OpenERP) a2cbf7ee1b [MERGE]sync with trunk.
bzr revid: dka@tinyerp.com-20140224112504-3b0f36x0nw3rmj7e
2014-02-24 16:55:04 +05:30
Darshan Kalola (OpenERP) dad39a22d6 [IMP]solved Error Cannot read property 'target' of undefined.
bzr revid: dka@tinyerp.com-20140224105249-lr50s4x6bvhbl1tx
2014-02-24 16:22:49 +05:30
Darshan Kalola (OpenERP) 068c1be14c [MERGE]sync with trunk.
bzr revid: dka@tinyerp.com-20140224101844-2k8p1j86ngybtvw4
2014-02-24 15:48:44 +05:30
Darshan Kalola (OpenERP) 8bf832b259 [IMP]improved spacing.
bzr revid: dka@tinyerp.com-20140224100758-ibz8u54u7sv68yqz
2014-02-24 15:37:58 +05:30
Darshan Kalola (OpenERP) 37a119cbc8 [IMP]mail_follower:improved subtype selection event to keep dropdown list open untill click outside of dropdown or on the follow/unfollow button.
bzr revid: dka@tinyerp.com-20140224094951-hixzix3ptl6f2g5e
2014-02-24 15:19:51 +05:30
Thibault Delavallée fc7f21e4bf [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140221102322-oi7wa2sc3867g81d
2014-02-21 11:23:22 +01:00
Darshan Kalola (OpenERP) b69271064b [MERGE]sync with trunk and resolve conflicts.
bzr revid: dka@tinyerp.com-20140221045744-hopnxp3mj9z7vz0j
2014-02-21 10:27:44 +05:30
Darshan Kalola (OpenERP) 7c1f4fb619 [IMP]convert subtypes list into selection.
bzr revid: dka@tinyerp.com-20140220102958-l2uwymwtnzcxnetw
2014-02-20 15:59:58 +05:30
Darshan Kalola (OpenERP) 1f71463cfc [IMP] extract subtype ordering from lp:~openerp-dev/openobject-addons/trunk-visibility-hr_holidays-darshan.
bzr revid: dka@tinyerp.com-20140219105246-qmm78w81erhfvhlc
2014-02-19 16:22:46 +05:30
Thibault Delavallée c2b51ee58a [FIX] mail: mail_followers.js: fixed the fix about is_follower, use the right variable
bzr revid: tde@openerp.com-20140207084946-mkh0ht44x5byhrdj
2014-02-07 09:49:46 +01:00
Thibault Delavallée 4420bdf831 [FIX] mail: followers widget: is_follower was not computed if the current user
was not in the first 10 displayed followers of the document. Compute is_follower
based on all followers, not just the first 10.

bzr revid: tde@openerp.com-20140206112145-ibir7cj6wxe1ksgt
2014-02-06 12:21:45 +01:00
Thibault Delavallée a6ae52affa [FIX] mail_followers widget: fixed a traceback appearing
when quickly changing the displayed record in a form view when the
followers widget is displayed. This was due to variables not correctly
set because of a concurrence issue.
However there is no need to hse this.view.datarecord or dataset as
the function already receives its id as argument.

bzr revid: tde@openerp.com-20131126124630-2m5wjwr008ys1e9e
2013-11-26 13:46:30 +01:00
Thibault Delavallée 438b06ef13 [FIX] mail: followers widget: wrong default value when calling read_followers_data, should be a list, not a dict
bzr revid: tde@openerp.com-20131017131634-b1j9evzgu9q837i8
2013-10-17 15:16:34 +02:00
Thibault Delavallée 68d1c2928f [CLEAN] Cleaning befor merging
No need to use an image for edition -> use webtypo font instead
Small code cleaning in js / python

bzr revid: tde@openerp.com-20130723095509-knp45uvmlfmr27v9
2013-07-23 11:55:09 +02:00
Paramjit Singh Sahota b7160bc1cf [IMP] Improved code for fetch_followers and done as was previously && added condition for the record in display_followers so that it never breaks && improve the mouse-enter and mouse-leave.
bzr revid: psa@tinyerp.com-20130717124842-vuqct26jy6a7palb
2013-07-17 18:18:42 +05:30
Paramjit Singh Sahota 54837802ac Improved code.
bzr revid: psa@tinyerp.com-20130715113736-ww4wffkajnwkk961
2013-07-15 17:07:36 +05:30
Paramjit Singh Sahota 21e3d7cdc4 [IMP] 2 little improvements when their is no subtype than no edit_subtype pencil will be visible and bydefault set the message_is_follower to false because when no followers are there than subtypes muzt not be visible.
bzr revid: psa@tinyerp.com-20130715084907-nrd2oileuyr30nep
2013-07-15 14:19:07 +05:30
Paramjit Singh Sahota 670710b88e [IMP] Improved code and passed the data according to the format as suggest (partner_id, partner_name, {'is_editable': True/False, 'is_uid': True/False}) and done changes according this changes.
bzr revid: psa@tinyerp.com-20130715080106-63dbeh3mhgiqppzv
2013-07-15 13:31:06 +05:30
Paramjit Singh Sahota 6694183dcb [IMP] Improved code and added
{'is_editable': True/False, 'is_uid': True/False}
-- where is_editable will be True if uid is in technical group
-- where is_uid will be True if uid is in partner.user_ids.

bzr revid: psa@tinyerp.com-20130712133920-96l6axns7yynyz9e
2013-07-12 19:09:20 +05:30
Paramjit Singh Sahota 39151ca2af [IMP] Improved code for the followers which are visually duplicated when you click on a follower's name and get back to the sales order form.
bzr revid: psa@tinyerp.com-20130628133712-tcfoaisr3o9wdv7x
2013-06-28 19:07:12 +05:30
Paramjit Singh Sahota cc05ab11df [IMP] Little Improvement.
bzr revid: psa@tinyerp.com-20130626104722-jpzcu0gnbbggitv8
2013-06-26 16:17:22 +05:30
Paramjit Singh Sahota a19a887639 [MERGE] Sync with lp:openobject-addons.
bzr revid: psa@tinyerp.com-20130620051858-96jtajxo5qc51v3s
bzr revid: psa@tinyerp.com-20130624131046-m2fq48j84iyqzm2b
2013-06-24 18:40:46 +05:30
Paramjit Singh Sahota 4180da8a40 [IMP] Improved code and removed unwanted code.
bzr revid: psa@tinyerp.com-20130620050026-3kwfmowqfa9f4quz
2013-06-20 10:30:26 +05:30
Paramjit Singh Sahota ae8302a3d6 [IMP] Now the edit_subtype pencil will be visible when the cursor goes on to the follower_list.
And made the edit_subtype icon visible without debug mode.

bzr revid: psa@tinyerp.com-20130619134817-n390r4dsgmpo33nb
2013-06-19 19:18:17 +05:30
Paramjit Singh Sahota 14f157e395 [IMP] When the subtypes are not displayed in subtype list below the follow button than the edit subtype pencil will also not displayed.
bzr revid: psa@tinyerp.com-20130612114538-21ohwb0l50or62fe
2013-06-12 17:15:38 +05:30
Paramjit Singh Sahota b2ce2ae9bc [IMP] variable name improvements added action_ ahead of subscribe and unsubscribe to clearly understad the work of it.
bzr revid: psa@tinyerp.com-20130612052645-x1wv4e1t2zyig4t2
2013-06-12 10:56:45 +05:30
Paramjit Singh Sahota 8d19463d12 1. Improved code for the oe_partner which is overlapping the edit followers image and partners name when the image is displayed.
2. Merged lp:openobject-addons.

bzr revid: psa@tinyerp.com-20130607122251-gn567auxz4ny1nu3
bzr revid: psa@tinyerp.com-20130610072250-pfxkmbcutl672877
2013-06-10 12:52:50 +05:30
Paramjit Singh Sahota da775672ea [IMP] Improved code.
bzr revid: psa@tinyerp.com-20130606054817-k3bbkb4j1u9rolpi
2013-06-06 11:18:17 +05:30
Paramjit Singh Sahota 52b02c879b [IMP] Improved code without disturbing the others methods and solved the issue of unfollowing the specific user by specific id.
bzr revid: psa@tinyerp.com-20130605131031-bppkpzdwmi8sp4f7
2013-06-05 18:40:31 +05:30
Paramjit Singh Sahota 388a3e14a1 [ImP] method name change and removed the access call which is not needed bcz the system is calling it self.
bzr revid: psa@tinyerp.com-20130604094722-2b8i6ba7blz1g2rc
2013-06-04 15:17:22 +05:30
Paramjit Singh Sahota 872a688fbe [IMP] Added code for the access right on specific model.
bzr revid: psa@tinyerp.com-20130603123227-76kykft5jl3u5egl
2013-06-03 18:02:27 +05:30
Paramjit Singh Sahota 133ad0b97c [IMP] Improved code for removing the div of dialog everytime when the dialog box is created.
bzr revid: psa@tinyerp.com-20130530044037-02cw9gap03qhz087
2013-05-30 10:10:37 +05:30
Vishmita Jadeja (openerp) 4847ba7997 [Merge]Merge lp:openobject-addons
bzr revid: vja@tinyerp.com-20130418051753-az8hip1buttp1ykk
2013-04-18 10:47:53 +05:30
Thibault Delavallée 4da68cbc22 [FORWARD] Forward port of addons 7.0 until revision 9008
bzr revid: tde@openerp.com-20130411124446-73gzyw3eo925w3dv
2013-04-11 14:44:46 +02:00
Paramjit Singh Sahota 5bbffbc39c [IMP] Improved code and made the EDIT followers visible when 'Technical Features' are given and it is in 'DEBUG mode'.
bzr revid: psa@tinyerp.com-20130411123537-2wzb468o7o0dno8c
2013-04-11 18:05:37 +05:30
Paramjit Singh Sahota 1769067ddd [IMP] Improved code and removed unwanted 'None'.
bzr revid: psa@tinyerp.com-20130409043932-z5c8hupbhrednwa0
2013-04-09 10:09:32 +05:30
Thibault Delavallée 8b97805621 [FIX] mail: fixed some translation issues.
Document created text was not translatable
Subtype was fetched without context, therefore not translated
Removed odd override of _t introduced in mail_followers at revision 7885

bzr revid: tde@openerp.com-20130408092447-3ri41v6xluuj0wha
2013-04-08 11:24:47 +02:00
Paramjit Singh Sahota e61d6bae16 [IMP] Improved code and passed user_id=None as optional field.
bzr revid: psa@tinyerp.com-20130405134425-3xfbbv3vapq1un68
2013-04-05 19:14:25 +05:30
Paramjit Singh Sahota 9a2a45c768 [IMP] Improved code and removed unwanted code.
As suggested by tde in his comment
>>  **What's the purpose of defining a new 'check_access_right' ? Limiting to 'group_no_one' does not seems a viable solution. Instead, access rights on mail.followers entries should be correctly written (please check it is the case). I think having an asynchronous call just to check access rights is not necessary. In debug mode, always display the button.**

bzr revid: psa@tinyerp.com-20130404084724-meqsx35jdvk56z2c
2013-04-04 14:17:24 +05:30
Paramjit Singh Sahota b32cc3b442 [IMP] Improved code
1) Edit Subscriptions of -> Edit Subscription (without 's') of
2) Instead of defining a new 'apply_edited_subtype', you can use 'message_subscribe' that has an optional 'subtype_ids' parameter that already allows to manage subtypes of a subscription.
3) In _get_subscription_data: do not use context when it is not necessary. Please add a parameter user_id=None that will be used instead of uid to find user_pid.
4) Instead of defining a new 'on_apply_subtype', can't you reuse 'do_update_subscription' with maybe some update to handle the classic use / edit widget ?
The above changes has been done.

bzr revid: psa@tinyerp.com-20130404070723-5v1v35fte6vl2b2j
2013-04-04 12:37:23 +05:30
Paramjit Singh Sahota bd6a436bbb [IMP] Added css for the ' Close(X)' icon of the dialog box when the title size increases than overlap the title.
bzr revid: psa@tinyerp.com-20130322091026-m0eqoqnt1t2p184v
2013-03-22 14:40:26 +05:30
Vishmita Jadeja (openerp) f1db1ed778 [IMP]Add method for checking the group technical features.
bzr revid: vja@tinyerp.com-20130322082206-x2490850o8qbkmk0
2013-03-22 13:52:06 +05:30
Paramjit Singh Sahota e9065f7727 [IMP] Reduced code, deleted redundant code, deleted the edit template and used it in the existing by using 'mode' and improved code using the existing code and removed unwanted code.
bzr revid: psa@tinyerp.com-20130321124036-0s4pv3oivzesmjh5
2013-03-21 18:10:36 +05:30
Paramjit Singh Sahota cf3415f087 [IMP]Changed the position of methods and improved code.
bzr revid: psa@tinyerp.com-20130319073319-8myj2hx5iaqmi5xj
2013-03-19 13:03:19 +05:30
Paramjit Singh Sahota 7d6a58f205 [MERGE] Merged lp:openobject-addons.
bzr revid: psa@tinyerp.com-20130319051946-370tjmb1o26e1lfo
2013-03-19 10:49:46 +05:30
Paramjit Singh Sahota d6a8dc2af5 [MERGE] Merged lp:openobject-addons.
bzr revid: psa@tinyerp.com-20130318061027-p2w4b4oupcnkdhtb
2013-03-18 11:40:27 +05:30
Paramjit Singh Sahota 0abe605544 [IMP] Oops sorry forgot to remove the prints and improved code.
bzr revid: psa@tinyerp.com-20130315124843-xtp19rbm2cvyfb67
2013-03-15 18:18:43 +05:30