Git Product home page Git Product logo

Comments (6)

yvaucher avatar yvaucher commented on July 28, 2024

@Martronic-SA Issue is that the Odoo core module now includes more than the Chart of account.

Your assertion was true for version <12.0

https://github.com/odoo/odoo/blob/91560fae56f1cba09141eefa1d0da03f4a7b3f72/addons/l10n_ch/models/res_bank.py#L26-L36

from l10n-switzerland.

yvaucher avatar yvaucher commented on July 28, 2024

What you want is to avoid to generate automatically the CoA. The template on itself is not an issue.

It's a bit tricky but possible to avoid Odoo to install automatically the CoA from the template on module's installation.

What you can do is to create a single account.account on your company. Before installing l10n_ch. It will consider you already have a CoA installed and won't copy the template as CoA.

Warning, installing account module with your company set with CH country will also automatically install l10n_ch
https://github.com/odoo/odoo/blob/12.0/addons/account/__init__.py#L13

from l10n-switzerland.

Martronic-SA avatar Martronic-SA commented on July 28, 2024

Ok I see. But banks and CoA might (should?) have been added in two separate modules as long as they concern two different things not linked together (except that they are both for Switzerland).
In my particular case I just wanted to uninstall the swiss CoA but keep swiss banks.

from l10n-switzerland.

yvaucher avatar yvaucher commented on July 28, 2024

I know, Odoo have been a bit un-flexible about it due to their stable policy, you can try to contact them about this but they will most likely change nothing before Odoo 14.0.

from l10n-switzerland.

Martronic-SA avatar Martronic-SA commented on July 28, 2024

Yes I understand that it's difficult to change now that te module l10n_ch has been published like that.
I keep that issue open for the moment as so we can think about it for the future releases.

from l10n-switzerland.

github-actions avatar github-actions commented on July 28, 2024

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

from l10n-switzerland.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.