Vishmita Jadeja (openerp) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-922714-vja into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-922714-vja/+merge/93378

POS should display username,db.

-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-922714-vja/+merge/93378
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-922714-vja.
=== modified file 'point_of_sale/static/src/css/pos.css'
--- point_of_sale/static/src/css/pos.css	2012-02-06 11:50:20 +0000
+++ point_of_sale/static/src/css/pos.css	2012-02-16 11:20:25 +0000
@@ -95,6 +95,10 @@
     height: 32px;
     width: 116px;
 } 
+.point-of-sale .header_title{
+    float: right !important;
+    color: #ccc !important;
+}
 .point-of-sale #neworder-button {
     width: 32px;
     padding: 4px 10px;

=== modified file 'point_of_sale/static/src/js/pos.js'
--- point_of_sale/static/src/js/pos.js	2012-02-10 07:32:43 +0000
+++ point_of_sale/static/src/js/pos.js	2012-02-16 11:20:25 +0000
@@ -23,6 +23,7 @@
     var qweb_template = function(template) {
         return function(ctx) {
             return QWeb.render(template, _.extend({}, ctx,{
+                'attr':pos.attributes,
                 'currency': pos.get('currency'),
                 'format_amount': function(amount) {
                     if (pos.get('currency').position == 'after') {

=== modified file 'point_of_sale/static/src/xml/pos.xml'
--- point_of_sale/static/src/xml/pos.xml	2012-02-09 14:23:55 +0000
+++ point_of_sale/static/src/xml/pos.xml	2012-02-16 11:20:25 +0000
@@ -7,6 +7,9 @@
         <div id="topheader">
             <div id="branding">
                 <img src="/point_of_sale/static/src/img/logo.png" />
+                <h1 class="header_title">
+                    <t t-esc="attr.company.name"/>(<t t-esc="attr.db"/>)<br/>
+                    <small><t t-esc="attr.user.name"/></small></h1>
             </div>
             <div id="loggedas">
                 <span class="oe_pos_synch-notification"></span>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to