Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3f9da67b

Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt

  • ID 3f9da67be7a7a671fe4536f476c0587cb2dd358c
  • Vorgänger b104bc85
  • Nachfolger 7202756a

Anzahlungs-Rg.: files und Webdav-Zuordnungen für neue Typen

Unterschiede anzeigen:

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
121 121
  purchase_delivery_order => 'einkaufslieferscheine',
122 122
  credit_note             => 'gutschriften',
123 123
  invoice                 => 'rechnungen',
124
  invoice_for_advance_payment => 'rechnungen',
125
  final_invoice           => 'rechnungen',
124 126
  purchase_invoice        => 'einkaufsrechnungen',
125 127
  part                    => 'waren',
126 128
  service                 => 'dienstleistungen',
......
143 145
  purchase_delivery_order => 'DeliveryOrder',
144 146
  credit_note             => 'Invoice',
145 147
  invoice                 => 'Invoice',
148
  invoice_for_advance_payment => 'Invoice',
149
  final_invoice           => 'Invoice',
146 150
  purchase_invoice        => 'PurchaseInvoice',
147 151
  part                    => 'Part',
148 152
  service                 => 'Part',
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