Giter Site home page Giter Site logo

Comments (6)

huerlisi avatar huerlisi commented on May 19, 2024

This is because of some hardcoded accounts for debit/credit invoices. There actually need to be some accounts with numbers '1100', '3200', ''2000", and '4000' to get invoices working correctly.

These values are hardcoded in the DebitInvoice an CreditInvoice models. But it should actually be a configuration in the Tenant.

To get it working fast, you might try to load the seed data for Switzerland. Start the console and run
load "db/seeds/locales/de-CH.rb"

Cheers
Simon

from bookyt.

enyachoke avatar enyachoke commented on May 19, 2024

Thank I was doubting that but I was not sure. Thanks a million. I also signed-up for an account on the issue tracker.

from bookyt.

enyachoke avatar enyachoke commented on May 19, 2024

So any plans to fix this. Or I should just clone the project and try to fix it myself

from bookyt.

huerlisi avatar huerlisi commented on May 19, 2024

Working on a fix. But contributions are very welcome:-)

Probably best to file further issues on github, it's a hazzle to sign up on our redmine... Thanx for doing so, anyway:-)

from bookyt.

enyachoke avatar enyachoke commented on May 19, 2024

Thanks.

On Mon, Jun 17, 2013 at 11:28 PM, Simon Hürlimann
[email protected]:

Working on a fix. But contributions are very welcome:-)

Probably best to file further issues on github, it's a hazzle to sign up
on our redmine... Thanx for doing so, anyway:-)


Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-19572370
.

Computer Science Student At Kabarak University.
Systems developer at Bespoke Systems.
Android and Appengine applications developer.
Founder Of Pyxis Kenya Limited.
GDG Kabarak lead.

from bookyt.

huerlisi avatar huerlisi commented on May 19, 2024

Sorry for the long delay.

I took the time to implemented a more generic solution to select the relevant accounts used for invoices. You can now configure tags in the Account view/form. Those will be used as debit/credit accounts for new credit and debit invoices. It should now also not raise an error if you didn't specify them, but you would have to manually set the accounts for each line item in this case.

You should now be able to create invoices. There's an open issue regarding printing/PDF download for debit invoices. It gives an error if you don't have a bank account with the relevant bank information configured.

I'll fix that issue soonish, but it should be quite simple to add a check if such a BankAccount/Bank is configured and otherwise leave out this information. So feel free to fork and hack;-)

from bookyt.

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.