Atul Patel(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-point-of-sale-shp into 
lp:openobject-addons.

Requested reviews:
  Atul Patel(OpenERP) (atp-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-point-of-sale-shp/+merge/138389

hello,

 i have improve Nan value from discount,price and amount.

thanks

shp 
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-point-of-sale-shp/+merge/138389
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-point-of-sale-shp.
=== modified file 'point_of_sale/point_of_sale.py'
--- point_of_sale/point_of_sale.py	2012-11-29 22:26:45 +0000
+++ point_of_sale/point_of_sale.py	2012-12-06 07:09:30 +0000
@@ -67,7 +67,7 @@
         'iface_print_via_proxy' : fields.boolean('Print via Proxy'),
 
         'state' : fields.selection(POS_CONFIG_STATE, 'Status', required=True, readonly=True),
-        'sequence_id' : fields.many2one('ir.sequence', 'Order IDs Sequence', readonly=True,
+        'sequence_id' : fields.many2one('ir.sequence', 'Session ID Sequence', readonly=True,
             help="This sequence is automatically created by OpenERP but you can change it "\
                 "to customize the reference numbers of your orders."),
         'session_ids': fields.one2many('pos.session', 'config_id', 'Sessions'),

=== modified file 'point_of_sale/static/src/js/models.js'
--- point_of_sale/static/src/js/models.js	2012-11-29 22:26:45 +0000
+++ point_of_sale/static/src/js/models.js	2012-12-06 07:09:30 +0000
@@ -808,7 +808,7 @@
             this.updateTarget();
         },
         deleteLastChar: function() {
-            var tempNewBuffer = this.get('buffer').slice(0, -1);
+            var tempNewBuffer = this.get('buffer').slice(0, -1) || "0";
 
             if(!tempNewBuffer){
                 this.set({ buffer: "0" });

_______________________________________________
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