Questions tagged [openerp-7]

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.

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 web client for web browsers 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 Apps:

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 apps reached more than 2500.

Development environment:

Module development mainly relies around editing Python and XML files.

879 questions
4
votes
3 answers

How to create record adding one2many values?

Let say I have such classes: class First(orm.Model): _name = 'first.class' _columns = { 'partner_id': fields.many2one('res.partner', 'Partner'), 'res_ids': fields.one2many('second.class', 'first_id', 'Resources'), …
Andrius
  • 19,658
  • 37
  • 143
  • 243
4
votes
1 answer

How do I send an E-mail to a discussion group in OpenERP 7?

I've created a new discussion group in OpenERP 7 under messaging. I'm trying to send a notification email to all the members of the group when the status of a task is changed. I have already tried creating an automated action and linking to server…
user1930115
  • 995
  • 2
  • 11
  • 19
3
votes
1 answer

get total attendance from Timesheet

in ower society, employee's payslip is based on timesheet attendance. so in order to make that possible, I have been changing in openerp(7) code, exactly in payroll.py the previews code is based on" contract.working_hours " it takes the total of…
imad
  • 179
  • 13
3
votes
1 answer

How to create and show image in odoo

I need help about error in odoo. I have created models and xml for image in odoo. this is my models class Test(osv.osv): _name = "digital.test" _description = "Test" _columns = { 'Servicename': fields.char('Service Name'), 'prodescription':…
Ken Kaneki
  • 125
  • 5
  • 15
3
votes
1 answer

open directly "one2many form view" with create button (odoo)

I have simple code. python: class Test(osv.osv): _name= 'test.name' _columns= { 'name' = fields.char('Name') } xml: Test
3
votes
2 answers

Odoo - access to a field from xml when demo creation

I am developing a module in Odoo. I overload by delegation the class "project.task" form Project module of Odoo. py file class Intervention(models.Model): _name = "module.intervention" _inherits = { "project.task": "task_id" …
olive007
  • 760
  • 1
  • 12
  • 32
3
votes
1 answer

How to copy value of one field to another in odoo?

I have created a custom field discount in product.template module, now i want to copy and assign it to discount field in sales module. I want to automate discount once I type its name,price and its discount value in invoice.I am creating products…
Kiran
  • 1,481
  • 6
  • 36
  • 66
3
votes
3 answers

What is self.pool.get() in python and odoo?

I assume it is used to refer fields in other modules in openerp, but I am not sure. Here they are somehow getting price from one products module to sales module. price = self.pool.get('product.pricelist').price_get(cr, uid, [pricelist],…
Kiran
  • 1,481
  • 6
  • 36
  • 66
3
votes
3 answers

How to use the inherit attribute in OpenERP7?

I'm trying to add the field 'mobil_brigada' to the existing view view_operaciones_brigadas_form, which is in a module named operaciones. My Python code: class operaciones_mobil(osv.osv): _name = 'operaciones.mobil' _inherit =…
3
votes
1 answer

View error: Can't find field 'field name' in the following view parts composing the view of object model 'object name'

My company's client has backed up the database from their server and gave dump file to restore it locally on my machine, on exactly the same versions (7.0). While the backup and restore process works without errors, I get the following OpenERP…
Kiran
  • 1,481
  • 6
  • 36
  • 66
3
votes
1 answer

Inheritance of non model, core class in Odoo/OpenERP

In Odoo, I want to modify the addons/web/session/OpenERPSession class without modifying the core code. Meaning I want to subclass this class from my module so that the system will use my version of the OpenERPSession class instead of the core class.…
George Daramouskas
  • 3,720
  • 3
  • 22
  • 51
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

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

Calculate no of attachments and show it in tree view in openerp 7.0

I am using the following code to add a new column in stock.picking.in object and update the no of attachments to it (to show in tree view the count of attachments). class stock_picking(osv.osv): _inherit = "stock.picking.in" _name =…
Kannan_SJD
  • 1,022
  • 2
  • 13
  • 32
3
votes
1 answer

Why Insert command when button clicked OpenERP

I am working on module. it has a button, its name is creates, as shown in following code.
Saghir A. Khatri
  • 3,429
  • 6
  • 45
  • 76
1 2
3
58 59