Comments (6)
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.
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.
So any plans to fix this. Or I should just clone the project and try to fix it myself
from bookyt.
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.
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.
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)
- as a user I wan't proper validation instead wild exceptions on VCard fields
- as a user I wan't proper validation instead wild exceptions on bank imports
- `SaldoLineItems` (Zwischentotal) is getting validated for non showed fields
- empty `pc_id` results in an exception when `vesr` is activated on invoice generation
- What should be the preferred way to style generated documents (ie. invoices) HOT 9
- Fix link to demo instance in README HOT 1
- Be more relaxed in allowed tenant/subdomain names
- A lot of pieces of interface isn't localized to English HOT 2
- Newest bookings should be first
- When setting a valutadate on a wage pay it does change back after saving.
- allow 3 decimal spaces for percentage (AHV etc.)
- Wrong Apostrophs are used everywhere… →’ that’s the right one. → ' wrong one HOT 2
- Wrong numbers in Journal
- Your website is down. HOT 2
- subtotal line items should use proper default title
- line item fields should be visually marked as invalid
- Line Item value date fields show date without format on edit
- API
- Missing `Invoice.settings` HOT 2
- VESR record booked wrong
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bookyt.