This question has been flagged
5 Replies
6008 Views

Hi,

We are a company and we have several shop. My issue is for each shop I would like to print invoice with a specific header/footer. Each shop have a personnal logo and headline. Curently I have setup the header and footer for the company but each shop use this template.

The solution I see is to setup each shop as a company (with personalizer footer and header) and define our company as mother company. My issue with this setup is in the charts of accounts I have one account for each shop and the mother company accounts are empty.

Is there a better way to setup the shop ? We are in open erp 6.1.

Thank you.

Avatar
Discard
Best Answer

Hi,

we solved this problem by creating a new m2o field (shop_id) in res.users and two new fields (partner_id and rml_footer) in sale.shop. So we can create a partner for the shop address and a footer per shop.

Change the configuration of header and use (user.shop_id) instead of company.

hope it help you to solve the problem.

Avatar
Discard

Hi Christian,

That sounds like a good solution, we are having the exact same issue. The problem is i'm a novice in openerp changes, could you tell step by step how to implement those changes?

Thanks, Paul

We have exactly same demand in OE7.0. Is there a solution yet?

Best Answer

If you want to personalize each shop header and footer, then there are not other way to do this. You must setup new company for each shop. If you want to consolidate chart of accounts, then try to use accont Internal Type - Consolidation.

Avatar
Discard
Author

Thank you it is not the best solution but it was my thought ...

Author

Tank you for the answer

Where do i neet to change the account type? It is for all accounts, the account i want to use or the main account ("0" one)...? Thanks

Best Answer

If you are happy with your current multi-shop setup, and your only interest is to have independent headers for invoices, you can use base_report_header and add a little logic to the print invoice call to select the right header/footer for each shop...

v6apps.openerp.com/addon/7522?filter=%7B%22category%22%3A+9%2C+%22order_by%22%3A+%22click_counter+desc%22%2C+%22author%22%3A+211%7D&page=0

Regards, -Mario

Avatar
Discard
Author

Thank you mario I will have a look to this module.

Stéphane

Best Answer

Stéphane, Did you manage to solve this issue? I have the same problem.

Thanks

Bouke

Avatar
Discard
Best Answer

Hi Christian,

That sounds like a good solution, we are having the exact same issue. The problem is i'm a novice in openerp changes, could you tell step by step how to implement those changes?

Thanks, Paul

Avatar
Discard