diff --git a/addons/hr/static/src/css/hr.css b/addons/hr/static/src/css/hr.css
index eb0728c6f1c..00ef92c0fd8 100644
--- a/addons/hr/static/src/css/hr.css
+++ b/addons/hr/static/src/css/hr.css
@@ -1,5 +1,5 @@
.oe_employee_vignette {
- padding: 8px 0;
+ padding: 8px 8px;
min-height: 100px;
}
diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css
index 2f9b35f1c95..717d0439486 100644
--- a/addons/mail/static/src/css/mail.css
+++ b/addons/mail/static/src/css/mail.css
@@ -132,8 +132,6 @@
display: none;
white-space: normal;
padding: 8px;
- background: #eee;
- border-top: 1px solid #ccc;
}
.openerp div.oe_mail_thread_action:after {
@@ -201,7 +199,7 @@
.openerp .oe_mail_msg_email {
padding: 8px;
background: white;
- border-top: 1px solid #ccc;
+ border-top: 1px solid #ebebeb;
}
.openerp div.oe_mail_thread_subthread .oe_mail_msg_comment {
diff --git a/addons/note/note.py b/addons/note/note.py
index fb3f0cee853..9d62f7a2cb7 100644
--- a/addons/note/note.py
+++ b/addons/note/note.py
@@ -185,5 +185,4 @@ class note_base_config_settings(osv.osv_memory):
_columns = {
'module_note_pad': fields.boolean('Use collaborative pads (etherpad)'),
'group_note_fancy': fields.boolean('Use fancy layouts for notes', implied_group='note.group_note_fancy'),
- 'group_note_tags': fields.boolean('Allow setting tags on notes', implied_group='note.group_note_tags'),
}
diff --git a/addons/note/note_demo.xml b/addons/note/note_demo.xml
index 16fa5a3f66b..7769e3ee303 100644
--- a/addons/note/note_demo.xml
+++ b/addons/note/note_demo.xml
@@ -4,28 +4,27 @@
* We should use the term Calendar, not Meeting.
]]>
* Followed by the telephone conversation and mail about D.544.3
]]>
-
]]>
-
* wine
]]>
-
* Open ERP: a modern approach to integrated business management
-
* Open ERP for Retail and Industrial Management
- ]]>
-
* Motherboard
@@ -108,6 +93,7 @@
* Open ERP for Retail and Industrial Management
]]>
-
* Open ERP: a modern approach to integrated business management
-
* Open ERP for Retail and Industrial Management
- ]]>
-
* Open ERP for Retail and Industrial Management
]]>
-
You must configure the etherpad through the menu Setting > Companies > Companies, in the configuration tab of your company.
+
+ Click to add a pricelist version. +
+ There can be more than one version of a pricelist, each of + these must be valid during a certain period of time. Some + examples of versions: Main Prices, 2010, 2011, Summer Sales, + etc. +
+
Here you can track all the product receptions of purchase
diff --git a/addons/sale/sale.py b/addons/sale/sale.py
index 0bb85718f43..51c721d9b83 100644
--- a/addons/sale/sale.py
+++ b/addons/sale/sale.py
@@ -613,7 +613,8 @@ class sale_order(osv.osv):
'default_res_id': ids[0],
'default_use_template': True,
'default_template_id': template_id,
- })
+ 'mark_so_as_sent': True
+ })
return {
'view_type': 'form',
'view_mode': 'form',
@@ -987,15 +988,14 @@ class sale_order_line(osv.osv):
sale_order_line()
-class mail_message(osv.osv):
- _inherit = 'mail.message'
-
- def _postprocess_sent_message(self, cr, uid, message, context=None):
- if message.model == 'sale.order':
+class mail_compose_message(osv.osv):
+ _inherit = 'mail.compose.message'
+ def send_mail(self, cr, uid, ids, context=None):
+ context = context or {}
+ if context.get('mark_so_as_sent', False) and context.get('default_res_id', False):
wf_service = netsvc.LocalService("workflow")
- wf_service.trg_validate(uid, 'sale.order', message.res_id, 'quotation_sent', cr)
- return super(mail_message, self)._postprocess_sent_message(cr, uid, message=message, context=context)
-
-mail_message()
+ wf_service.trg_validate(uid, 'sale.order', context.get('default_res_id', False), 'quotation_sent', cr)
+ return super(mail_compose_message, self).send_mail(cr, uid, ids, context=context)
+mail_compose_message()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/stock/i18n/ru.po b/addons/stock/i18n/ru.po
index 09143eebcef..ae7689060ef 100644
--- a/addons/stock/i18n/ru.po
+++ b/addons/stock/i18n/ru.po
@@ -7,14 +7,14 @@ msgstr ""
"Project-Id-Version: OpenERP Server 6.0dev\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2012-02-08 01:37+0100\n"
-"PO-Revision-Date: 2012-09-10 11:41+0000\n"
+"PO-Revision-Date: 2012-09-20 14:52+0000\n"
"Last-Translator: Chertykov Denis