Revision d257e156
Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt
SL/Controller/File.pm | ||
---|---|---|
59 | 59 |
'sales_order' => { gen => 5, gltype => '', dir =>'SalesOrder', model => 'Order', right => 'import_ar' }, |
60 | 60 |
'sales_delivery_order' => { gen => 1, gltype => '', dir =>'SalesDeliveryOrder', model => 'DeliveryOrder', right => 'import_ar' }, |
61 | 61 |
'invoice' => { gen => 1, gltype => 'ar', dir =>'SalesInvoice', model => 'Invoice', right => 'import_ar' }, |
62 |
'invoice_for_advance_payment' => { gen => 1, gltype => 'ar', dir =>'SalesInvoice', model => 'Invoice', right => 'import_ar' }, |
|
63 |
'final_invoice' => { gen => 1, gltype => 'ar', dir =>'SalesInvoice', model => 'Invoice', right => 'import_ar' }, |
|
62 | 64 |
'credit_note' => { gen => 1, gltype => '', dir =>'CreditNote', model => 'Invoice', right => 'import_ar' }, |
63 | 65 |
'request_quotation' => { gen => 7, gltype => '', dir =>'RequestForQuotation', model => 'Order', right => 'import_ap' }, |
64 | 66 |
'purchase_order' => { gen => 7, gltype => '', dir =>'PurchaseOrder', model => 'Order', right => 'import_ap' }, |
SL/File/Backend/Webdav.pm | ||
---|---|---|
122 | 122 |
purchase_delivery_order => 'einkaufslieferscheine', |
123 | 123 |
credit_note => 'gutschriften', |
124 | 124 |
invoice => 'rechnungen', |
125 |
invoice_for_advance_payment => 'rechnungen', |
|
126 |
final_invoice => 'rechnungen', |
|
125 | 127 |
purchase_invoice => 'einkaufsrechnungen', |
126 | 128 |
part => 'waren', |
127 | 129 |
service => 'dienstleistungen', |
... | ... | |
144 | 146 |
purchase_delivery_order => 'DeliveryOrder', |
145 | 147 |
credit_note => 'Invoice', |
146 | 148 |
invoice => 'Invoice', |
149 |
invoice_for_advance_payment => 'Invoice', |
|
150 |
final_invoice => 'Invoice', |
|
147 | 151 |
purchase_invoice => 'PurchaseInvoice', |
148 | 152 |
part => 'Part', |
149 | 153 |
service => 'Part', |
... | ... | |
346 | 350 |
Martin Helmling E<lt>martin.helmling@opendynamic.deE<gt> |
347 | 351 |
|
348 | 352 |
=cut |
349 |
|
|
350 |
|
SL/Webdav.pm | ||
---|---|---|
25 | 25 |
purchase_delivery_order => 'einkaufslieferscheine', |
26 | 26 |
credit_note => 'gutschriften', |
27 | 27 |
invoice => 'rechnungen', |
28 |
invoice_for_advance_payment => 'rechnungen', |
|
29 |
final_invoice => 'rechnungen', |
|
28 | 30 |
purchase_invoice => 'einkaufsrechnungen', |
29 | 31 |
part => 'waren', |
30 | 32 |
service => 'dienstleistungen', |
sql/Pg-upgrade2/file_storage_partial_invoices.sql | ||
---|---|---|
1 |
-- @tag: file_storage_partial_invoices |
|
2 |
-- @description: Dateispeicher auch für Anzahlungs- und Schlussrechnung |
|
3 |
-- @depends: file_storage_project |
|
4 |
|
|
5 |
ALTER TABLE files |
|
6 |
DROP CONSTRAINT valid_type; |
|
7 |
ALTER TABLE files |
|
8 |
ADD CONSTRAINT valid_type CHECK ( |
|
9 |
(object_type = 'credit_note' ) OR (object_type = 'invoice' ) OR (object_type = 'sales_order' ) |
|
10 |
OR (object_type = 'sales_quotation' ) OR (object_type = 'sales_delivery_order' ) OR (object_type = 'request_quotation' ) |
|
11 |
OR (object_type = 'purchase_order' ) OR (object_type = 'purchase_delivery_order' ) OR (object_type = 'purchase_invoice' ) |
|
12 |
OR (object_type = 'vendor' ) OR (object_type = 'customer' ) OR (object_type = 'part' ) |
|
13 |
OR (object_type = 'gl_transaction' ) OR (object_type = 'dunning' ) OR (object_type = 'dunning1' ) |
|
14 |
OR (object_type = 'dunning2' ) OR (object_type = 'dunning3' ) OR (object_type = 'dunning_orig_invoice' ) |
|
15 |
OR (object_type = 'dunning_invoice' ) OR (object_type = 'draft' ) OR (object_type = 'statement' ) |
|
16 |
OR (object_type = 'shop_image' ) OR (object_type = 'letter' ) OR (object_type = 'project' ) |
|
17 |
OR (object_type = 'invoice_for_advance_payment') OR (object_type = 'final_invoice') |
|
18 |
); |
Auch abrufbar als: Unified diff
Anzahlungs-Rg.: files und Webdav-Zuordnungen für neue Typen