Expert-Python : Configure python with apache2
Apache with python, If you want to run your python code with apache hosting then your web server must loaded mod_python package with Apache Server. Need to configure….. 1. sudo gedit /etc/apache2/sites-available/default LoadModule python_module modules/mod_python.so <Directory /var/www/python/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all AddHandler mod_python .py PythonHandler mod_python.publisher [...]
Read MoreStartup(s) Are Creating A New Platform Of The World For IT
It remains that, from the same principles, I now demonstrate the frame of the System of the World. – Isaac Newton The practice of IT reminds me a lot of the practice of science before Isaac Newton. Aristotelianism was dead, but there was nothing to replace it. Then Newton came along, created a scientific revolution with [...]
Read MoreOpenERP Web module tips
When we merging openerp web modules below things need to care. Like we are going to merge two different web module web_module1 and web_module2 Then both module have own javascript like openerp.web_module1 and openerp.web_module2 So on merge time do not copy one js in other module and don’t give its link in __openerp__.py. Instead of do batter [...]
Read MoreOpenERP Web : format string
OpenERP Web client. To format string for number or string or float, etc… here a function printf(). As we found with other language. we can format string in openerp client with javascript. Javascript string format. _.str.sprintf(“%s (%s)”, res.name, openerp.connection.db, res.company_id[1]); _.str.sprintf(“%s (%s)”, “snippet”,”bucket”); Here similar as c language, string formatting is supported. Thanks, SnippetBucket.com [...]
Read MoreOpenERP attrs readonly-invisible openerp view
OpenERP have attrs feature. To set any field visible or not on base of condition then use attrs. you can make readonly too.. <field name=”year” attrs=”{‘invisible’: [('type','=','normal')]}”/> Here you can see here one field year and also their is another field is type. Here if type field have value normal then year will visible [...]
Read MoreOpenERP : Set Readonly via py
Hello, To set any field as readonly from openerp python code. you need to use fields_view_get method of ORM. Also Note that account_voucher.py have an example. Also lots of examples are ready their inside addons where domain are set via py file. Their should need to get view file and need to modify it…. [...]
Read MoreOpenERP Server Administration
To manage OpenERP on server you may need some extra-ordinary scripts. Here a branch is available, bzr branch lp:openerp-ccorp-scripts After getting this you will get several scripts file to manage OpenERP. This one is excellent script, If you want to be SAAS Owner the you must need this kind of scripts…. https://code.launchpad.net/openerp-ccorp-scripts [...]
Read MoreOpenERP Requirements Specification (SRS)
Business requirement specification (BRS) : It’s having all the business rules , it will prepared by Business analyst/Client, but we are unable to understand that business rules , so our domain experts will create FRS or SRS, so that we can easily understand. It contains brief description about the application. It is the 1st process that should befollowed by every Organization [...]
Read MoreUML Use Case wiki
What is a Use Case? A Use case is a description of how a system’s behavior in response to a request from a stakeholder known as an actor. The actor could be a person or an external system that interacts with the system being described. The actor initiates an action with the system with the [...]
Read More