2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 03:19:01 +00:00
Commit Graph

1879 Commits

Author SHA1 Message Date
18alantom
ae6a5e52f2 refactor: move ledgerPosting to models
- move getExchangeRate to helpers
- add git blame ignore
2022-05-23 16:18:22 +05:30
18alantom
de7e5ba807 refactor: rename 'frappe' to 'fyo' outside src
- cause now most of it is different from what it was
2022-05-23 16:18:22 +05:30
18alantom
76bf6cfda5 incr: rem singleton from index.ts cause can't test
- update models to not use singleton export
2022-05-23 16:18:22 +05:30
18alantom
ffdacc9637 incr: type post start 2022-05-23 16:18:22 +05:30
18alantom
a8e208a68a incr: type frappe/utils/format 2022-05-23 16:18:22 +05:30
18alantom
9ec004184c refactor: simplify init flow
- add README.md
- move currency to systemsettings
2022-05-23 16:18:22 +05:30
18alantom
a39d7ed555 incr: complete dbHandler.ts 2022-05-23 16:18:22 +05:30
18alantom
af0d897020 chore: type generateTranslations
- shift csvParser to utils
2022-05-23 16:18:22 +05:30
18alantom
8ba8d7a284 refactor: make getCountryCode a static db core function 2022-05-23 16:18:22 +05:30
18alantom
cb7ac55357 chore: add META.md and shift frappe tests into frappe 2022-05-23 16:18:22 +05:30
18alantom
c7ecdf6ff4 chore: shift readme stuff into a readme 2022-05-23 16:18:22 +05:30
18alantom
591e7b3163 incr: complete typing models
- fix model exports
- add a README for models base
2022-05-23 16:18:22 +05:30
18alantom
91bf6e03fa incr: type Transaction and Tax 2022-05-23 16:18:22 +05:30
18alantom
1cc05d218f incr: type Payment 2022-05-23 16:18:22 +05:30
18alantom
b08a3b9d52 incr: type Party, JournalEntry
- add removeFields
- fix Party schema
2022-05-23 16:18:21 +05:30
18alantom
71800dffd6 incr: type ledgerposting 2022-05-23 16:18:21 +05:30
18alantom
781c1d70e9 refactor: Item and Address models to ts Doc subcls 2022-05-23 16:18:21 +05:30
18alantom
cb54100db4 incr: convert simple models to .ts Doc subclass 2022-05-23 16:18:21 +05:30
18alantom
309c5c7474 refactor: remove util calls from frappe
- shift demux
- fix import
- add init test
2022-05-23 16:18:21 +05:30
18alantom
de7131ba1f fix: translation.ts typing 2022-05-23 16:18:21 +05:30
18alantom
c1482b0d2f incr: convert knex calls to dbHandler calls
- add callBespoke
2022-05-23 16:18:21 +05:30
18alantom
1329c164c7 refactor: convert Customer, Supplier links to Party 2022-05-23 16:18:21 +05:30
18alantom
d69dec1ca7 incr: type translation 2022-05-23 16:18:21 +05:30
18alantom
0201844fd0 refactor: properly type naming
- remove redundant files
- change getDoc and getNewDoc
2022-05-23 16:18:21 +05:30
18alantom
9e71466b82 refactor: use one schema for Customer and Supplier 2022-05-23 16:18:21 +05:30
18alantom
a66e2bcc45 incr: database demux base
- remove a few redundant files
2022-05-23 16:18:21 +05:30
18alantom
0efd2b4c33 refactor: remove core js schemas
- switch to doc and json schemas instead
2022-05-23 16:18:21 +05:30
18alantom
e0e74817be incr: update docHandler to not use meta 2022-05-23 16:18:21 +05:30
18alantom
cdb039d308 incr: delete some stuff add typed doc.ts 2022-05-23 16:18:21 +05:30
18alantom
98e1a44686 incr: get schemaMap on db handler init 2022-05-23 16:18:21 +05:30
18alantom
c9cac7410f chore: rename getNewDoc, newDoc
- delete irrelevant tests
2022-05-23 16:18:21 +05:30
18alantom
1567dc762f incr: add type converters 2022-05-23 16:18:21 +05:30
18alantom
4dbecad1cb incr: add error messaging 2022-05-23 16:18:21 +05:30
18alantom
804d841466 incr: move messages, add DB_ actions 2022-05-23 16:18:21 +05:30
18alantom
9765707d21 incr: add DatabaseManager.call 2022-05-23 16:18:21 +05:30
18alantom
18dd3f8518 test: add more dbcore tests
- fix bugs in core.ts
2022-05-23 16:18:21 +05:30
18alantom
f5d795d95b test: add tests for singlevalue CRUD
- add utils
2022-05-23 16:18:21 +05:30
18alantom
f7a2dd8f2b test: start with dbCore tests 2022-05-23 16:18:21 +05:30
18alantom
4800112ff4 test: schema builder 2022-05-23 16:18:21 +05:30
18alantom
74bfe7931c chore: fix types 2022-05-23 16:18:21 +05:30
18alantom
7514c95883 chore: add mocha and deps 2022-05-23 16:18:21 +05:30
18alantom
e9fab0cf83 incr: add databaseManager, privitize methods 2022-05-23 16:18:21 +05:30
18alantom
74d173f682 incr: refactor core.ts to use schema !meta 2022-05-23 16:18:21 +05:30
18alantom
19278e92d6 incr: add meta fields 2022-05-23 16:18:21 +05:30
18alantom
ef6e8d44ab incr: build schemas, add some notes 2022-05-23 16:18:21 +05:30
18alantom
879b677b3b incr: cleanup and import schemas 2022-05-23 16:18:21 +05:30
18alantom
02cacd5697 incr: add schemas 2022-05-23 16:18:21 +05:30
18alantom
a546f144ca incr: drop unused doctypes 2022-05-23 16:18:21 +05:30
18alantom
71d931ac75 incr: checkpoint 2022-05-23 16:18:21 +05:30
18alantom
72b6478e29 incr: create typed frappe 2022-05-23 16:18:21 +05:30