Questions tagged [openerp-8]

OpenERP is an open-source enterprise resource planning (ERP) software actively programmed, supported, and organized by OpenERP S.A. OpenERP is an open source alternative to SAP ERP, Oracle E-Business Suite, Microsoft Dynamics, Netsuite, Adempiere, Compiere, OFBiz, Openbravo, and other enterprise resource planning software.

OpenERP 8.0 is the upcoming release version. In this version some modifications are in the database table, base class, and it adds some new modules. So OpenERP 8.0 related question/answer welcome.

Web application architecture:

The most recent versions of OpenERP (including version 7) are mostly implemented as a web application. OpenERP includes an application server/web server (known as the OpenERP Server) that focuses on ERP business logic, stores data through an interface with a database, and a web client for web browser access. The server and business logic portion of OpenERP is primarily written in the Python programming language. The web client is primarily written in JavaScript.

Modules:

Business features are organized into modules. A module is a folder with a predefined structure containing Python code and XML files. A module defines data structure, forms, reports, menus, procedures, work-flows, etc. Modules can also contain web components written in JavaScript.

Database:

OpenERP uses PostgreSQL as database management system.

OpenERP applications:

OpenERP S.A. provides a web site referencing the officially supported modules as well as contribution modules. Contribution modules can be referenced for free as long as they respect some submission rules. As of November 2012, the number of OpenERP applications reached more than 2500.

Development environment:

Module development mainly relies around editable Python and XML files.

465 questions
3
votes
1 answer

Unique email field in Odoo v8

I want to set the email from Leads and Contacts unique. I have tried to change in /usr/lib/python2.7/dist-packages/openerp/models.py file, line 342 from: _sql_constraints = [] in: _sql_constraints = [ ('user_email', 'unique(user_email)',…
radu c
  • 4,138
  • 7
  • 30
  • 45
3
votes
1 answer

ValueError: "undefined get method !" while evaluating u'action_ship_create()' in Odoo

I have custom module in which override method of sale module. Method name is action_ship_create() Here is my code: def action_ship_create(self, cr, uid, ids, context=None): res = super(sale_order, self).action_ship_create(cr, uid, ids,…
Bhavesh Odedra
  • 10,990
  • 12
  • 33
  • 58
3
votes
3 answers

Compute method is called multiple times?

I found out that this probably isn't concurrency problem as the method is recalled JUST WHEN I TRY TO UPDATE THE sync.test.subject.b's separated_chars FIELD (at the end of the method). So I can't solve this with thread locking as the method…
William Wino
  • 3,599
  • 7
  • 38
  • 61
3
votes
2 answers

How do I properly create, write or unlink records for many2many field using the new API?

Can someone give me an example to manipulate a many2many field using the new API? I've tried to read the Documentation to no avail. Here are my example classes: from openerp import models, fields, api, _ class example_class_one(models.Model): …
William Wino
  • 3,599
  • 7
  • 38
  • 61
3
votes
4 answers

What is wrong with following code in Python?

I was trying to implement a constraint for a field but instead of causing a constraint validation, it allows the record to get saved without showing any constraint message def _check_contact_number(self, cr, uid, ids, context=None): for rec in…
Shravy
  • 656
  • 1
  • 23
  • 61
3
votes
1 answer

odoo - get value from many2one field

My code: class SaleOrder(osv.Model): _inherit = 'sale.order' _columns = { 'xx_delivery_date': fields.date(string='Delivery date'), 'xx_payment_method': fields.many2one('xx.payment.method', …
ThomasS
  • 705
  • 1
  • 11
  • 30
3
votes
1 answer

How to publish offline odoo website for public viewing on Windows domain server

I have designed a small, simple and static website offline in odoo 8. It is on my computer: Localhost. I want to transfer these files to domain server which is on Windows and database in MySQL. Which files I have to pick up from my PC to transfer to…
3
votes
1 answer

how to work on with email alias in odoo 8?

Anybody please help me with Odoo mailing aliases for a corporate domain. I have been behind this two to three days and failing to get the work done. I am pretty much confused between the email to be set in user preferences and email aliases and…
Shravy
  • 656
  • 1
  • 23
  • 61
3
votes
1 answer

How do I totally remove the "follow" functionality on Odoo/OpenERP?

I'm talking about the follow button under users. Can this be done with Access control without modifying the views?
Alexander Suraphel
  • 10,103
  • 10
  • 55
  • 90
3
votes
1 answer

Inheritance in openERP (odoo)

I am new in openERP and have an interview. Please explain the idea of different types of inheritance in openERP, i think it total 3 types. please explain it in very simple way from the perspective of interview. P.S: I am familiar with the concept of…
Mudasir Sharif
  • 733
  • 2
  • 15
  • 31
3
votes
1 answer

How to achieve "Send by email" functionality in "Quotations" and "Sales Order" module in ODOO?

I am developing ODOO application in iOS. I want to achieve "Send by email" functionality in "Quotations" and "Sales Order" module in ODOO. So is there any API available to achieve this functionality ? Or shall i generate PDF programmatically in iOS…
Tejas Bharambe
  • 672
  • 1
  • 12
  • 27
3
votes
2 answers

How to get field value from a model from another model in Odoo?

I'm having some trouble to understand how to get field values from another model. I added a custom field in res.partner module by making a custom module: class custom_partner_fields(osv.osv): _inherit = 'res.partner' _columns = { 'RTN':…
Armando
  • 309
  • 1
  • 4
  • 10
3
votes
2 answers

How to debug OpenERP / Odoo properly?

I am using pdb.set_trace() as a breakpoint in my python function during Odoo development and I keep getting the log messages. pdb.set_trace() -> if s['confirm_state'] in ['draft','confirmed']: (Pdb) 2015-04-05 05:40:12,794 9981 INFO…
Vyas Senthil
  • 173
  • 2
  • 12
3
votes
1 answer

Odoo - how to properly copy views from other model

I have a model. For example let say it is this: class my_model(models.Model): _name = 'my.model' field1 = fields.Char('name') It has tree and form views. Both work properly. Now I have created new model, copying old one: class…
Andrius
  • 19,658
  • 37
  • 143
  • 243
3
votes
3 answers

Powered by Odoo footer

I need to change the "Powered" in "Powered by Odoo" footer to "Made", So the footer of my Odoo (Formerly OpenERP) Version 8.0-aab3d9f will be "Made by Odoo" any ideas??
Sara
  • 43
  • 3