muralikrishnareddy / poslogo

1 stars 7 forks source link

pos_logo not working in Point of Sale #4

Open omarNIU opened 7 years ago

omarNIU commented 7 years ago

I am running Odoo Version 9.0e. I was having trouble installing the addon since it was giving me an error relating missing dependencies. In order to solve the installation Issue I had to change the following code in pos_logo/pos_view.xml (I am not sure if it was the right approach, but the addon did install after the update) from:

``

to:

`` .

After successful installation I am now getting the following error in the console, when I access the Point of Sale session (after setting the image and time format from the configuration as explained in the description):

Uncaught Error: Service point_of_sale.chrome already defined at Object.define (/web/static/src/js/boot.js:122:27) at /pos_logo/static/src/js/pos_logo.js:1:6 define @ boot.js:122(anonymous function) @ pos_logo.js:1

The html for the logo in /static/src/xml/pos.xml is being injected in the header, but the img and time are not being set by the js.

muralikrishnareddy commented 7 years ago

give me some details about exact version of Odoo

omarNIU commented 7 years ago

When I run the odoo.py file as user odoo instead of starting odoo with "/etc/init.d/odoo start" I get the following:

(odoo) [odoo@server ~]$ python /opt/odoo/odoo.py 2016-12-07 12:09:16,335 12702 INFO ? openerp: OpenERP version 9.0c 2016-12-07 12:09:16,336 12702 INFO ? openerp: addons paths: ['/home/odoo/.local/share/Odoo/addons/9.0', u'/opt/odoo/openerp/addons', u'/opt/odoo/addons'] 2016-12-07 12:09:16,336 12702 INFO ? openerp: database: default@default :default

When I run "python /opt/odoo/odoo.py" not all modules are being loaded and the dashboard does not load as it should (no styling at all) but when I run "/etc/init.d/odoo start" all modules are loaded.

How do I get the exact build number of odoo?

On 7 December 2016 at 06:05, Murali Krishna Reddy notifications@github.com wrote:

give me some details about exact version of Odoo

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/muralikrishnareddy/poslogo/issues/4#issuecomment-265356923, or mute the thread https://github.com/notifications/unsubscribe-auth/AMZR6HSJSPMnuwA3Xza_iPnQ04jL6onOks5rFj6ZgaJpZM4LBcD5 .

--

Omar TantiDeveloper

[image: NIU] Tel: +356 27620029 Address: NIU Ltd. Central Business Center Level 2, Suite 2, Mdina Road, Zebbug. ZBG 9015 Email: omar@niu.com.mt Website: http://www.niu.com.mt