forked from frappe/erpnext
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'diamoerp-staging' into backport-780-to-diamoerp-staging
- Loading branch information
Showing
12 changed files
with
50 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
from __future__ import unicode_literals | ||
|
||
import frappe | ||
|
||
|
||
def execute(): | ||
frappe.get_doc( | ||
{ | ||
"name": "¡Nueva actualización 1.7!", | ||
"title": "¡Nueva actualización 1.7 🚀!", | ||
"public": 1, | ||
"notify_on_login": 1, | ||
"notify_on_every_login": 0, | ||
"expire_notification_on": "2023-04-30", | ||
"content": "<div class=\"ql-editor read-mode\"><p><img src=\"https://user-images.githubusercontent.com/4945122/232548760-8f915323-2702-4df9-89d1-ecc967861e98.jpg\"></p><p><br></p><p>Desde el equipo de DiamoERP estamos felices de anunciar la release V 1.7 de DiamoERP. Hemos trabajado arduamente para seguir ofreciendo un servicio de excelencia, y a continuación les contamos las principales características de la versión actualizada: Optimización de consultas y rendimiento, para mayor velocidad de acceso a los datos.</p><p><br></p><p>¡Esperamos que les gusten tanto como a nosotros!</p><p><br></p><h3>Hasta 1.5X más rápido!</h3><p><br></p><p>Sabemos que el tiempo es un recurso valioso para cualquier empresa, y nuestro ERP mejorado puede ayudarte a ahorrar tiempo y aumentar tu productividad. DiamoERP ha mejorado su velocidad en hasta 50% en algunos escenarios, lo que significa que ahora puedes completar tus tareas diarias en la mitad del tiempo.</p><p><br></p><p><img src=\"https://user-images.githubusercontent.com/4945122/232548747-e1df6541-46ba-4995-b4e9-8ec1aa3eb665.png\"></p><p><br></p><p>1.4 X en Consultas, 1.2 X en Transacciones y hasta 1.5 X en consultas de reportes!</p><p><br></p><h3>Módulo Web Discusiones</h3><p><br></p><p>Con un simple click, agregar el módulo discusiones a tus páginas web permite que tu público interactúe de una forma sencilla y sin plugins de terceros.</p><p><br></p><p><img align=\"center\" src=\"https://user-images.githubusercontent.com/4945122/232548736-8bd2d3b1-bdd5-4076-8fcd-b2bb07b28a0a.png\" style=\"display: block; margin: auto;\" width=\"705\"></p><p><br></p><h3><strong>Mejoras en nuestra plataforma de Documentación</strong></h3><p><br></p><p>Nuevos menús de navegación y utilidades para que encontrar lo que estás buscando sea más intuitivo, y toda la información que necesitas este en el lugar correcto.</p><p><br></p><p>Agregados menores como correcciones en Conciliador Bancario, Reportes contables, agregados de nuevos tipos de comprobantes , optimizaciones de performance y más en esta actualización, buscando la excelencia de DiamoERP.</p><p><br></p></div>", | ||
"doctype": "Note", | ||
} | ||
).insert(ignore_mandatory=True) | ||
frappe.db.commit() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import frappe | ||
|
||
|
||
def execute(): | ||
for u in frappe.get_all('User'): | ||
user = frappe.get_doc('User', u) | ||
user_roles = [r.role for r in user.roles] | ||
|
||
if 'Auditor' in user_roles: | ||
user.remove_roles("Auditor") | ||
|
||
frappe.db.commit() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters