Skip to main content

Posts

Showing posts from July, 2023

CHỌN CLUSTER SIZE 4K HAY 64K ?

  First published on TECHNET on Jan 13, 2017 Microsoft’s file systems organize storage devices based on cluster size. Also known as the allocation unit size, cluster size represents the smallest amount of disk space that can be allocated to hold a file. Because ReFS and NTFS don’t reference files at a byte granularity, the cluster size is the smallest unit of size that each file system can reference when accessing storage. Both ReFS and NTFS support multiple cluster sizes, as different sized clusters can offer different performance benefits, depending on the deployment. In the past couple weeks, we’ve seen some confusion regarding the recommended cluster sizes for ReFS and NTFS, so this blog will hopefully disambiguate previous recommendations while helping to provide the reasoning behind why some cluster sizes are recommended for certain scenarios. IO amplification Before jumping into cluster size recommendations, it’ll be important to understand what IO amplification is and why m...

SEARCH MAILBOX IN EXCHANGE SERVER

  https://www.stellarinfo.com/blog/use-search-mailbox-export-to-pst-in-exchange-server/ An Exchange database can be a storehouse of thousands of user mailboxes. Often, situations arise that demand database administrators (DBAs) to perform various operations on these mailboxes, such as exporting them to a PST format. It may be required to create a backup of the mailbox or migrate the mailbox to another server or Outlook account. Further, DBAs might require to export mailbox to PST in a complex situation such as following, “When setting up email forwarding, an error in the settings resulted in the sender’s mailbox not having any copy of the forwarded emails. To rectify this mistake, the user wanted to receive back all the mails sent out during the forward.” In a situation like this, DBAs require to perform search operations on the mailbox of the user where the mails were forwarded to. After finding the required mailbox, PST can be exported and then imported to the sender’s mailbox. T...

GIẢI PHÁP SAO LƯU DỮ LIỆU VEEAM BACKUP CHO CLOUD SERVER

  GIẢI PHÁP SAO LƯU DỮ LIỆU VEEAM BACKUP CHO CLOUD SERVER 2021-05-10 https://cloudbase.vn/giai-phap-sao-luu-du-lieu-veeam-backup-cho-cloud-server Chuyển đổi số trong cuộc cách mạng công nghiệp 4.0 - dữ liệu là yếu tố quan trọng nhất. Và với các doanh nghiệp, dữ liệu đồng nghĩa với tiền bạc và sự sống còn trong việc duy trì hoạt động sản xuất kinh doanh. Còn đối với người dùng máy tính, dữ liệu cũng là một tài sản vô cùng quý giá. Chính vì vậy, nhu cầu sao lưu (backup) dữ liệu ngày càng trở nên quan trọng. Tầm quan trọng của giải pháp sao lưu dữ liệu thể hiện qua việc có rất nhiều tên tuổi lớn trong giới công nghệ thông tin tham gia vào việc cung cấp giải pháp như: Veeam, IBM, Dell Technologies, Rubrik, Commvault… trong đó Veam được đánh giá là nhà cung cấp giải pháp sao lưu – back up dữ liệu hàng đầu trên thế giới, đặc biệt là về sao lưu và phục hồi (recovery) đối với dữ liệu đám mây – cloud data. Theo đánh giá của Gartner vào tháng 7 năm 2020, Veam đã 4 lần được vinh danh là giải ...

SHOW CUSTOM FIELD ON PDF REPORT ODOO

 Mục tiêu là hiển thị cột "Bảo hành" trên file PDF sale order      1. Sửa report template : vào Technical - Report , tìm cái Sale.Order , chọn QWeb views , chọn report_saleorder_document " Lưu ý, do mình chỉ hiệu chỉnh 1 chút nên làm edit trên cài template gốc này luôn. Nếu chỉnh sửa nhiều hơn thì mình nên "inherit" template gốc ra, rồi xài x-path như video hướng dẫn bên dưới để an toàn."      2. Khai báo thông tin cột : cụm table class là nơi khai báo tên và định dạng cột (canh lề trái phải, in đậm, nghiêng...)      <th name="th_warranty" class="text-right">Warranty</th>      3. Lôi field "x_sale_warranty" ra hiển thị : chỗ này mình khai báo thêm cả model truy vấn (sale.order.line) để lôi cái field "x_sale_warranty" ra hiển thị nên cấu hình như sau: "line.x_sale_warranty" <td name="td_warranty" class="text-right">         <span t-field="line.x_sale_warranty...

ADD CUSTOM FIELD IN SALE ORDER LINE ODOO

Mục tiêu là thêm custom field "Bảo hành" trong sale order 1. Vào Technical , chọn Models , tìm " sale.order.line " (sale.order.line là khu vực add các dòng product khi lập sale order), chọn Edit rồi add thêm 1 line (field) mới 2. Mặc định custom field sẽ có chữ "x" đầu, mình đặt tên filed là "x_sale_warranty" để dễ phân biệt,     - Field name: x_sale_warranty     - Field type: selection     - Field label: Warranty     - Required: chọn     - Select Option: thêm các lựa chọn cho phù hợp (1 tháng, 2 tháng...) 3. Sửa View: mở 1 cái Sale Order, chọn " Edit View: Form" từ biểu tượng debug,      - T ìm đến mục "<tree string="Sales Order Lines" editable="bottom">     - Thêm  <field name="x_sale_warranty" /> vào sau "product_template_id" Video tham khảo thêm:

How to add custom field on any object in OpenERP - Odoo

  How to add custom field on any object in OpenERP - Odoo Source: https://maheshwarimayur.blogspot.com/2013/02/how-to-add-new-field-on-any-object-in.html How to add  custom  field on any object in OpenERP (Odoo) without doing any hardcode!! Say for example we need a field “Weight” on Vehicle. Step 1: Activate Developers Mode. a) To do that click on user name at the right upper corner of your screen and select About OpenERP (Odoo) option. Activate Developer Mode   b) You will get window as shown in image below. Click on the link Activate the developer mode. Activate Developer Mode c) We will get a debug view From where we can edit all views of selected object. Debug View Step 2: Identify your object To do that just hover your mouse on any of the field. It will show you some information like field name, object, field type etc. Field information As we know now that our object name is 'fleet.vehicle' and we have to add a new field to this object say for example 'wei...