~openerp-community/openobject-doc/6.1

« back to all changes in this revision

Viewing changes to i18n/zh_CN/source/book/7/7_19_Documents/7_19_Documents_virtualFiles.rst

  • Committer: JoshuaJan
  • Date: 2012-12-04 01:36:44 UTC
  • Revision ID: popkar77@gmail.com-20121204013644-k25kpyac672wxe22
Chinese initialization

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
.. i18n: .. index::
 
3
.. i18n:    single: virtual; file
 
4
..
 
5
 
 
6
.. index::
 
7
   single: virtual; file
 
8
 
 
9
.. i18n: Virtual Files
 
10
.. i18n: =============
 
11
..
 
12
 
 
13
Virtual Files
 
14
=============
 
15
 
 
16
.. i18n: The most well-organized companies keep track of all the documents they have sent to customers in their
 
17
.. i18n: document management system. It is very useful to be able to retrieve every document about a customer
 
18
.. i18n: or a project. But the work of storing these documents can itself often take up quite a bit of time
 
19
.. i18n: for staff. Each report must be saved in the document management system as well as be sent
 
20
.. i18n: by email to the customer.
 
21
..
 
22
 
 
23
The most well-organized companies keep track of all the documents they have sent to customers in their
 
24
document management system. It is very useful to be able to retrieve every document about a customer
 
25
or a project. But the work of storing these documents can itself often take up quite a bit of time
 
26
for staff. Each report must be saved in the document management system as well as be sent
 
27
by email to the customer.
 
28
 
 
29
.. i18n: That is not the case in OpenERP. To automatically make OpenERP reports available in the FTP server,
 
30
.. i18n: OpenERP automatically uses *virtual files*. You can put virtual files into directories
 
31
.. i18n: that have the special type of *linked resource* and link the virtual files to OpenERP's reports.
 
32
..
 
33
 
 
34
That is not the case in OpenERP. To automatically make OpenERP reports available in the FTP server,
 
35
OpenERP automatically uses *virtual files*. You can put virtual files into directories
 
36
that have the special type of *linked resource* and link the virtual files to OpenERP's reports.
 
37
 
 
38
.. i18n: .. note:: Virtual Files
 
39
.. i18n: 
 
40
.. i18n:     Virtual files do not actually exist in OpenERP but are made visible with a size of 0 in the FTP
 
41
.. i18n:     server.
 
42
.. i18n:     Once these files have been read by the client software, OpenERP prints the document related to
 
43
.. i18n:     this file and
 
44
.. i18n:     returns a PDF document linked to the resource.
 
45
.. i18n: 
 
46
.. i18n:     When you copy or open a virtual file you print the selected resource.
 
47
.. i18n:     You do not then have to go and print a document through OpenERP –
 
48
.. i18n:     you just open the file containing that document in the document management system.
 
49
.. i18n:     The PDF file is then created in real time by OpenERP by reading the relevant data.
 
50
..
 
51
 
 
52
.. note:: Virtual Files
 
53
 
 
54
    Virtual files do not actually exist in OpenERP but are made visible with a size of 0 in the FTP
 
55
    server.
 
56
    Once these files have been read by the client software, OpenERP prints the document related to
 
57
    this file and
 
58
    returns a PDF document linked to the resource.
 
59
 
 
60
    When you copy or open a virtual file you print the selected resource.
 
61
    You do not then have to go and print a document through OpenERP –
 
62
    you just open the file containing that document in the document management system.
 
63
    The PDF file is then created in real time by OpenERP by reading the relevant data.
 
64
 
 
65
.. i18n: The screen :ref:`fig-docvirt` shows the parameters of the virtual files in All Sales Order. You define the virtual files
 
66
.. i18n: using the name ORDERNUM_print.pdf, where ORDERNUM represents the reference to the order. To do
 
67
.. i18n: this, you must check the option :guilabel:`Include Record Name` of the file for a directory. 
 
68
.. i18n: You can then find a virtual file for each report associated with an order.
 
69
..
 
70
 
 
71
The screen :ref:`fig-docvirt` shows the parameters of the virtual files in All Sales Order. You define the virtual files
 
72
using the name ORDERNUM_print.pdf, where ORDERNUM represents the reference to the order. To do
 
73
this, you must check the option :guilabel:`Include Record Name` of the file for a directory. 
 
74
You can then find a virtual file for each report associated with an order.
 
75
 
 
76
.. i18n: .. _fig-docvirt:
 
77
.. i18n: 
 
78
.. i18n: .. figure::  images/document_virtual_form.png
 
79
.. i18n:    :scale: 75
 
80
.. i18n:    :align: center
 
81
.. i18n: 
 
82
.. i18n:    *Virtual files for Sales Orders in OpenERP*
 
83
..
 
84
 
 
85
.. _fig-docvirt:
 
86
 
 
87
.. figure::  images/document_virtual_form.png
 
88
   :scale: 75
 
89
   :align: center
 
90
 
 
91
   *Virtual files for Sales Orders in OpenERP*
 
92
 
 
93
.. i18n: To see the effect of this configuration, connect to the FTP server and go into a directory for an
 
94
.. i18n: order such as :menuselection:`Documents --> Sales Order --> All Sales Order --> SO003`. You
 
95
.. i18n: can then just click the file :guilabel:`SO003_print.pdf` to get a printout of Order SO003.
 
96
.. i18n: You can attach it to an email or put it on your desktop.
 
97
..
 
98
 
 
99
To see the effect of this configuration, connect to the FTP server and go into a directory for an
 
100
order such as :menuselection:`Documents --> Sales Order --> All Sales Order --> SO003`. You
 
101
can then just click the file :guilabel:`SO003_print.pdf` to get a printout of Order SO003.
 
102
You can attach it to an email or put it on your desktop.
 
103
 
 
104
.. i18n: .. figure::  images/document_virtual_ftp.png
 
105
.. i18n:    :scale: 75
 
106
.. i18n:    :align: center
 
107
.. i18n: 
 
108
.. i18n:    *Virtual files for Sales Orders through FTP*
 
109
..
 
110
 
 
111
.. figure::  images/document_virtual_ftp.png
 
112
   :scale: 75
 
113
   :align: center
 
114
 
 
115
   *Virtual files for Sales Orders through FTP*
 
116
 
 
117
.. i18n: This system of virtual files is very useful in a lot of situations. For example, if you must quickly
 
118
.. i18n: re-send a quotation to a customer, you do not have to open OpenERP, you can just attach the relevant
 
119
.. i18n: virtual file to your email.
 
120
..
 
121
 
 
122
This system of virtual files is very useful in a lot of situations. For example, if you must quickly
 
123
re-send a quotation to a customer, you do not have to open OpenERP, you can just attach the relevant
 
124
virtual file to your email.
 
125
 
 
126
.. i18n: Importantly, once files have been read or copied, they become real files, taking up real space, rather than
 
127
.. i18n: just virtual. This means that you can keep a legal record of all documents that have been created and sent
 
128
.. i18n: to customers and suppliers.
 
129
..
 
130
 
 
131
Importantly, once files have been read or copied, they become real files, taking up real space, rather than
 
132
just virtual. This means that you can keep a legal record of all documents that have been created and sent
 
133
to customers and suppliers.
 
134
 
 
135
.. i18n: .. Copyright © Open Object Press. All rights reserved.
 
136
..
 
137
 
 
138
.. Copyright © Open Object Press. All rights reserved.
 
139
 
 
140
.. i18n: .. You may take electronic copy of this publication and distribute it if you don't
 
141
.. i18n: .. change the content. You can also print a copy to be read by yourself only.
 
142
..
 
143
 
 
144
.. You may take electronic copy of this publication and distribute it if you don't
 
145
.. change the content. You can also print a copy to be read by yourself only.
 
146
 
 
147
.. i18n: .. We have contracts with different publishers in different countries to sell and
 
148
.. i18n: .. distribute paper or electronic based versions of this book (translated or not)
 
149
.. i18n: .. in bookstores. This helps to distribute and promote the OpenERP product. It
 
150
.. i18n: .. also helps us to create incentives to pay contributors and authors using author
 
151
.. i18n: .. rights of these sales.
 
152
..
 
153
 
 
154
.. We have contracts with different publishers in different countries to sell and
 
155
.. distribute paper or electronic based versions of this book (translated or not)
 
156
.. in bookstores. This helps to distribute and promote the OpenERP product. It
 
157
.. also helps us to create incentives to pay contributors and authors using author
 
158
.. rights of these sales.
 
159
 
 
160
.. i18n: .. Due to this, grants to translate, modify or sell this book are strictly
 
161
.. i18n: .. forbidden, unless Tiny SPRL (representing Open Object Press) gives you a
 
162
.. i18n: .. written authorisation for this.
 
163
..
 
164
 
 
165
.. Due to this, grants to translate, modify or sell this book are strictly
 
166
.. forbidden, unless Tiny SPRL (representing Open Object Press) gives you a
 
167
.. written authorisation for this.
 
168
 
 
169
.. i18n: .. Many of the designations used by manufacturers and suppliers to distinguish their
 
170
.. i18n: .. products are claimed as trademarks. Where those designations appear in this book,
 
171
.. i18n: .. and Open Object Press was aware of a trademark claim, the designations have been
 
172
.. i18n: .. printed in initial capitals.
 
173
..
 
174
 
 
175
.. Many of the designations used by manufacturers and suppliers to distinguish their
 
176
.. products are claimed as trademarks. Where those designations appear in this book,
 
177
.. and Open Object Press was aware of a trademark claim, the designations have been
 
178
.. printed in initial capitals.
 
179
 
 
180
.. i18n: .. While every precaution has been taken in the preparation of this book, the publisher
 
181
.. i18n: .. and the authors assume no responsibility for errors or omissions, or for damages
 
182
.. i18n: .. resulting from the use of the information contained herein.
 
183
..
 
184
 
 
185
.. While every precaution has been taken in the preparation of this book, the publisher
 
186
.. and the authors assume no responsibility for errors or omissions, or for damages
 
187
.. resulting from the use of the information contained herein.
 
188
 
 
189
.. i18n: .. Published by Open Object Press, Grand Rosière, Belgium
 
190
..
 
191
 
 
192
.. Published by Open Object Press, Grand Rosière, Belgium