Commit graph

2020 commits

Author SHA1 Message Date
SUBHANKAR DHAR
6b3be33e9f style: replace IST abbreviation to pass codespell check
codespell flags 'IST' as a misspelling; expand to 'India Time' instead.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-16 15:43:43 +05:30
SUBHANKAR DHAR
c40e7992cb style: fix black/isort formatting and codespell typo to pass pre-commit lint
- black: auto-reformatted all 4 Furnitex scripts to PEP 8 style
- isort: sorted imports in setup_furnitex.py and delete_streetwok.py
- codespell: renamed loop variable `ot` → `opp_type` in create_crm_stages()
  (codespell flagged `ot` as a misspelling)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-16 15:41:54 +05:30
SUBHANKAR DHAR
4678d517ae fix: remove frappe.db.commit() from OnSite WIP server script
Frappe v16's server script sandbox does not allow explicit commits —
the framework manages the transaction automatically after the event
handler runs. Calling frappe.db.commit() inside a DocType Event script
throws AttributeError: module has no attribute 'commit'.

Also adds fix_server_script_commit.py to patch already-deployed instances.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-16 15:32:38 +05:30
SUBHANKAR DHAR
7c52d9b84b feat(furnitex): add CRM/billing setup, company cleanup, and business info scripts
- setup_furnitex_crm_billing.py: creates customer groups, territories, lead
  sources (custom Select field), sales persons, payment modes, payment terms
  (4 Furnitex-specific templates), T&C templates, price list, CRM custom fields,
  sample customers, selling settings, sales stages, opportunity types, and letter head
- delete_streetwok.py: removes all streetwok (Demo) company data (invoices,
  GL entries, warehouses, accounts, cost centres, customers) and resets default
  company to Furnitex
- update_furnitex_info.py: updates ERPNext with real business details scraped from
  furnitex.co.in — company phone/email, billing address, branded letter head, and
  Quotation/Invoice/PO T&C templates with legal contact footer

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-12 16:45:49 +05:30
SUBHANKAR DHAR
a186cd057b fix: use 'Projects' module for custom report (ERPNext v16) 2026-06-12 16:14:56 +05:30
SUBHANKAR DHAR
bdeb078f29 fix: skip custom project fields that already exist natively in v16
ERPNext v16 ships project fields natively on Purchase Invoice, Purchase
Order, Stock Entry, and Delivery Note. Adding duplicate custom fields
caused UniqueFieldnameError. Now only two custom fields are added:
  - Purchase Invoice.is_urd_purchase (new URD toggle)
  - Journal Entry.project (only doctype missing it)

Also update profitability report queries to use native 'project' field
instead of 'furnitex_project' on PI, SE, and JE.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-12 16:14:16 +05:30
SUBHANKAR DHAR
1f5bb6d942 fix: remove v16-incompatible supplier tax field set_value
ERPNext v16 dropped the per-supplier default_purchase_taxes_and_charges
_template column. URD tax bypass is now entirely handled by the server
script (Before Save on Purchase Invoice) via the is_urd_purchase flag.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-12 16:12:27 +05:30
SUBHANKAR DHAR
356fec8c38 fix: resolve all ERPNext v16 naming convention issues
- All ERPNext doctypes append company abbr to names (Warehouse, Tax
  Template, etc.) — switch existence checks to use filter-based lookup
  instead of hardcoded "{name} - Furnitex" strings
- Add safe_insert() helper to absorb DuplicateEntryError gracefully so
  re-runs never crash mid-way
- Service items: remove item_defaults entirely (non-stock items have no
  warehouse, avoids cross-company warehouse validation error)
- Raw material items: only add item_defaults when a valid Furnitex
  warehouse is resolved
