Nov 27, 2018

odoo manual hide validate movement when "double-post" initial demand operations.

odoo manual hide validate movement when "double-post" initial demand operations. <script>         if (odoo.session_info["is_superuser"]==false) {         $(document).bind('DOMSubtreeModified', function () {                $('.o_list_number').each(function() {                    if ($(this).data('field')=="weigh_pcs"){  ...
Read more ...

Sep 22, 2018

solved install nodejs but can not update npm module

the solution is install nodejs without npm Fixing npm On Mac OS X for Homebrew Users Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document. Solution This solution fixes the error caused by trying to run npm update npm -g. Once you're finished, you also won't need to use sudo to install...
Read more ...

Sep 21, 2018

[SOLVED] Error: EACCES: permission denied

the issue are : oh oh Error: EACCES: permission denied, open '/usr/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.bash' npm package fails to install "npm ERR! Error: EACCES: permission denied" can not install serverless on Mac Os the solution is :  sudo ln -sf /usr/local/Cellar/node/6.0.0/lib/node_modules/serverless/bin/serverless /usr/local/bin/serverless ...
Read more ...

Sep 2, 2018

create manual tabs on odoo 11 without snippet

just put this code to your view <div>                     <!-- Thumbnail -->                     <div class="oe_snippet_thumbnail">                         <img class="oe_snippet_thumbnail_img" src="/website_tabs/static/src/img/thumbnail.png" />  ...
Read more ...

Aug 7, 2018

spynner vs pyppeteer vs requests vs firefox headless

memory usage : spynner vs pyppeteer vs requests vs firefox headless febru@ubuntu:~$ ps_mem -p 41293  Private  +   Shared  =  RAM used Program   5.9 MiB + 394.5 KiB =   6.3 MiB python2.7 ---------------------------------                           6.3 MiB ================================= febru@ubuntu:~$ ps_mem -p...
Read more ...

Jul 18, 2018

SOLVED InsecurePlatformWarning: A true SSLContext object is not available.

in my case, its solved by : sudo su : pip install -U pip pip install -U pyopenssl ndg-httpsclient pyasn1...
Read more ...

Jul 17, 2018

just simple ocr

$ sudo apt-get update $ sudo apt-get install autoconf automake libtool $ sudo apt-get install libpng12-dev $ sudo apt-get install libjpeg62-dev $ sudo apt-get install g++ $ sudo apt-get install libtiff4-dev $ sudo apt-get install libopencv-dev libtesseract-dev $ sudo apt-get install git $ sudo apt-get install cmake $ sudo apt-get install build-essential $ sudo apt-get install libleptonica-dev $ sudo apt-get install liblog4cplus-dev $...
Read more ...

Jul 15, 2018

playing with socat

liat komunikasi header (request + response)     sudo socat -v TCP-LISTEN:8001,fork  TCP:192.168.100.100:8069   lihat komunikasi data  (request + response)     socat -u tcp4-listen:1934,fork SYSTEM:'tee in.txt |socat - "TCP:192.168.100.100:8069" |tee out.txt' check header request     socat -u tcp4-listen:1934 - forward to 2 destination, just first     socat -u tcp4-listen:1934...
Read more ...

Jul 4, 2018

moving odoo 10 from site to other site

simple summary steps 0. turn off all websites traffic, and restart the postgres 1. backup source file 2. backup filestore 3. backup database via psql let's rock the job!!! 1. BACKUP SOURCE FILE make zip file under Odoo folder 2. BACKUP filestore the location usually here  ".local/share/Odoo/filestore" 3. BACKUP Database DATABASE BACKUP pg_dump esti > esti_o10_jul_4_18.out DATABASE RESTORE psql create database esti...
Read more ...

Jun 5, 2018

solved erpnext help doesn't exist

error is : ProgrammingError: (1146, u"Table 'xxxxx .help' doesn't exist") SOLUTION is : bench setup-help ...
Read more ...

Jun 4, 2018

SOLVED erpnext can not find variables.less

the error : 19:06:15 watch.1          | Error compiling  erpnext.less 19:06:15 watch.1          | { [Error: 'variables.less' wasn't found. Tried - variables.less,/home/frappe/frappe-bench/apps/erpnext/erpnext/public/less/variables.less,/home/frappe/frappe-bench/sites/node_modules/variables.less,variables.less] 19:06:15 watch.1          |  ...
Read more ...

SOLVED Erpnext throw er Unhandled 'error' event ENOSPC

Error : 18:43:14 watch.1          | events.js:160 18:43:14 watch.1          |       throw er; // Unhandled 'error' event 18:43:14 watch.1          |       ^ 18:43:14 watch.1          |  18:43:14 watch.1          | Error: watch /home/frappe/frappe-bench/apps/erpnext/erpnext/education/doctype/academic_year...
Read more ...

SOLVED erpnext Error: Cannot find module 'babel-core'

the error : 18:36:54 socketio.1       | listening on *: 9001 18:36:56 watch.1          | module.js:478 18:36:56 watch.1          |     throw err; 18:36:56 watch.1          |     ^ 18:36:56 watch.1          |  18:36:56 watch.1          | Error: Cannot find...
Read more ...

SOLVED : pymysql.err.IntegrityError: (1048, u"Column 'translatable' cannot be null")

the error is  :   File "<string>", line 1, in <module>   File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 695, in reload_doc     return frappe.modules.reload_doc(module, dt, dn, force=force, reset_permissions=reset_permissions)   File "/home/frappe/frappe-bench/apps/frappe/frappe/modules/utils.py", line 155, in reload_doc     return import_files(module,...
Read more ...

Apr 4, 2018

SOLVED ERPNEXT 11 not create json after create doctype

related to this issues : Folders not created for doctype even when developer_mode is set to 1 or  Custom field on doctype can not be un-checked or  docType folder not created on frappe 11 and erpnext 11 or  doctype folder change to custom folder or  developer_mode change custom doctype to json file  The...
Read more ...