[fix] [minor] ignore permission on setting values in control panel
This commit is contained in:
parent
8f185b7d3b
commit
101a097e44
@ -65,6 +65,7 @@ class DocType:
|
|||||||
cp_bean.doc.country = self.doc.country
|
cp_bean.doc.country = self.doc.country
|
||||||
if self.doc.time_zone:
|
if self.doc.time_zone:
|
||||||
cp_bean.doc.time_zone = self.doc.time_zone
|
cp_bean.doc.time_zone = self.doc.time_zone
|
||||||
|
cp_bean.ignore_permissions = True
|
||||||
cp_bean.save()
|
cp_bean.save()
|
||||||
|
|
||||||
def get_defaults(self):
|
def get_defaults(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user