frappe / print_designer

Visual print designer for Frappe / ERPNext
GNU Affero General Public License v3.0
179 stars 101 forks source link

Raw Print #264

Closed IamSaiyyamChhetri closed 4 weeks ago

IamSaiyyamChhetri commented 1 month ago
  1. Create a method to render each element
  2. Overwrite get_print_html() to enable print preview for 'raw print'

Issue :

  1. Trying to more options value for select fieldtype in print designer screen is going in loop, no logs in console. Screenshot 2024-05-21 at 12 17 32 PM

  2. Need to fetch print settings single value, when used get_single_value() due to callback facing some issue.

Progress :

  1. Validation for overlapping, eg : If in same row if two rectangle is drawn then on save button it will throw error Screenshot 2024-05-21 at 11 35 06 AM

  2. Need to fetch print settings single value, when used get_single_value() due to callback facing some issue.

What Next :

  1. If child element is selected then 'Raw Cmd before/after' will not visible.
IamSaiyyamChhetri commented 1 month ago

Updates:

  1. Check & Disable raw_cmd before/After field for child element
  2. Custom Field in 'Print Settings'
IamSaiyyamChhetri commented 4 weeks ago

Created a new PR so closing this PR. Link : https://github.com/frappe/print_designer/pull/275