- Supplier URD tax default: look up template by title+company filter
  rather than bare name string

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-12 16:11:37 +05:30
SUBHANKAR DHAR
ff152a3020 fix: use company abbr for warehouse names
ERPNext auto-appends the company abbreviation (e.g. "F") to warehouse
names, not the full company name. Fixed create_warehouses(), the
default_wh reference in raw material items, and the OnSite WIP server
script to all resolve the abbr at runtime via frappe.db.get_value.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-12 16:08:36 +05:30
SUBHANKAR DHAR
97dbe774f1
Merge pull request #1 from vicky34D/feat/furnitex-erpnext-setup
feat: Furnitex ERPNext v16 automated setup script
2026-06-12 16:05:49 +05:30
SUBHANKAR DHAR
5ebb3bc8fb feat: add Furnitex ERPNext automated setup script
Adds a complete ERPNext v16 configuration script for Furnitex, an
interior design and furniture manufacturing company based in Kolkata.

Automates creation of:
- Custom UOMs: SqFt, Rft, Sheet, Bag, Bundle
- Item groups for raw materials and execution services
- Supplier groups including Unregistered (URD) vendor category
- Warehouses: Main Store + dynamic OnSite WIP per project
- Tax templates: No-GST URD purchase, GST 18% purchase/sales
- 10 service items (SqFt + lumpsum billing modes)
- 19 raw material stock items (plywood, laminates, hardware, civil)
- 6 sample suppliers with auto-applied URD tax defaults
- Custom fields to tag Project on PI, PO, SE, DN, JE
- Server scripts for OnSite WIP auto-warehouse and URD tax auto-clear
- Custom Script Report: Furnitex Project Profitability

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-12 16:03:47 +05:30
github-actions
7ef1d3e664 chore: Update example.env 2026-06-10 00:52:31 +00:00
Daniel Radl
55cbf8e31f
Merge pull request #1919 from AMR-Mannesmann/chore(devcontainer)add-opinionated-extensions
chore(devcontainer):add opinionated extensions
2026-06-09 13:54:47 +02:00
Daniel Radl
a1d4499fae
Merge branch 'frappe:main' into chore(devcontainer)add-opinionated-extensions 2026-06-08 13:27:23 +02:00
Daniel Radl
1e3d40fa65
Merge pull request #1920 from AMR-Mannesmann/fix(docs)EOF
fix(docs):EOF
2026-06-08 12:45:46 +02:00
Daniel Radl
f60da9b964
fix(docs):EOF 2026-06-08 12:40:20 +02:00
Daniel Radl
25477c9e08
chore(devcontainer):add opinionated extensions 2026-06-08 12:27:53 +02:00
github-actions
b7a0badaf0 chore: Update example.env 2026-06-03 10:09:24 +00:00
github-actions
3fccc2f9e7 chore: Update example.env 2026-06-02 17:24:35 +00:00
github-actions
6fccccf6d1 chore: Update example.env 2026-06-01 06:39:33 +00:00
github-actions
6526ab8cd4 chore: Update example.env 2026-05-27 01:51:34 +00:00
Daniel Radl
c7da80ea3f
Merge pull request #1913 from frappe/dependabot/github_actions/docker/bake-action-7.2.0
chore(deps): bump docker/bake-action from 7.1.0 to 7.2.0
2026-05-26 15:45:57 +02:00
Daniel Radl
4e5a578801
Merge pull request #1917 from AMR-Mannesmann/docs(ref)-add_assets_doc
docs(ref): add assets doc
2026-05-26 15:42:09 +02:00
Daniel Radl
6695bb7b03 docs(ref): add assets doc 2026-05-26 15:40:20 +02:00
Daniel Radl
8c47ee9eb5
Merge pull request #1916 from iragca/main
docs(example): correct app installation command for crm subdomain in …
2026-05-26 14:25:28 +02:00
Chris Irag
6377a34c61 docs(example): correct app installation command for crm subdomain in nginx proxy setup 2026-05-26 19:42:21 +08:00
RocketQuack
e64251a86a
Merge pull request #1914 from fredol/fix-arm64-doc
Fix Documentation and bump ERPNext version to v16.19.1
2026-05-26 11:46:14 +02:00
Frederic Ollivier
cb0eda5214 Change ERPNext version to v16.19.1
Fix typo in platform, arm64 instead of amd64
2026-05-23 16:46:29 +02:00
dependabot[bot]
0cb8df1631
chore(deps): bump docker/bake-action from 7.1.0 to 7.2.0
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/v7.1.0...v7.2.0)

