ajay javiya (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-patest-w45-fix-aja into 
lp:~openerp-dev/openobject-addons/trunk-patest-w45.

Requested reviews:
  Jigar Amin  (OpenERP) (jam-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-patest-w45-fix-aja/+merge/134852

Hello,
Fix issue:
1)"Lunch Manager" group is not allowed to read/create/write Lunch Order Lines.
2)compose a new message from the home. my user is in french, it shows "NaN 
years ago"
Thank You.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-patest-w45-fix-aja/+merge/134852
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-patest-w45.
=== modified file 'lunch/security/lunch_security.xml'
--- lunch/security/lunch_security.xml	2012-11-07 10:43:48 +0000
+++ lunch/security/lunch_security.xml	2012-11-19 09:33:27 +0000
@@ -3,6 +3,7 @@
     <data>
         <record id="group_lunch_manager" model="res.groups">
             <field name="name">Lunch / Manager</field>
+            <field name="implied_ids" eval="[(4, ref('group_lunch_user'))]"/>
         </record>
         <record id="group_lunch_user" model="res.groups">
             <field name="name">Lunch / User</field>

=== modified file 'mail/static/src/js/mail.js'
--- mail/static/src/js/mail.js	2012-11-15 14:22:03 +0000
+++ mail/static/src/js/mail.js	2012-11-19 09:33:27 +0000
@@ -274,7 +274,7 @@
             //formating and add some fields for render
             if (this._date) {
                 this.date = session.web.format_value(this._date, {type:"datetime"});
-                this.timerelative = $.timeago(this.date);
+                this.timerelative = $.timeago(this._date);
             } 
             if (this.type == 'email' && (!this.author_id || !this.author_id[0])) {
                 this.avatar = ('/mail/static/src/img/email_icon.png');

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : openerp-dev-gtk@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to