newbie ask for help about module development?
An exception occurred while I'm trying to write my module. This is a part of my .py file: class classroom(osv.osv): _name = 'course.classroom' _description = 'Classrooms' columns = { 'building' :...
View Articleeclipse and openerp development setup
Warm greetings, I have installed openerp 7 on my ubuntu 12.4 and is working fine. I have also configured eclipse and pydev, however, when I run openerp-server on eclipse to start openerp, I get the...
View ArticleHow do I limit the number of results in a tree view?
Hi folks, So, within a form view I have an embedded tree view (one2many field). This embedded view, by default, shows 80 results before it starts paging. As this is an embedded view, the number of...
View ArticleWhen i click on Print Button RML get error
Hello, Friends i created one module testing purpose to generate blank pdf file to open. but something i missed and when i press print button then error come so can you help me how can i fix. **Thanks...
View ArticleHow can I get object attribute in js script?
I want to extend calendar view with a read-only field but I don't know how I can get this field in JS file. I think I can use `instance` var: openerp.web_calendar = function(instance) { var _t =...
View ArticleWhat are some suggestions to start learning the OpenERP code
I already have some knowledge about Python and Javascript. With this I want to start learning how OpenERP works and relates to each part. How should I start this voyage in learning how OpenERP at the...
View ArticleOpenerp 8 (dev) Internal Server Error
I started a v8 installation in a virtual machine to start some module development and generally look at what's new in v8. Everything was going ok, I was installing various core modules to get things...
View ArticleIn POS only display on hand quantity
Hello Every one i have 15200 products and 10000 up product has no quantity so it takes too much time to load. please give me advise how can i display product has at least 1 quantity ? i try in pos in...
View ArticleHow to create a new openerp modules
I am new in OpenERP. I need to create a new OpenERP7 Point of Delivery(POD) module. I want to know what are all the possible ways (Either full python code or web services way)? I want to write in...
View Articlehow to set required field in opportunity state
After converted lead to opportunity, it present New state in opportunity and if I move that new opportunity to qualification or any other state in opportunity i need to set required field how can I...
View ArticleHow can i generate Two different forms,tree for one module in openerp v7
Hello, Every one i am new in OpenERP and i want to create Two different forms,tree for specific module like res_partner. can you help me and give me some ides about how to create. Thanks in advance.
View ArticleInherit config setting in module hr
Hi everyone, I'm developping with openerp 7 in module human resources. I want to create field inherit config setting in menu human resources. but i don't know how to do field reference inherit in...
View ArticleWhat is the difference between `db_connect` and `get_db` to obtain a Cursor?
When I need a new Cursor() for a database, I have at least 2 ways to initialize a new one. Using the helpers functions in `openerp.pooler`: cr = openerp.pooler.get_db('name_of_my_database').cursor() #...
View ArticleHow to make the enter key work as tab key?
For example in *view_list_editable.js:483* by Sale Order creation. keyup_ENTER: function () { return this._next(); }, Something like what does't worked for me: $(':input').bind('keypress',...
View ArticlePurpose of removing run-tests from trunk branch?
Hello, I was checking the latest revisions of the Openerp trunk branch and noticed the functionality for run-tests in the openerpcommand was removed in what i think is favor for phantomjs. I am curious...
View ArticleHow to load/install a custom module?
I racked my head trying to load a simple module that I'm developing but it doesn't work. Nothing happens when I start open-server script. The custom module doesn't show on the Settings>Apps This is...
View ArticleDevelopment Environment on Windows OS
Hello, I want to start development of my custom module that will help me in adding fields and for other purposes I am using : -->Windows 7 -->Openerp7 Allinone Setup -->Version of (OpenERP...
View ArticleAuto-increment Ref# in Journal Voucher
Hello, Accounting -->Journal Entries-->Journal Vouchers-->Create How Can I set my REF# field Auto-incremented ,in Pg admin admin table Name="Account_voucher" Column="Reference" I want this...
View ArticleImportant* Auto Generation of Ref# in Journal Voucher
Hello, In Accounting & Finance module -->Journal Entries-->Journal voucher--> Create Now 4th field from top to bottom is REF# I want it to be auto generated initially it appears as an...
View ArticleDoes "dpkg -i openerp<version.deb" change openerp __version__?
I'm having that problem where my module does not appear for installation, instead I get "No module found!" So I'd un-installed openerp: dpkg --purge openerp_7.0-20131021-232357-1_all.deb rm -Rf...
View Article