Where can I find an OpenERP Web Service API method list?
We are looking to implement OpenERP for a client in a web based application. This means we will be using the web services through XML-RPC to connect with their database. We have already found quite...
View Articlework with postgres function into openerp 6.1
Hello. I have a module for OpenERP itself must travel a table that has many rows. The first time the module is invoked, it takes a lot, and that makes the total length of the entire table and depending...
View Articlewhat does get_object_reference function do?
I need an explanation for the get_object_reference function
View ArticleWhy fields doesn't save auto retrieved data?
Hello, I have a form that takes data with a on_change function an show it when i select an employee but i realize that when i hit the save button and check the record i just created all the data that i...
View Articlemodule without fields?
Can we create a module which depends on the other and does not contain any field and only has a function which is called by its only button in a view?
View ArticleHow to use python function in openoffice?
I have a function which selects a query from database and returns a result, I want to use this function in my openoffice report, please help on how to call that function in the report.
View ArticleIs this a correct cron job?
I tried to create a programmed action in one module. Declared this in my view.Run Personnel Actions Job1days-1 And then declared this on my .py file. def run_personnel_actions(self, cr, uid, ids,...
View ArticleAttributeError: 'NoneType' object has no attribute 'get'
I need to read a field in an object, which is `purchase.order `, from another object `product.product` This field is a selection type field, so if this field has `si` selected then do...
View ArticleFunction Many2One with two values (like Value1 | Value2)
Hello, Since Many2one field only displays one field, I thought about wrote a function to display in Many2one two fields, like this way: def get_services(self, cr, uid, ids, context=None): values =...
View ArticleHow to avoid double entry?
I added a field cartage about an half year ago, and i tried adding another field the exact same way. I get only one issue that is the entry i insert gets a double insert. Please anyone could help?>...
View Articlehow to highlight a field from a function?
I can give the field class="oe_form_invalid" but don't know how to do that. Help me through this.
View ArticleOverriding Function From mail_thred
I am Trying to overide message_post function from mail_thread object :-) But instead of calling my customized function , it s calling standard function :-) What would be the mistake:
View Articlesale quotation: check if unit_price lower than purchase price
Hi I'm currently am worken on a way to check if the unit_price on the sale order line is lower than the standard_price on the product of that line. if the unit price is lower than the standard_price...
View Articlesale order : check if unit_price lower than purchase_price
Hi I'm currently am worken on a way to check if the unit_price on the sale order line is lower than the standard_price on the product of that line. if the unit price is lower than the standard_price...
View ArticleHow to make a fields.function NOT readonly?
Hi, I am trying to have a fields.function that have a default value for res_partner if it is a contact of a company, or if it is a company. But this value can be changed. So I try this: def...
View ArticleHow to pass arguments to defaults function?
Hi, I am trying to create a field that have a default value equal to True if the partner (res_partner) is a company or a contact. I didn't figure it out how to send the argument is_company and...
View ArticleProblems overriding the same function from two different modules
We have two modules which are overriding the same function (**product_id_change** of *sale_order_line* class). One of this modules is an own module and the other is *sale_margin*. In this two...
View ArticlePrint report and send as email from one function?
I am looking for a code or a function or an example where a report is being printed and sent to the partner in just one step. Can anyone suggest me how to do that or give an example or a link or...
View Articlerefuse timesheet function
Hello, In the model 'hr_timesheet_sheet.sheet' I want to create a function triggered by a button that sets the Timesheet workflow to state="draft" and at the same time opens a form view, but I don't...
View ArticleHow do use a fields.funtion in one object to change one variable depending on...
Hi, I'm trying to do a fields.function in account.voucher.line that when the state of account.voucher change save some information in account.voucher.line. I've started just by saving one thing. But...
View Article