Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

Odoo 9 : How to Enable Inter-Company?

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
intercompanyodoo9.0
3 Răspunsuri
8554 Vizualizări
Imagine profil
Rizky Prihanto

Recently I was enabling the "Multi Company" mode on Odoo 9 (cloned from 9.0 branch). And I already create three companies in the Settings.

But, when I activated the "Inter Company" from Settings while at the same time I ran logging in console, I found this error messages (see below).

I don't know what dependencies needed to successfully enable that nice-to-explore features.

Any clue? Thanks.


2015-10-30 19:01:39,288 5763 INFO mmgroup openerp.modules.module: module inter_company_rules: creating or updating database tables
2015-10-30 19:01:39,758 5763 INFO mmgroup openerp.modules.loading: loading inter_company_rules/views/inter_company_so_po_view.xml
2015-10-30 19:01:39,780 5763 INFO mmgroup openerp.addons.base.ir.ir_ui_view: View inheritance may not use attribute 'string' as a selector.
Error context:
View `res.company.form.inherit`
[view_id: 664, xml_id: n/a, model: res.company, parent_id: 110]
2015-10-30 19:01:39,783 5763 ERROR mmgroup openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/opt/odoo/openerp/http.py", line 599, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/openerp/http.py", line 636, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/openerp/http.py", line 315, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/openerp/http.py", line 308, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo/openerp/http.py", line 887, in __call__
return self.method(*args, **kw)
File "/opt/odoo/openerp/http.py", line 465, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/addons/web/controllers/main.py", line 975, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/odoo/addons/web/controllers/main.py", line 963, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/opt/odoo/openerp/api.py", line 232, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/openerp/addons/base/res/res_config.py", line 605, in execute
action = self._install_modules(cr, uid, to_install, context=context)
File "/opt/odoo/openerp/addons/base/res/res_config.py", line 39, in _install_modules
result = ir_module.button_immediate_install(cr, uid, to_install_ids, context=context)
File "/opt/odoo/openerp/api.py", line 232, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/openerp/addons/base/module/module.py", line 459, in button_immediate_install
return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
File "/opt/odoo/openerp/api.py", line 232, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/openerp/addons/base/module/module.py", line 533, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/opt/odoo/openerp/modules/registry.py", line 385, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/opt/odoo/openerp/modules/loading.py", line 337, in load_modules
loaded_modules, update_module)
File "/opt/odoo/openerp/modules/loading.py", line 237, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/opt/odoo/openerp/modules/loading.py", line 156, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='data')
File "/opt/odoo/openerp/modules/loading.py", line 98, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/opt/odoo/openerp/tools/convert.py", line 852, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/opt/odoo/openerp/tools/convert.py", line 939, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "/opt/odoo/openerp/tools/convert.py", line 802, in parse
self.parse(rec, mode)
File "/opt/odoo/openerp/tools/convert.py", line 805, in parse
self._tags[rec.tag](self.cr, rec, de, mode=mode)
File "/opt/odoo/openerp/tools/convert.py", line 709, in _tag_record
id = self.pool['ir.model.data']._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
File "/opt/odoo/openerp/api.py", line 232, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/openerp/addons/base/ir/ir_model.py", line 1107, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/opt/odoo/openerp/api.py", line 232, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/openerp/addons/base/ir/ir_ui_view.py", line 351, in create
context=context)
File "/opt/odoo/openerp/api.py", line 232, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/openerp/api.py", line 327, in old_api
result = method(recs, *args, **kwargs)
File "/opt/odoo/openerp/models.py", line 4125, in create
record = self.browse(self._create(old_vals))
File "/opt/odoo/openerp/api.py", line 230, in wrapper
return new_api(self, *args, **kwargs)
File "/opt/odoo/openerp/api.py", line 463, in new_api
result = method(self._model, cr, uid, *args, **kwargs)
File "/opt/odoo/openerp/models.py", line 4316, in _create
recs._validate_fields(vals)
File "/opt/odoo/openerp/api.py", line 230, in wrapper
return new_api(self, *args, **kwargs)
File "/opt/odoo/openerp/models.py", line 1267, in _validate_fields
raise ValidationError('\n'.join(errors))
ParseError: "Invalid view definition
Error details:
View inheritance may not use attribute 'string' as a selector.
Error context:
View `res.company.form.inherit`
[view_id: 664, xml_id: n/a, model: res.company, parent_id: 110]
None" while parsing /opt/odoo/.local/share/Odoo/addons/9.0/inter_company_rules/views/inter_company_so_po_view.xml:5, near
<record model="ir.ui.view" id="view_company_inter_change_inherit_form">
<field name="name">res.company.form.inherit</field>
<field name="inherit_id" ref="base.view_company_form"/>
<field name="model">res.company</field>
<field name="arch" type="xml">
<xpath expr="//notebook/page[@string='Configuration']" position="inside">
<group string="Inter-Company Rules">
<field name="so_from_po" attrs="{'invisible': [('auto_generate_invoices', '=', True)]}"/>
<field name="po_from_so" attrs="{'invisible': [('auto_generate_invoices', '=', True)]}"/>
<field name="warehouse_id" attrs="{'required': [('po_from_so', '=', True)], 'invisible': [('po_from_so', '=', False)]}" domain="[('company_id', '=', active_id)]"/>
<field name="auto_validation" attrs="{'invisible': [('auto_generate_invoices', '=', True)]}"/>
<field name="auto_generate_invoices" attrs="{'invisible': ['|', ('so_from_po', '=', True), ('po_from_so', '=', True)]}"/>
<field name="intercompany_user_id" colspan="2" attrs="{'required': ['|','|',('so_from_po', '=', True), ('po_from_so', '=', True), ('auto_generate_invoices', '=', True)]}"/>
</group>
</xpath>
</field>
</record>
2015-10-30 19:01:39,787 5763 INFO mmgroup werkzeug: 127.0.0.1 - - [30/Oct/2015 19:01:39] "POST /web/dataset/call_button HTTP/1.0" 200 -


0
Imagine profil
Abandonează
Imagine profil
Ray Carnes
Cel mai bun răspuns

You need to update your version of 9.0.  

The repository for Odoo 9.0 Enterprise (inter_company_so_po_view.xml) shows:

<xpath expr="//notebook" position="inside">

The code looks like it hasn't changed since August 28th.  When did you get your version of 9.0?


Your version has this (causing the problem):

<xpath expr="//notebook/page[@string='Configuration']" position="inside">
0
Imagine profil
Abandonează
Rizky Prihanto
Autor

I was git pull-ing the 9.0 branch just an hour ago, from https://github.com/odoo/odoo And I tried your suggestion above, and yeah... now the "Inter Company Module" was successfully loaded. Thanks so much.

Imagine profil
DIDIER LACOMBE
Cel mai bun răspuns

Hello


have you really been successful with inter-co V9 ??


Thanks for answering


0
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Is there any module for manage test cases in odoo?
odoo9.0
Imagine profil
Imagine profil
1
dec. 24
6868
How to hide duplicate button inside form view Odoo 9
odoo9.0
Imagine profil
Imagine profil
Imagine profil
Imagine profil
3
aug. 24
7651
how to know the odoo master password? Rezolvat
odoo9.0
Imagine profil
Imagine profil
Imagine profil
Imagine profil
Imagine profil
4
iul. 24
42642
Default value in form view Rezolvat
odoo9.0
Imagine profil
Imagine profil
Imagine profil
Imagine profil
5
apr. 23
100914
odoo 9 theme installed in addson are missing from app Rezolvat
odoo9.0
Imagine profil
Imagine profil
Imagine profil
3
nov. 22
5171
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now