odoo

How can I delete the “sheet” node keeping its content intact?

爱⌒轻易说出口 提交于 2020-01-02 11:00:08
问题 I would like to remove the node <sheet></sheet> from a form view. For instance, I have this view: <record id="view_account_period_form" model="ir.ui.view"> <field name="name">account.period.form</field> <field name="model">account.period</field> <field name="arch" type="xml"> <form string="Account Period"> <header> [...] </header> <sheet> <group> <group> <field name="name"/> <field name="fiscalyear_id" widget="selection"/> <label for="date_start" string="Duration"/> <div> <field name="date

how to integrate Odoo with MySQL

混江龙づ霸主 提交于 2020-01-02 06:13:29
问题 I am trying to integrate Odoo(openerp-8) with MySQL on ubuntu server, to get the database access instead of postgresql. But I am unable to figure out the correct way to do that. I tried this link, but it didn't help me http://openerp-team.blogspot.de/2009/08/open-erp-server-with-mysql.html Any better ideas on configuring odoo with MySQL? 回答1: In Odoo apps Store One Free module Available name is "External Database Sources" This module allows you to define connections to foreign databases using

How to create the Window Setup for Odoo 8.0?

放肆的年华 提交于 2020-01-02 01:20:13
问题 I have created so many custom module in ODOO 8.0 adones and I want to create the ODOO Setup file for that for Window installation then Which kind of steps I want to follow or does it need to require for separate software that make my Window setup file. 回答1: This document may helpful for you for create window .exe file for OpenERP V6 please refere the below link : https://doc.odoo.com/6.0/developer/8_24_build/ 回答2: You may try this V8 to see if it can solve your problem. I've tried it on

insert into many2many odoo (former openerp)

怎甘沉沦 提交于 2019-12-31 08:34:19
问题 I'm trying to insert values into a many2many or one2manhy relation table in odoo (former OpenERP). Do you have any idea how to do this? 回答1: Here's an example from the stock module: invoice_line_id = invoice_line_obj.create(cursor, user, { 'name': name, 'origin': origin, 'invoice_id': invoice_id, 'uos_id': uos_id, 'product_id': move_line.product_id.id, 'account_id': account_id, 'price_unit': price_unit, 'discount': discount, 'quantity': move_line.product_uos_qty or move_line.product_qty,

insert into many2many odoo (former openerp)

瘦欲@ 提交于 2019-12-31 08:33:13
问题 I'm trying to insert values into a many2many or one2manhy relation table in odoo (former OpenERP). Do you have any idea how to do this? 回答1: Here's an example from the stock module: invoice_line_id = invoice_line_obj.create(cursor, user, { 'name': name, 'origin': origin, 'invoice_id': invoice_id, 'uos_id': uos_id, 'product_id': move_line.product_id.id, 'account_id': account_id, 'price_unit': price_unit, 'discount': discount, 'quantity': move_line.product_uos_qty or move_line.product_qty,

insert into many2many odoo (former openerp)

∥☆過路亽.° 提交于 2019-12-31 08:31:21
问题 I'm trying to insert values into a many2many or one2manhy relation table in odoo (former OpenERP). Do you have any idea how to do this? 回答1: Here's an example from the stock module: invoice_line_id = invoice_line_obj.create(cursor, user, { 'name': name, 'origin': origin, 'invoice_id': invoice_id, 'uos_id': uos_id, 'product_id': move_line.product_id.id, 'account_id': account_id, 'price_unit': price_unit, 'discount': discount, 'quantity': move_line.product_uos_qty or move_line.product_qty,

PostgreSQL won't start: “server.key” has group or world access

前提是你 提交于 2019-12-31 08:08:09
问题 Whenerver I start PostgreSQL using command: $ sudo /etc/init.d/postgresql start Pg doesn't start up. The error reported is: * Starting PostgreSQL 8.4 database server * The PostgreSQL server failed to start. Please check the log output: 2010-01-21 22:10:00 PST FATAL: private key file "server.key" has group or world access 2010-01-21 22:10:00 PST DETAIL: File must be owned by the database user or root, must have no write permission for "group", and must have no permissions for "other". ... and

PostgreSQL won't start: “server.key” has group or world access

ε祈祈猫儿з 提交于 2019-12-31 08:07:48
问题 Whenerver I start PostgreSQL using command: $ sudo /etc/init.d/postgresql start Pg doesn't start up. The error reported is: * Starting PostgreSQL 8.4 database server * The PostgreSQL server failed to start. Please check the log output: 2010-01-21 22:10:00 PST FATAL: private key file "server.key" has group or world access 2010-01-21 22:10:00 PST DETAIL: File must be owned by the database user or root, must have no write permission for "group", and must have no permissions for "other". ... and

can't adapt type 'account.analytic.account

↘锁芯ラ 提交于 2019-12-31 01:29:08
问题 i am passing an account.analytic.account field from sale order to invoice. intention is to pass the field while confirming sale order. def _prepare_invoice(self, cr, uid, order, lines, context=None): """Prepare the dict of values to create the new invoice for a sales order. This method may be overridden to implement custom invoice generation (making sure to call super() to establish a clean extension chain). :param browse_record order: sale.order record to invoice :param list(int) line: list

How to generate a report in excel (xls, xlsx) format on ODOO?

南楼画角 提交于 2019-12-30 10:23:09
问题 In purchase module, I want to generate the details which is being printed in the purchase order button as a pdf report. My requirement is how to print the report in excel format in odoo 10? 回答1: You can export the current tree view as an excel file with this module: web_export_view Or you can build your own excel report with this other modules: report_xls report_xlsx There are modules that already use the report_xls module, but you can look for them in the Odoo Apps or in the OCA repository