[MERGE] forward port of branch saas-6 up to a73e292
This commit is contained in:
@@ -770,9 +770,9 @@ class calendar_event(osv.Model):
|
|||||||
time = _("AllDay , %s") % (event_date)
|
time = _("AllDay , %s") % (event_date)
|
||||||
elif zduration < 24:
|
elif zduration < 24:
|
||||||
duration = date + timedelta(hours=zduration)
|
duration = date + timedelta(hours=zduration)
|
||||||
time = ("%s at (%s To %s) (%s)") % (event_date, display_time, duration.strftime(format_time), tz)
|
time = _("%s at (%s To %s) (%s)") % (event_date, display_time, duration.strftime(format_time), tz)
|
||||||
else:
|
else:
|
||||||
time = ("%s at %s To\n %s at %s (%s)") % (event_date, display_time, date_deadline.strftime(format_date), date_deadline.strftime(format_time), tz)
|
time = _("%s at %s To\n %s at %s (%s)") % (event_date, display_time, date_deadline.strftime(format_date), date_deadline.strftime(format_time), tz)
|
||||||
return time
|
return time
|
||||||
|
|
||||||
def _compute(self, cr, uid, ids, fields, arg, context=None):
|
def _compute(self, cr, uid, ids, fields, arg, context=None):
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -6,8 +6,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 9.0\n"
|
"Project-Id-Version: Odoo Server 9.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2015-09-18 08:12+0000\n"
|
"POT-Creation-Date: 2015-11-25 13:28+0000\n"
|
||||||
"PO-Revision-Date: 2015-09-18 08:12+0000\n"
|
"PO-Revision-Date: 2015-11-25 13:28+0000\n"
|
||||||
"Last-Translator: <>\n"
|
"Last-Translator: <>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@@ -386,6 +386,19 @@ msgstr ""
|
|||||||
msgid "<span> hours</span>"
|
msgid "<span> hours</span>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: calendar
|
||||||
|
#: code:addons/calendar/calendar.py:802
|
||||||
|
#, python-format
|
||||||
|
msgid "%s at %s To\n"
|
||||||
|
" %s at %s (%s)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: calendar
|
||||||
|
#: code:addons/calendar/calendar.py:800
|
||||||
|
#, python-format
|
||||||
|
msgid "%s at (%s To %s) (%s)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. module: calendar
|
#. module: calendar
|
||||||
#: code:addons/calendar/calendar.py:1628
|
#: code:addons/calendar/calendar.py:1628
|
||||||
#, python-format
|
#, python-format
|
||||||
@@ -513,6 +526,13 @@ msgstr ""
|
|||||||
msgid "Click to schedule a new meeting."
|
msgid "Click to schedule a new meeting."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: calendar
|
||||||
|
#: view:calendar.alarm:calendar.view_calendar_alarm_tree
|
||||||
|
#: model:ir.actions.act_window,name:calendar.action_calendar_alarm
|
||||||
|
#: model:ir.ui.menu,name:calendar.menu_calendar_alarm
|
||||||
|
msgid "Calendar Alarm"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. module: calendar
|
#. module: calendar
|
||||||
#: model:ir.model.fields,field_description:calendar.field_calendar_event_color_partner_id
|
#: model:ir.model.fields,field_description:calendar.field_calendar_event_color_partner_id
|
||||||
msgid "Color index of creator"
|
msgid "Color index of creator"
|
||||||
|
|||||||
@@ -78,6 +78,13 @@
|
|||||||
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
<record model="ir.rule" id="stock_quant_rule">
|
||||||
|
<field name="name">stock_quant multi-company</field>
|
||||||
|
<field name="model_id" ref="model_stock_quant"/>
|
||||||
|
<field name="global" eval="True"/>
|
||||||
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
<record model="ir.rule" id="stock_inventory_line_comp_rule">
|
<record model="ir.rule" id="stock_inventory_line_comp_rule">
|
||||||
<field name="name">Inventory Line multi-company</field>
|
<field name="name">Inventory Line multi-company</field>
|
||||||
<field name="model_id" ref="model_stock_inventory_line"/>
|
<field name="model_id" ref="model_stock_inventory_line"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user