---
updated-dependencies:
- dependency-name: docker/bake-action
  dependency-version: 7.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-22 08:36:36 +00:00
Daniel Radl
930d44603a
Merge pull request #1912 from frappe/dependabot/npm_and_yarn/docs/postcss-8.5.15
chore(deps): bump postcss from 8.5.8 to 8.5.15 in /docs
2026-05-21 15:14:06 +02:00
dependabot[bot]
08d765c413
chore(deps): bump postcss from 8.5.8 to 8.5.15 in /docs
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.8 to 8.5.15.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.8...8.5.15)

---
updated-dependencies:
- dependency-name: postcss
  dependency-version: 8.5.15
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-21 13:01:31 +00:00
Daniel Radl
c710eef89e
Merge pull request #1911 from AMR-Mannesmann/feat(actions)add_exept_issue_label
feat(actions):add exept issue label
2026-05-21 14:59:40 +02:00
Daniel Radl
33f24b2645
feat(actions):add exept issue label 2026-05-21 14:54:46 +02:00
github-actions
640b761a3d chore: Update example.env 2026-05-20 07:50:30 +00:00
Daniel Radl
73b029945b
Merge pull request #1909 from harshith-ashok/docs/add_docker_dev_guide
docs(contributing): add docker dev guide
2026-05-20 09:34:37 +02:00
github-actions
38ca8d2316 chore: Update example.env 2026-05-20 04:40:07 +00:00
Harshith Ashok
48764b21c1
remove mariadb version for Frappe Framework setup 2026-05-19 19:55:03 +05:30
Daniel Radl
19259e9d02
Merge pull request #1896 from ASATechnologies/daniel/configure_gunicorn
feat: configure gunicorn with env variables
2026-05-19 15:00:22 +02:00
Harshith Ashok
6e1117bbbc removed old file and replaced it under development 2026-05-19 00:22:22 +05:30
dandax123
2c44349a0f feat: configure gunicorn with env variables 2026-05-18 20:19:43 +02:00
Harshith Ashok
5097115d08
Update setup.md with mariadb version change advice
Added note about mariadb version causing errors. This addition is based on Issue #1908 which I too faced while testing and setting it up myself.
2026-05-17 09:26:23 +05:30
Harshith Ashok
cfd280eff3
Clarify mariadb version requirement in setup
Add note about mariadb version for Frappe Framework.
2026-05-17 09:21:54 +05:30
Harshith Ashok
aafc25bc76 docs(contributing): add docker dev guide 2026-05-17 07:45:04 +05:30
github-actions
e31bcceac1 chore: Update example.env 2026-05-14 10:07:39 +00:00
github-actions
eeb487e5e6 chore: Update example.env 2026-05-14 06:04:47 +00:00
github-actions
cec5b93546 chore: Update example.env 2026-05-13 10:46:13 +00:00
github-actions
d07d805436 chore: Update example.env 2026-05-12 19:20:13 +00:00
RocketQuack
5abd3c0f95
Merge pull request #1903 from oktett-8/Fix-entrypoint-permission
Fix entrypoint.sh permission
2026-05-09 17:25:21 +02:00
Ingo Schuck
004b27a5a7 Reapply "fix all entrypoint.sh permissions to 755"
This reverts commit 93ade44c6b.
2026-05-08 16:41:30 +02:00
Ingo Schuck
37e91a2db2 Reapply "feat(images): permissive boolean check for INSTALL_CHROMIUM"
This reverts commit 8f4130b5d3.
2026-05-08 16:39:31 +02:00