Skip to content

agatho-daemon/futilitap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frappe Utilities Application

A Placeholder application for commonly attempted or asked about howtos in the forums.

Features

So far, the application only changes 3 fields in the Address DocType using Property Setter, namly:

  1. City - to be a Link field to a list of cities is provided in the FUA City DocType.

    • City Title Field is set to City, State Abbreviation in case of town/city names similarities in different country subdivisions.
  2. State - to be a Link field to a list of states is provided in the FUA State DocType.

  3. County - to be a Link field to a list of counties is provided in the FUA County DocType.

It also allows the user to search Address for a city by name and select it from the list of cities.

Installation

bench get-app --branch main https://github.com/agatho-daemon/futilitap.git

bench --site [site-name] install-app futilitap

NOTES

Due to complexitiesconsequences introduced by using Nameing Series for FUA City, FUA State, and FUA County, the Naming is reverted to the Name of the City/Town, State/Province, and County. You can disregard teh below note.

Since City, County, and State are now Link fields, the Address Template will display the document name instead of the city, county, and state names.

Therefore, the Jinja Address Template have to be modified to have these fields pulled from the linked documents using the set property and frappe.db.get_value() function. Notice lines 5 and 8 in the example below:

License

cc0-1.0

About

Frappe Utilities Application

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors