Odoo Help


Doing Business As Sharing GL accounts

on 6/24/13, 3:19 PM 2,235 views

Is there a way to set up Open ERP to do the following. I have 1 legal entity but is doing business under 2 different names. 1. "The flower shop" retail store (Legal business) 2. "Tulips are we" consukting service. (Doing Business as)

A. I want to keep all the accounting in one set of books. B. All items are shared between the 2 operations C. Company 1 and Company 2 can sellall products D. All documents going to customers need to look different with different logos.

Setting up a Parent-child relation forced me to duplicate of all GL accounts. Also it forced me to duplicate all products since the categories needed to point at different GL accounts.

I see that people have been saying that one should use sales tems using different templates. The problem I and others are seeing is that there is no place to set up the templates by sales team even though it is stated that it is possible.

If templates is the path to success where do you set it up in OpenErp 7.0? Is it easy to have the content on the invoices, sales order, quotes etc. included be automatically selected by sales team .

The Shop solution has been working nicely. I am in the process of adding a new division and it might be a good idea to use the (sales team /section_id) instead But it does not work. Any suggestions what I did wrong

on 3/13/15, 6:12 PM

Ray Carnes

--Ray Carnes--
| 9 7 9
Keyport, United States
--Ray Carnes--

Senior ERP Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0 and 11.0.

Completed Odoo Functional and Technical Training.

Functional Areas:

  • CRM/Sales

  • Inventory

  • Manufacturing

  • Accounting

  • Purchasing

Major Skills:

  • Business Process Reengineering

  • Efficiency Consulting

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes
On 6/26/13, 1:05 AM

Perhaps this would be easier to support what you need by just setting up two shops?

One Chart of Accounts, one 'set of books', one list of products that can be sold by both shops, from the same warehouse.

You would then just need to have conditional reports. The sale.order model has a shop_id associated with it - this would let you have different reports for quotes and orders. You would have to add this attribute to account.invoice to have different reports for invoices.


Try something like:

<para style="terp_default_8">[[ o.shop_id = 'first id' and removeParentNode('para') ]] <image x="1.3cm" y="25.9cm" height="30.0" file="path/to/images/logo_1.png"/></para>

<para style="terp_default_8">[[ o.shop_id = 'second id' and removeParentNode('para') ]] <image x="1.3cm" y="25.9cm" height="30.0" file="path/to/images/logo_2.png"/></para>

<image file="shop_a_logo.png" >[[ o.shop_id.name in ['Shop B'] and removeParentNode('image') ]]</image>

<image file="shop_b_logo.png" >[[ o.shop_id.name in ['Shop A'] and removeParentNode('image') ]]</image>

Note that the images will be centered on the page. You can't have images (this way) inside <para> tags and there are a lot of things not supported this way.

This sound as a possibility. I am new to to Open ERP so my question is is there a attribute that already exist in the sales.order model and in the account.invoice. Is the sales team such an attribute or is the shop_ID best way to achieve my goals.

on 6/26/13, 1:23 PM

I am not getting the logo to switch when I change the Shop_ID. What should the expression below look like to get a logo dependent on the shop_id. I am planning to use a http address to store the image <image x="1.3cm" y="25.9cm" height="30.0" >[[ company.logo or removeParentNode('image') ]]</image>

on 6/27/13, 9:26 PM

The proposal works fine. I added an additional field to the shop to be able to get different footers for the different shops. Next step is to try to add the shop attribute to account.invoice.

on 7/8/13, 7:10 PM

Take a look at http://v6apps.openerp.com/addon/6739 - this adds a new field to account.invoice and fills it from a value on the sales order. You should be able to modify it to suit your needs.

Ray Carnes
on 7/10/13, 8:38 PM

In the process of implementing this in the Invoice I stumbled over a report problem where the header and footer went missing after modifying the invoice report using the open office report editor. I will update this post once I have solved the urgent problem with the missing header and footer and will be able to continue on this work.

on 7/31/13, 6:20 PM

It seems this thread tries to accomplish the same https://www.odoo.com/forum/help-1/question/how-to-work-with-multiple-shops-multi-company-51983

I've been playing around with multi-company as well which works fine for me in the backend/accounting, but I struggle to match the consumer facing website accordingly.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 6/24/13, 3:19 PM
Seen: 2235 times
Last updated: 3/16/15, 8:10 AM