Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
c4e46cf
Merge pull request #604 from Bloomstack/develop
sahil28297 May 27, 2021
e59196f
bumped to version 2.2.2
sahil28297 May 27, 2021
d7efdcd
Merge branch 'staging' into production
sahil28297 May 27, 2021
38cca97
Merge pull request #609 from Bloomstack/develop
sahil28297 Jun 23, 2021
8ea476c
Bump to version 2.2.2
sahil28297 Jun 23, 2021
347d992
bumped to version 2.2.3
sahil28297 Jun 23, 2021
a22fc1e
Merge branch 'staging' into production
sahil28297 Jun 23, 2021
41f822f
Merge pull request #614 from Bloomstack/develop
sahil28297 Jul 7, 2021
74020a2
bumped to version 2.2.4
sahil28297 Jul 7, 2021
1255340
Merge branch 'staging' into production
sahil28297 Jul 7, 2021
bc84252
Merge pull request #617 from Bloomstack/develop
sahil28297 Jul 28, 2021
073ce80
bumped to version 2.3.0
sahil28297 Jul 28, 2021
f5280c4
Merge branch 'staging' into production
sahil28297 Jul 28, 2021
bbb8877
Merge pull request #621 from Bloomstack/pre-release
sahil28297 Aug 18, 2021
53c41f1
Merge pull request #622 from Bloomstack/develop
sahil28297 Aug 18, 2021
0985f14
bumped to version 2.3.1
sahil28297 Aug 18, 2021
62bb36f
Merge branch 'staging' into production
sahil28297 Aug 18, 2021
22240fa
Merge pull request #632 from Bloomstack/pre-release
sahil28297 Sep 1, 2021
f977e60
Merge pull request #633 from Bloomstack/develop
sahil28297 Sep 1, 2021
0d36860
bumped to version 2.3.2
sahil28297 Sep 1, 2021
5a197d5
Merge branch 'staging' into production
sahil28297 Sep 1, 2021
789eb59
fix: sites with white text bleed into print-format font color (#759)
DeveloperMetal Feb 15, 2022
dccc44b
feat: adds option to disable auto naming on items
DeveloperMetal Oct 27, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bloomstack_core/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

__version__ = '2.2.1'
__version__ = '2.3.2'
11 changes: 8 additions & 3 deletions bloomstack_core/hook_events/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,14 @@ def create_integration_request(doc, method):

@frappe.whitelist()
def autoname_item(item):
item = frappe._dict(json.loads(item))
item_code = autoname(item)
return item_code
config = frappe.get_site_config() or frappe._dict()

if config.enforce_item_code_naming == True or config.enforce_item_code_naming == None:
item = frappe._dict(json.loads(item))
item_code = autoname(item)
return item_code

return item.item_code


def autoname(item, method=None):
Expand Down
14 changes: 13 additions & 1 deletion bloomstack_core/public/css/authorize_document.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,18 @@
-webkit-print-color-adjust: exact;
}

.print-format, .print-format h1, .print-format h2, .print-format h3, .print-format p, .print-format td, .print-format th {
color: black;
}

.print-format .bill-ship-section {
display: flex;
}

.print-format .bill-ship-section > * {
flex: 1 1 auto;
}

.page-break {
page-break-after: always;
}
Expand Down Expand Up @@ -317,4 +329,4 @@ ul.actions li a.approveBtn {
#signeeName {
text-align: center;
margin-bottom: 15px;
}
}