Changeset 400
- Timestamp:
- Mar 27, 2012, 4:11:51 PM (13 years ago)
- Location:
- trunk/temp
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/temp/CentralaModule/centrala.py
r399 r400 26 26 _name = "centrala.chathistory" 27 27 _columns = { 28 'Id': fields.integer('Id'), 29 'Nick': fields.char('Nick', size=64, translate=True), 30 'Text': fields.text('Text', translate=True), 31 'Time': fields.datetime('Time'), 32 'Color': fields.integer('Color'), 33 'RoomName': fields.char('RoomName', size=32, translate=True), 34 'RoomType': fields.integer('RoomType'), 35 'Host': fields.char('Host', size=255, translate=True), 28 'nick': fields.char('Nick', size=64, translate=True), 29 'text': fields.text('Text', translate=True), 30 'time': fields.datetime('Time'), 31 'color': fields.integer('Color'), 32 'roomname': fields.char('RoomName', size=32, translate=True), 33 'roomtype': fields.integer('RoomType'), 34 'host': fields.char('Host', size=255, translate=True), 36 35 } 37 36 centrala_chathistory() … … 40 39 _name = "centrala.documentline" 41 40 _columns = { 42 ' Id': fields.integer('Id'),43 ' Name': fields.char('Name', size=255, translate=True),44 ' Shortcut': fields.char('Shortcut', size=16, translate=True),41 'name': fields.char('Name', size=255, translate=True), 42 'shortcut': fields.char('Shortcut', size=16, translate=True), 43 'documentlinesequence_ids': fields.one2many('centrala.documentlinesequence', 'documentline', 'documentlinesequence'), 45 44 } 46 45 centrala_documentline() … … 49 48 _name = "centrala.documentlinesequence" 50 49 _columns = { 51 'Id': fields.integer('Id'), 52 'DocumentLine': fields.integer('DocumentLine'), 53 'FinanceYear': fields.integer('FinanceYear'), 54 'NextNumber': fields.integer('NextNumber'), 55 'YearPrefix': fields.integer('YearPrefix'), 50 'documentline': fields.many2one('centrala.documentline', 'DocumentLine'), 51 'financeyear': fields.many2one('centrala.financeyear', 'FinanceYear'), 52 'nextnumber': fields.integer('NextNumber'), 53 'yearprefix': fields.integer('YearPrefix'), 56 54 } 57 55 centrala_documentlinesequence() … … 60 58 _name = "centrala.emailqueue" 61 59 _columns = { 62 'Id': fields.integer('Id'), 63 'Time': fields.datetime('Time'), 64 'Address': fields.char('Address', size=255, translate=True), 65 'Subject': fields.char('Subject', size=255, translate=True), 66 'Content': fields.text('Content', translate=True), 67 'Headers': fields.char('Headers', size=255, translate=True), 68 'Archive': fields.integer('Archive'), 60 'time': fields.datetime('Time'), 61 'address': fields.char('Address', size=255, translate=True), 62 'subject': fields.char('Subject', size=255, translate=True), 63 'content': fields.text('Content', translate=True), 64 'headers': fields.char('Headers', size=255, translate=True), 65 'archive': fields.integer('Archive'), 69 66 } 70 67 centrala_emailqueue() … … 73 70 _name = "centrala.file" 74 71 _columns = { 75 'Id': fields.integer('Id'), 76 'Name': fields.char('Name', size=256, translate=True), 77 'Size': fields.integer('Size'), 72 'name': fields.char('Name', size=256, translate=True), 73 'size': fields.integer('Size'), 78 74 } 79 75 centrala_file() … … 82 78 _name = "centrala.financeassetshistory" 83 79 _columns = { 84 ' AssetsId': fields.integer('AssetsId'),85 ' Time': fields.datetime('Time'),86 ' Text': fields.char('Text', size=255, translate=True),87 ' User': fields.integer('User'),80 'assetsid': fields.integer('AssetsId'), 81 'time': fields.datetime('Time'), 82 'text': fields.char('Text', size=255, translate=True), 83 'user': fields.integer('User'), 88 84 } 89 85 centrala_financeassetshistory() … … 92 88 _name = "centrala.financebankaccount" 93 89 _columns = { 94 'Id': fields.integer('Id'), 95 'TimeCreate': fields.date('TimeCreate'), 96 'Number': fields.char('Number', size=255, translate=True), 97 'Comment': fields.char('Comment', size=255, translate=True), 90 'timecreate': fields.date('TimeCreate'), 91 'number': fields.char('Number', size=255, translate=True), 92 'comment': fields.char('Comment', size=255, translate=True), 98 93 } 99 94 centrala_financebankaccount() … … 102 97 _name = "centrala.financebillingperiod" 103 98 _columns = { 104 'Id': fields.integer('Id'), 105 'Name': fields.char('Name', size=255, translate=True), 106 'MonthCount': fields.integer('MonthCount'), 99 'name': fields.char('Name', size=255, translate=True), 100 'monthcount': fields.integer('MonthCount'), 101 'member_ids': fields.one2many('centrala.member', 'billingperiod', 'member'), 102 'member_ids': fields.one2many('centrala.member', 'billingperiodnext', 'member'), 107 103 } 108 104 centrala_financebillingperiod() … … 111 107 _name = "centrala.financebills" 112 108 _columns = { 113 'Id': fields.integer('Id'), 114 'TimeFrom': fields.datetime('TimeFrom'), 115 'Subject': fields.integer('Subject'), 116 'TimeTo': fields.datetime('TimeTo'), 117 'TimeCreate': fields.datetime('TimeCreate'), 118 'TimeDue': fields.datetime('TimeDue'), 119 'BillCode': fields.char('BillCode', size=32, translate=True), 120 'Type': fields.integer('Type'), 121 'Cash': fields.integer('Cash'), 109 'timefrom': fields.datetime('TimeFrom'), 110 'subject': fields.many2one('centrala.subject', 'Subject'), 111 'timeto': fields.datetime('TimeTo'), 112 'timecreate': fields.datetime('TimeCreate'), 113 'timedue': fields.datetime('TimeDue'), 114 'billcode': fields.char('BillCode', size=32, translate=True), 115 'type': fields.integer('Type'), 116 'cash': fields.integer('Cash'), 117 'financebillsitems_ids': fields.one2many('centrala.financebillsitems', 'bill', 'financebillsitems'), 118 'financeoperation_ids': fields.one2many('centrala.financeoperation', 'bill', 'financeoperation'), 122 119 } 123 120 centrala_financebills() … … 126 123 _name = "centrala.financebillsitems" 127 124 _columns = { 128 'Id': fields.integer('Id'), 129 'Bill': fields.integer('Bill'), 130 'Description': fields.char('Description', size=255, translate=True), 131 'Price': fields.float('Price', digits=(12,6)), 132 'Quantity': fields.float('Quantity', digits=(12,6)), 125 'bill': fields.many2one('centrala.financebills', 'Bill'), 126 'description': fields.char('Description', size=255, translate=True), 127 'price': fields.float('Price', digits=(12,6)), 128 'quantity': fields.float('Quantity', digits=(12,6)), 133 129 } 134 130 centrala_financebillsitems() … … 137 133 _name = "centrala.financeclaimsliabilities" 138 134 _columns = { 139 'Id': fields.integer('Id'), 140 'BillCode': fields.char('BillCode', size=16, translate=True), 141 'Subject': fields.integer('Subject'), 142 'TimeCreation': fields.datetime('TimeCreation'), 143 'TimeDue': fields.datetime('TimeDue'), 144 'TimePayment': fields.datetime('TimePayment'), 145 'Value': fields.float('Value', digits=(12,6)), 146 'Bill': fields.integer('Bill'), 147 'Text': fields.char('Text', size=255, translate=True), 135 'billcode': fields.char('BillCode', size=16, translate=True), 136 'subject': fields.many2one('centrala.subject', 'Subject'), 137 'timecreation': fields.datetime('TimeCreation'), 138 'timedue': fields.datetime('TimeDue'), 139 'timepayment': fields.datetime('TimePayment'), 140 'value': fields.float('Value', digits=(12,6)), 141 'bill': fields.integer('Bill'), 142 'text': fields.char('Text', size=255, translate=True), 148 143 } 149 144 centrala_financeclaimsliabilities() … … 152 147 _name = "centrala.financelog" 153 148 _columns = { 154 'Id': fields.integer('Id'), 155 'Time': fields.datetime('Time'), 156 'Text': fields.char('Text', size=255, translate=True), 149 'time': fields.datetime('Time'), 150 'text': fields.char('Text', size=255, translate=True), 157 151 } 158 152 centrala_financelog() … … 161 155 _name = "centrala.financeoperation" 162 156 _columns = { 163 'Id': fields.integer('Id'), 164 'Time': fields.datetime('Time'), 165 'Subject': fields.integer('Subject'), 166 'Cash': fields.integer('Cash'), 167 'Value': fields.float('Value', digits=(12,6)), 168 'BillCode': fields.char('BillCode', size=32, translate=True), 169 'Taxable': fields.integer('Taxable'), 170 'Bill': fields.integer('Bill'), 171 'Text': fields.char('Text', size=255, translate=True), 172 'Network': fields.integer('Network'), 157 'time': fields.datetime('Time'), 158 'subject': fields.many2one('centrala.subject', 'Subject'), 159 'cash': fields.integer('Cash'), 160 'value': fields.float('Value', digits=(12,6)), 161 'billcode': fields.char('BillCode', size=32, translate=True), 162 'taxable': fields.integer('Taxable'), 163 'bill': fields.many2one('centrala.financebills', 'Bill'), 164 'text': fields.char('Text', size=255, translate=True), 165 'network': fields.integer('Network'), 173 166 } 174 167 centrala_financeoperation() … … 177 170 _name = "centrala.financesmallassets" 178 171 _columns = { 179 'Id': fields.integer('Id'), 180 'Text': fields.char('Text', size=255, translate=True), 181 'PricePurchase': fields.float('PricePurchase', digits=(12,6)), 182 'TimeEnlistment': fields.datetime('TimeEnlistment'), 183 'TimeElimination': fields.datetime('TimeElimination'), 184 'SupplySubject': fields.integer('SupplySubject'), 185 'DeviceId': fields.char('DeviceId', size=128, translate=True), 172 'text': fields.char('Text', size=255, translate=True), 173 'pricepurchase': fields.float('PricePurchase', digits=(12,6)), 174 'timeenlistment': fields.datetime('TimeEnlistment'), 175 'timeelimination': fields.datetime('TimeElimination'), 176 'supplysubject': fields.integer('SupplySubject'), 177 'deviceid': fields.char('DeviceId', size=128, translate=True), 186 178 } 187 179 centrala_financesmallassets() … … 190 182 _name = "centrala.financetariff" 191 183 _columns = { 192 'Id': fields.integer('Id'), 193 'Name': fields.char('Name', size=32, translate=True), 194 'Group': fields.integer('Group'), 195 'SpeedMin': fields.integer('SpeedMin'), 196 'SpeedMax': fields.integer('SpeedMax'), 197 'UploadAsymmetry': fields.integer('UploadAsymmetry'), 198 'Price': fields.integer('Price'), 199 'MemberCount': fields.integer('MemberCount'), 200 'ReplaceId': fields.integer('ReplaceId'), 201 'Public': fields.integer('Public'), 184 'name': fields.char('Name', size=32, translate=True), 185 'group': fields.integer('Group'), 186 'speedmin': fields.integer('SpeedMin'), 187 'speedmax': fields.integer('SpeedMax'), 188 'uploadasymmetry': fields.integer('UploadAsymmetry'), 189 'price': fields.integer('Price'), 190 'membercount': fields.integer('MemberCount'), 191 'replaceid': fields.integer('ReplaceId'), 192 'public': fields.integer('Public'), 193 'member_ids': fields.one2many('centrala.member', 'internettariffcurrentmonth', 'member'), 194 'member_ids': fields.one2many('centrala.member', 'internettariffnextmonth', 'member'), 202 195 } 203 196 centrala_financetariff() … … 206 199 _name = "centrala.financeyear" 207 200 _columns = { 208 ' Id': fields.integer('Id'),209 ' Year': fields.integer('Year'),210 ' DateStart': fields.date('DateStart'),211 ' DateEnd': fields.date('DateEnd'),201 'year': fields.integer('Year'), 202 'datestart': fields.date('DateStart'), 203 'dateend': fields.date('DateEnd'), 204 'documentlinesequence_ids': fields.one2many('centrala.documentlinesequence', 'financeyear', 'documentlinesequence'), 212 205 } 213 206 centrala_financeyear() … … 216 209 _name = "centrala.hostedproject" 217 210 _columns = { 218 'Id': fields.integer('Id'), 219 'Name': fields.char('Name', size=255, translate=True), 220 'Homepage': fields.char('Homepage', size=255, translate=True), 221 'User': fields.integer('User'), 222 'TimeCreate': fields.datetime('TimeCreate'), 223 'Server': fields.integer('Server'), 224 'Active': fields.integer('Active'), 225 'WebHosting': fields.integer('WebHosting'), 211 'name': fields.char('Name', size=255, translate=True), 212 'homepage': fields.char('Homepage', size=255, translate=True), 213 'user': fields.integer('User'), 214 'timecreate': fields.datetime('TimeCreate'), 215 'server': fields.integer('Server'), 216 'active': fields.integer('Active'), 217 'webhosting': fields.integer('WebHosting'), 226 218 } 227 219 centrala_hostedproject() … … 230 222 _name = "centrala.hyperlink" 231 223 _columns = { 232 'Id': fields.integer('Id'), 233 'Name': fields.char('Name', size=255, translate=True), 234 'URL': fields.char('URL', size=255, translate=True), 235 'Group': fields.integer('Group'), 236 'IconFile': fields.char('IconFile', size=255, translate=True), 237 'PermissionModule': fields.char('PermissionModule', size=255, translate=True), 238 'PermissionOperation': fields.char('PermissionOperation', size=255, translate=True), 239 'Enable': fields.integer('Enable'), 224 'name': fields.char('Name', size=255, translate=True), 225 'url': fields.char('URL', size=255, translate=True), 226 'group': fields.many2one('centrala.hyperlinkgroup', 'Group'), 227 'iconfile': fields.char('IconFile', size=255, translate=True), 228 'permissionmodule': fields.char('PermissionModule', size=255, translate=True), 229 'permissionoperation': fields.char('PermissionOperation', size=255, translate=True), 230 'enable': fields.integer('Enable'), 240 231 } 241 232 centrala_hyperlink() … … 244 235 _name = "centrala.hyperlinkgroup" 245 236 _columns = { 246 ' Id': fields.integer('Id'),247 ' Name': fields.char('Name', size=255, translate=True),237 'name': fields.char('Name', size=255, translate=True), 238 'hyperlink_ids': fields.one2many('centrala.hyperlink', 'group', 'hyperlink'), 248 239 } 249 240 centrala_hyperlinkgroup() … … 252 243 _name = "centrala.log" 253 244 _columns = { 254 ' Time': fields.datetime('Time'),255 ' User': fields.integer('User'),256 ' Module': fields.char('Module', size=64, translate=True),257 ' Operation': fields.char('Operation', size=255, translate=True),258 ' Value': fields.char('Value', size=255, translate=True),245 'time': fields.datetime('Time'), 246 'user': fields.many2one('centrala.user', 'User'), 247 'module': fields.char('Module', size=64, translate=True), 248 'operation': fields.char('Operation', size=255, translate=True), 249 'value': fields.char('Value', size=255, translate=True), 259 250 } 260 251 centrala_log() … … 263 254 _name = "centrala.meals" 264 255 _columns = { 265 ' Date': fields.date('Date'),266 ' Soup': fields.char('Soup', size=255, translate=True),267 ' Meal': fields.char('Meal', size=255, translate=True),268 ' Status': fields.integer('Status'),256 'date': fields.date('Date'), 257 'soup': fields.char('Soup', size=255, translate=True), 258 'meal': fields.char('Meal', size=255, translate=True), 259 'status': fields.integer('Status'), 269 260 } 270 261 centrala_meals() … … 273 264 _name = "centrala.mealsinfo" 274 265 _columns = { 275 ' Info': fields.text('Info', translate=True),276 ' Price': fields.integer('Price'),266 'info': fields.text('Info', translate=True), 267 'price': fields.integer('Price'), 277 268 } 278 269 centrala_mealsinfo() … … 281 272 _name = "centrala.member" 282 273 _columns = { 283 'Id': fields.integer('Id'), 284 'Name': fields.char('Name', size=255, translate=True), 285 'Subject': fields.integer('Subject'), 286 'ResponsibleUser': fields.integer('ResponsibleUser'), 287 'FamilyMemberCount': fields.integer('FamilyMemberCount'), 288 'MembershipDate': fields.date('MembershipDate'), 289 'MemberState': fields.integer('MemberState'), 290 'InternetTariffCurrentMonth': fields.integer('InternetTariffCurrentMonth'), 291 'InternetTariffNextMonth': fields.integer('InternetTariffNextMonth'), 292 'GPS': fields.integer('GPS'), 293 'BillingPeriod': fields.integer('BillingPeriod'), 294 'NetworkSegment': fields.integer('NetworkSegment'), 295 'BillingPeriodNext': fields.integer('BillingPeriodNext'), 296 'BillingPeriodLastDate': fields.date('BillingPeriodLastDate'), 297 'Hire': fields.float('Hire', digits=(12,6)), 298 'Blocked': fields.integer('Blocked'), 274 'name': fields.char('Name', size=255, translate=True), 275 'subject': fields.many2one('centrala.subject', 'Subject'), 276 'responsibleuser': fields.many2one('centrala.user', 'ResponsibleUser'), 277 'familymembercount': fields.integer('FamilyMemberCount'), 278 'membershipdate': fields.date('MembershipDate'), 279 'memberstate': fields.integer('MemberState'), 280 'internettariffcurrentmonth': fields.many2one('centrala.financetariff', 'InternetTariffCurrentMonth'), 281 'internettariffnextmonth': fields.many2one('centrala.financetariff', 'InternetTariffNextMonth'), 282 'gps': fields.integer('GPS'), 283 'billingperiod': fields.many2one('centrala.financebillingperiod', 'BillingPeriod'), 284 'networksegment': fields.integer('NetworkSegment'), 285 'billingperiodnext': fields.many2one('centrala.financebillingperiod', 'BillingPeriodNext'), 286 'billingperiodlastdate': fields.date('BillingPeriodLastDate'), 287 'hire': fields.float('Hire', digits=(12,6)), 288 'blocked': fields.integer('Blocked'), 289 'memberpayment_ids': fields.one2many('centrala.memberpayment', 'member', 'memberpayment'), 290 'networkdevice_ids': fields.one2many('centrala.networkdevice', 'member', 'networkdevice'), 291 'networkdevice_ids': fields.one2many('centrala.networkdevice', 'location', 'networkdevice'), 292 'networksubnet_ids': fields.one2many('centrala.networksubnet', 'member', 'networksubnet'), 293 'user_ids': fields.one2many('centrala.user', 'member', 'user'), 299 294 } 300 295 centrala_member() … … 303 298 _name = "centrala.memberpayment" 304 299 _columns = { 305 'Id': fields.integer('Id'), 306 'Member': fields.integer('Member'), 307 'MonthlyTotal': fields.float('MonthlyTotal', digits=(12,6)), 308 'MonthlyInternet': fields.float('MonthlyInternet', digits=(12,6)), 309 'MonthlyConsumption': fields.float('MonthlyConsumption', digits=(12,6)), 310 'NetworkDevice': fields.float('NetworkDevice', digits=(12,6)), 311 'MonthlyPlus': fields.float('MonthlyPlus', digits=(12,6)), 312 'Cash': fields.float('Cash', digits=(12,6)), 300 'member': fields.many2one('centrala.member', 'Member'), 301 'monthlytotal': fields.float('MonthlyTotal', digits=(12,6)), 302 'monthlyinternet': fields.float('MonthlyInternet', digits=(12,6)), 303 'monthlyconsumption': fields.float('MonthlyConsumption', digits=(12,6)), 304 'networkdevice': fields.float('NetworkDevice', digits=(12,6)), 305 'monthlyplus': fields.float('MonthlyPlus', digits=(12,6)), 306 'cash': fields.float('Cash', digits=(12,6)), 313 307 } 314 308 centrala_memberpayment() … … 317 311 _name = "centrala.networkap" 318 312 _columns = { 319 'Id': fields.integer('Id'), 320 'SSID': fields.char('SSID', size=255, translate=True), 321 'Frequency': fields.integer('Frequency'), 322 'ChannelWidth': fields.integer('ChannelWidth'), 323 'NetworkDevice': fields.integer('NetworkDevice'), 313 'ssid': fields.char('SSID', size=255, translate=True), 314 'frequency': fields.integer('Frequency'), 315 'channelwidth': fields.integer('ChannelWidth'), 316 'networkdevice': fields.many2one('centrala.networkdevice', 'NetworkDevice'), 324 317 } 325 318 centrala_networkap() … … 328 321 _name = "centrala.networkconfiguration" 329 322 _columns = { 330 'Id': fields.integer('Id'), 331 'Caption': fields.char('Caption', size=255, translate=True), 332 'Execute': fields.char('Execute', size=255, translate=True), 333 'Changed': fields.integer('Changed'), 334 'LastTime': fields.datetime('LastTime'), 335 'ExecutionTime': fields.integer('ExecutionTime'), 336 'Enabled': fields.integer('Enabled'), 337 'Period': fields.integer('Period'), 338 'Log': fields.text('Log', translate=True), 323 'caption': fields.char('Caption', size=255, translate=True), 324 'execute': fields.char('Execute', size=255, translate=True), 325 'changed': fields.integer('Changed'), 326 'lasttime': fields.datetime('LastTime'), 327 'executiontime': fields.integer('ExecutionTime'), 328 'enabled': fields.integer('Enabled'), 329 'period': fields.integer('Period'), 330 'log': fields.text('Log', translate=True), 339 331 } 340 332 centrala_networkconfiguration() … … 343 335 _name = "centrala.networkdevice" 344 336 _columns = { 345 'Id': fields.integer('Id'), 346 'Name': fields.char('Name', size=255, translate=True), 347 'Member': fields.integer('Member'), 348 'Location': fields.integer('Location'), 349 'Type': fields.integer('Type'), 350 'PositionLatitude': fields.float('PositionLatitude', digits=(12,6)), 351 'PositionLongitude': fields.float('PositionLongitude', digits=(12,6)), 352 'Used': fields.integer('Used'), 353 'Online': fields.integer('Online'), 354 'LastOnline': fields.datetime('LastOnline'), 355 'PermanentOnline': fields.integer('PermanentOnline'), 356 'InboundNATPriority': fields.integer('InboundNATPriority'), 337 'name': fields.char('Name', size=255, translate=True), 338 'member': fields.many2one('centrala.member', 'Member'), 339 'location': fields.many2one('centrala.member', 'Location'), 340 'type': fields.many2one('centrala.networkdevicetype', 'Type'), 341 'positionlatitude': fields.float('PositionLatitude', digits=(12,6)), 342 'positionlongitude': fields.float('PositionLongitude', digits=(12,6)), 343 'used': fields.integer('Used'), 344 'online': fields.integer('Online'), 345 'lastonline': fields.datetime('LastOnline'), 346 'permanentonline': fields.integer('PermanentOnline'), 347 'inboundnatpriority': fields.integer('InboundNATPriority'), 348 'networkap_ids': fields.one2many('centrala.networkap', 'networkdevice', 'networkap'), 349 'networkfirewall_ids': fields.one2many('centrala.networkfirewall', 'networkdevice', 'networkfirewall'), 350 'networkinterface_ids': fields.one2many('centrala.networkinterface', 'device', 'networkinterface'), 357 351 } 358 352 centrala_networkdevice() … … 361 355 _name = "centrala.networkdevicehistory" 362 356 _columns = { 363 'Id': fields.integer('Id'), 364 'Device': fields.integer('Device'), 365 'Time': fields.datetime('Time'), 366 'Action': fields.integer('Action'), 367 'Notice': fields.char('Notice', size=255, translate=True), 357 'device': fields.integer('Device'), 358 'time': fields.datetime('Time'), 359 'action': fields.integer('Action'), 360 'notice': fields.char('Notice', size=255, translate=True), 368 361 } 369 362 centrala_networkdevicehistory() … … 372 365 _name = "centrala.networkdevicetype" 373 366 _columns = { 374 ' Id': fields.integer('Id'),375 ' Name': fields.char('Name', size=255, translate=True),376 ' ShowOnline': fields.integer('ShowOnline'),377 ' IconName': fields.char('IconName', size=255, translate=True),367 'name': fields.char('Name', size=255, translate=True), 368 'showonline': fields.integer('ShowOnline'), 369 'iconname': fields.char('IconName', size=255, translate=True), 370 'networkdevice_ids': fields.one2many('centrala.networkdevice', 'type', 'networkdevice'), 378 371 } 379 372 centrala_networkdevicetype() … … 382 375 _name = "centrala.networkdomainalias" 383 376 _columns = { 384 'Id': fields.integer('Id'), 385 'Name': fields.char('Name', size=255, translate=True), 386 'Target': fields.char('Target', size=255, translate=True), 387 'Comment': fields.char('Comment', size=255, translate=True), 377 'name': fields.char('Name', size=255, translate=True), 378 'target': fields.char('Target', size=255, translate=True), 379 'comment': fields.char('Comment', size=255, translate=True), 388 380 } 389 381 centrala_networkdomainalias() … … 392 384 _name = "centrala.networkfirewall" 393 385 _columns = { 394 'Id': fields.integer('Id'), 395 'NetworkDevice': fields.integer('NetworkDevice'), 396 'SourceInterface': fields.char('SourceInterface', size=255, translate=True), 397 'DestinationInterface': fields.char('DestinationInterface', size=255, translate=True), 398 'SourceAddress': fields.char('SourceAddress', size=255, translate=True), 399 'DestinationAddress': fields.char('DestinationAddress', size=255, translate=True), 400 'SourcePort': fields.integer('SourcePort'), 401 'DestinationPort': fields.integer('DestinationPort'), 402 'Action': fields.char('Action', size=255, translate=True), 403 'Comment': fields.char('Comment', size=255, translate=True), 386 'networkdevice': fields.many2one('centrala.networkdevice', 'NetworkDevice'), 387 'sourceinterface': fields.char('SourceInterface', size=255, translate=True), 388 'destinationinterface': fields.char('DestinationInterface', size=255, translate=True), 389 'sourceaddress': fields.char('SourceAddress', size=255, translate=True), 390 'destinationaddress': fields.char('DestinationAddress', size=255, translate=True), 391 'sourceport': fields.integer('SourcePort'), 392 'destinationport': fields.integer('DestinationPort'), 393 'action': fields.char('Action', size=255, translate=True), 394 'comment': fields.char('Comment', size=255, translate=True), 404 395 } 405 396 centrala_networkfirewall() … … 408 399 _name = "centrala.networkinterface" 409 400 _columns = { 410 'Id': fields.integer('Id'), 411 'Name': fields.char('Name', size=16, translate=True), 412 'Type': fields.integer('Type'), 413 'MAC': fields.char('MAC', size=17, translate=True), 414 'LocalIP': fields.char('LocalIP', size=16, translate=True), 415 'IPv6': fields.char('IPv6', size=255, translate=True), 416 'ExternalIP': fields.char('ExternalIP', size=16, translate=True), 417 'Device': fields.integer('Device'), 418 'Online': fields.integer('Online'), 419 'LastOnline': fields.datetime('LastOnline'), 401 'name': fields.char('Name', size=16, translate=True), 402 'type': fields.many2one('centrala.networkinterfacetype', 'Type'), 403 'mac': fields.char('MAC', size=17, translate=True), 404 'localip': fields.char('LocalIP', size=16, translate=True), 405 'ipv6': fields.char('IPv6', size=255, translate=True), 406 'externalip': fields.char('ExternalIP', size=16, translate=True), 407 'device': fields.many2one('centrala.networkdevice', 'Device'), 408 'online': fields.integer('Online'), 409 'lastonline': fields.datetime('LastOnline'), 420 410 } 421 411 centrala_networkinterface() … … 424 414 _name = "centrala.networkinterfaceportable" 425 415 _columns = { 426 'Id': fields.integer('Id'), 427 'NetworkInterface': fields.integer('NetworkInterface'), 428 'DynamicIP': fields.char('DynamicIP', size=255, translate=True), 429 'Time': fields.datetime('Time'), 430 'Update': fields.integer('Update'), 416 'networkinterface': fields.integer('NetworkInterface'), 417 'dynamicip': fields.char('DynamicIP', size=255, translate=True), 418 'time': fields.datetime('Time'), 419 'update': fields.integer('Update'), 431 420 } 432 421 centrala_networkinterfaceportable() … … 435 424 _name = "centrala.networkinterfacestat" 436 425 _columns = { 437 ' NetworkInterface': fields.integer('NetworkInterface'),438 ' Time': fields.datetime('Time'),439 ' PingCount': fields.integer('PingCount'),426 'networkinterface': fields.integer('NetworkInterface'), 427 'time': fields.datetime('Time'), 428 'pingcount': fields.integer('PingCount'), 440 429 } 441 430 centrala_networkinterfacestat() … … 444 433 _name = "centrala.networkinterfacetype" 445 434 _columns = { 446 ' Id': fields.integer('Id'),447 ' Name': fields.char('Name', size=255, translate=True),448 ' MaxSpeed': fields.integer('MaxSpeed'),449 ' FullDuplex': fields.integer('FullDuplex'),450 ' Color': fields.char('Color', size=6, translate=True),435 'name': fields.char('Name', size=255, translate=True), 436 'maxspeed': fields.integer('MaxSpeed'), 437 'fullduplex': fields.integer('FullDuplex'), 438 'color': fields.char('Color', size=6, translate=True), 439 'networkinterface_ids': fields.one2many('centrala.networkinterface', 'type', 'networkinterface'), 451 440 } 452 441 centrala_networkinterfacetype() … … 455 444 _name = "centrala.networklink" 456 445 _columns = { 457 'Id': fields.integer('Id'), 458 'Type': fields.integer('Type'), 459 'Interface1': fields.integer('Interface1'), 460 'Interface2': fields.integer('Interface2'), 446 'type': fields.integer('Type'), 447 'interface1': fields.integer('Interface1'), 448 'interface2': fields.integer('Interface2'), 461 449 } 462 450 centrala_networklink() … … 465 453 _name = "centrala.networkmanglesubgroup" 466 454 _columns = { 467 'Id': fields.integer('Id'), 468 'AddressRange': fields.char('AddressRange', size=255, translate=True), 455 'addressrange': fields.char('AddressRange', size=255, translate=True), 469 456 } 470 457 centrala_networkmanglesubgroup() … … 473 460 _name = "centrala.networkmark" 474 461 _columns = { 475 'Id': fields.integer('Id'), 476 'Comment': fields.char('Comment', size=255, translate=True), 462 'comment': fields.char('Comment', size=255, translate=True), 477 463 } 478 464 centrala_networkmark() … … 481 467 _name = "centrala.networksubnet" 482 468 _columns = { 483 'Id': fields.integer('Id'), 484 'Name': fields.char('Name', size=255, translate=True), 485 'AddressRange': fields.char('AddressRange', size=255, translate=True), 486 'Mask': fields.integer('Mask'), 487 'DHCP': fields.char('DHCP', size=255, translate=True), 488 'Gateway': fields.char('Gateway', size=255, translate=True), 489 'WINS': fields.char('WINS', size=255, translate=True), 490 'DNS': fields.char('DNS', size=255, translate=True), 491 'Domain': fields.char('Domain', size=255, translate=True), 492 'NTP': fields.char('NTP', size=255, translate=True), 493 'Member': fields.integer('Member'), 494 'ExtAddressRange': fields.char('ExtAddressRange', size=255, translate=True), 495 'ExtMask': fields.integer('ExtMask'), 496 'AddressRangeIPv6': fields.char('AddressRangeIPv6', size=255, translate=True), 497 'Configure': fields.integer('Configure'), 469 'name': fields.char('Name', size=255, translate=True), 470 'addressrange': fields.char('AddressRange', size=255, translate=True), 471 'mask': fields.integer('Mask'), 472 'dhcp': fields.char('DHCP', size=255, translate=True), 473 'gateway': fields.char('Gateway', size=255, translate=True), 474 'wins': fields.char('WINS', size=255, translate=True), 475 'dns': fields.char('DNS', size=255, translate=True), 476 'domain': fields.char('Domain', size=255, translate=True), 477 'ntp': fields.char('NTP', size=255, translate=True), 478 'member': fields.many2one('centrala.member', 'Member'), 479 'extaddressrange': fields.char('ExtAddressRange', size=255, translate=True), 480 'extmask': fields.integer('ExtMask'), 481 'addressrangeipv6': fields.char('AddressRangeIPv6', size=255, translate=True), 482 'configure': fields.integer('Configure'), 498 483 } 499 484 centrala_networksubnet() … … 502 487 _name = "centrala.news" 503 488 _columns = { 504 'Id': fields.integer('Id'), 505 'Title': fields.char('Title', size=255, translate=True), 506 'Content': fields.text('Content', translate=True), 507 'Date': fields.datetime('Date'), 508 'TargetDate': fields.datetime('TargetDate'), 509 'Author': fields.char('Author', size=32, translate=True), 510 'IP': fields.char('IP', size=16, translate=True), 511 'Category': fields.integer('Category'), 512 'Enclosure': fields.char('Enclosure', size=255, translate=True), 513 'User': fields.integer('User'), 514 'Link': fields.char('Link', size=255, translate=True), 489 'title': fields.char('Title', size=255, translate=True), 490 'content': fields.text('Content', translate=True), 491 'date': fields.datetime('Date'), 492 'targetdate': fields.datetime('TargetDate'), 493 'author': fields.char('Author', size=32, translate=True), 494 'ip': fields.char('IP', size=16, translate=True), 495 'category': fields.many2one('centrala.newscategory', 'Category'), 496 'enclosure': fields.char('Enclosure', size=255, translate=True), 497 'user': fields.integer('User'), 498 'link': fields.char('Link', size=255, translate=True), 515 499 } 516 500 centrala_news() … … 519 503 _name = "centrala.newscategory" 520 504 _columns = { 521 ' Id': fields.integer('Id'),522 ' Caption': fields.char('Caption', size=255, translate=True),523 ' Permission': fields.integer('Permission'),524 ' Sequence': fields.integer('Sequence'),525 ' Group': fields.integer('Group'),526 ' RSS': fields.char('RSS', size=255, translate=True),505 'caption': fields.char('Caption', size=255, translate=True), 506 'permission': fields.integer('Permission'), 507 'sequence': fields.integer('Sequence'), 508 'group': fields.integer('Group'), 509 'rss': fields.char('RSS', size=255, translate=True), 510 'news_ids': fields.one2many('centrala.news', 'category', 'news'), 527 511 } 528 512 centrala_newscategory() … … 531 515 _name = "centrala.panel" 532 516 _columns = { 533 'Id': fields.integer('Id'), 534 'Module': fields.char('Module', size=255, translate=True), 535 'Parameters': fields.char('Parameters', size=255, translate=True), 536 'Order': fields.integer('Order'), 537 'PanelColumn': fields.integer('PanelColumn'), 517 'module': fields.char('Module', size=255, translate=True), 518 'parameters': fields.char('Parameters', size=255, translate=True), 519 'order': fields.integer('Order'), 520 'panelcolumn': fields.many2one('centrala.panelcolumn', 'PanelColumn'), 538 521 } 539 522 centrala_panel() … … 542 525 _name = "centrala.panelcolumn" 543 526 _columns = { 544 ' Id': fields.integer('Id'),545 ' Width': fields.char('Width', size=255, translate=True),527 'width': fields.char('Width', size=255, translate=True), 528 'panel_ids': fields.one2many('centrala.panel', 'panelcolumn', 'panel'), 546 529 } 547 530 centrala_panelcolumn() … … 550 533 _name = "centrala.permissiongroup" 551 534 _columns = { 552 'Id': fields.integer('Id'), 553 'Description': fields.char('Description', size=255, translate=True), 535 'description': fields.char('Description', size=255, translate=True), 554 536 } 555 537 centrala_permissiongroup() … … 558 540 _name = "centrala.permissiongroupassignment" 559 541 _columns = { 560 ' Group': fields.integer('Group'),561 ' GroupOrOperation': fields.integer('GroupOrOperation'),562 ' Type': fields.integer('Type'),542 'group': fields.integer('Group'), 543 'grouporoperation': fields.integer('GroupOrOperation'), 544 'type': fields.integer('Type'), 563 545 } 564 546 centrala_permissiongroupassignment() … … 567 549 _name = "centrala.permissionoperation" 568 550 _columns = { 569 'Id': fields.integer('Id'), 570 'Module': fields.char('Module', size=64, translate=True), 571 'Operation': fields.char('Operation', size=128, translate=True), 572 'Item': fields.char('Item', size=64, translate=True), 573 'ItemId': fields.integer('ItemId'), 551 'module': fields.char('Module', size=64, translate=True), 552 'operation': fields.char('Operation', size=128, translate=True), 553 'item': fields.char('Item', size=64, translate=True), 554 'itemid': fields.integer('ItemId'), 574 555 } 575 556 centrala_permissionoperation() … … 578 559 _name = "centrala.permissionuserassignment" 579 560 _columns = { 580 ' User': fields.integer('User'),581 ' GroupOrOperation': fields.integer('GroupOrOperation'),582 ' Type': fields.integer('Type'),561 'user': fields.many2one('centrala.user', 'User'), 562 'grouporoperation': fields.integer('GroupOrOperation'), 563 'type': fields.integer('Type'), 583 564 } 584 565 centrala_permissionuserassignment() … … 587 568 _name = "centrala.phonebook" 588 569 _columns = { 589 'Id': fields.integer('Id'), 590 'Number': fields.char('Number', size=255, translate=True), 591 'Name': fields.char('Name', size=255, translate=True), 592 'Address': fields.char('Address', size=255, translate=True), 593 'LastUpdate': fields.datetime('LastUpdate'), 594 'Operator': fields.char('Operator', size=255, translate=True), 570 'number': fields.char('Number', size=255, translate=True), 571 'name': fields.char('Name', size=255, translate=True), 572 'address': fields.char('Address', size=255, translate=True), 573 'lastupdate': fields.datetime('LastUpdate'), 574 'operator': fields.char('Operator', size=255, translate=True), 595 575 } 596 576 centrala_phonebook() … … 599 579 _name = "centrala.service" 600 580 _columns = { 601 'Id': fields.integer('Id'), 602 'Name': fields.char('Name', size=255, translate=True), 581 'name': fields.char('Name', size=255, translate=True), 603 582 } 604 583 centrala_service() … … 607 586 _name = "centrala.stockcard" 608 587 _columns = { 609 'Id': fields.integer('Id'), 610 'Name': fields.char('Name', size=255, translate=True), 611 'SellPrice': fields.float('SellPrice', digits=(12,6)), 612 'Consumption': fields.integer('Consumption'), 588 'name': fields.char('Name', size=255, translate=True), 589 'sellprice': fields.float('SellPrice', digits=(12,6)), 590 'consumption': fields.integer('Consumption'), 613 591 } 614 592 centrala_stockcard() … … 617 595 _name = "centrala.subject" 618 596 _columns = { 619 'Id': fields.integer('Id'), 620 'Name': fields.char('Name', size=64, translate=True), 621 'AddressStreet': fields.char('AddressStreet', size=64, translate=True), 622 'AddressTown': fields.char('AddressTown', size=64, translate=True), 623 'AddressPSC': fields.integer('AddressPSC'), 624 'AddressCountry': fields.char('AddressCountry', size=255, translate=True), 625 'IC': fields.char('IC', size=32, translate=True), 626 'DIC': fields.char('DIC', size=32, translate=True), 627 'MapPositionX': fields.float('MapPositionX', digits=(12,6)), 628 'MapPositionY': fields.float('MapPositionY', digits=(12,6)), 629 'WWW': fields.char('WWW', size=255, translate=True), 630 'Note': fields.char('Note', size=255, translate=True), 597 'name': fields.char('Name', size=64, translate=True), 598 'addressstreet': fields.char('AddressStreet', size=64, translate=True), 599 'addresstown': fields.char('AddressTown', size=64, translate=True), 600 'addresspsc': fields.integer('AddressPSC'), 601 'addresscountry': fields.char('AddressCountry', size=255, translate=True), 602 'ic': fields.char('IC', size=32, translate=True), 603 'dic': fields.char('DIC', size=32, translate=True), 604 'mappositionx': fields.float('MapPositionX', digits=(12,6)), 605 'mappositiony': fields.float('MapPositionY', digits=(12,6)), 606 'www': fields.char('WWW', size=255, translate=True), 607 'note': fields.char('Note', size=255, translate=True), 608 'financebills_ids': fields.one2many('centrala.financebills', 'subject', 'financebills'), 609 'financeclaimsliabilities_ids': fields.one2many('centrala.financeclaimsliabilities', 'subject', 'financeclaimsliabilities'), 610 'financeoperation_ids': fields.one2many('centrala.financeoperation', 'subject', 'financeoperation'), 611 'member_ids': fields.one2many('centrala.member', 'subject', 'member'), 612 'subjectopentime_ids': fields.one2many('centrala.subjectopentime', 'subject', 'subjectopentime'), 613 'subjectopentimeday_ids': fields.one2many('centrala.subjectopentimeday', 'subject', 'subjectopentimeday'), 631 614 } 632 615 centrala_subject() … … 635 618 _name = "centrala.subjectopentime" 636 619 _columns = { 637 ' Subject': fields.integer('Subject'),638 ' UpdateTime': fields.datetime('UpdateTime'),639 ' Notice': fields.char('Notice', size=255, translate=True),640 ' Photo': fields.integer('Photo'),620 'subject': fields.many2one('centrala.subject', 'Subject'), 621 'updatetime': fields.datetime('UpdateTime'), 622 'notice': fields.char('Notice', size=255, translate=True), 623 'photo': fields.integer('Photo'), 641 624 } 642 625 centrala_subjectopentime() … … 645 628 _name = "centrala.subjectopentimeday" 646 629 _columns = { 647 ' Subject': fields.integer('Subject'),648 ' Day': fields.integer('Day'),649 ' Open1': fields.integer('Open1'),650 ' Close1': fields.integer('Close1'),651 ' Open2': fields.integer('Open2'),652 ' Close2': fields.integer('Close2'),630 'subject': fields.many2one('centrala.subject', 'Subject'), 631 'day': fields.integer('Day'), 632 'open1': fields.integer('Open1'), 633 'close1': fields.integer('Close1'), 634 'open2': fields.integer('Open2'), 635 'close2': fields.integer('Close2'), 653 636 } 654 637 centrala_subjectopentimeday() … … 657 640 _name = "centrala.tv" 658 641 _columns = { 659 'Id': fields.integer('Id'), 660 'Name': fields.char('Name', size=16, translate=True), 661 'Frequency': fields.integer('Frequency'), 662 'Norm': fields.char('Norm', size=8, translate=True), 663 'Homepage': fields.char('Homepage', size=255, translate=True), 664 'Language': fields.char('Language', size=32, translate=True), 665 'ShortName': fields.char('ShortName', size=16, translate=True), 666 'Stream': fields.char('Stream', size=255, translate=True), 667 'StreamWeb': fields.char('StreamWeb', size=255, translate=True), 668 'SourceType': fields.char('SourceType', size=255, translate=True), 669 'Category': fields.char('Category', size=255, translate=True), 642 'name': fields.char('Name', size=16, translate=True), 643 'frequency': fields.integer('Frequency'), 644 'norm': fields.char('Norm', size=8, translate=True), 645 'homepage': fields.char('Homepage', size=255, translate=True), 646 'language': fields.char('Language', size=32, translate=True), 647 'shortname': fields.char('ShortName', size=16, translate=True), 648 'stream': fields.char('Stream', size=255, translate=True), 649 'streamweb': fields.char('StreamWeb', size=255, translate=True), 650 'sourcetype': fields.char('SourceType', size=255, translate=True), 651 'category': fields.char('Category', size=255, translate=True), 670 652 } 671 653 centrala_tv() … … 674 656 _name = "centrala.user" 675 657 _columns = { 676 'Id': fields.integer('Id'), 677 'Login': fields.char('Login', size=64, translate=True), 678 'Name': fields.char('Name', size=128, translate=True), 679 'Password': fields.char('Password', size=255, translate=True), 680 'Email': fields.char('Email', size=128, translate=True), 681 'LastIpAddress': fields.char('LastIpAddress', size=16, translate=True), 682 'LastLoginTime': fields.datetime('LastLoginTime'), 683 'RegistrationTime': fields.datetime('RegistrationTime'), 684 'Member': fields.integer('Member'), 685 'Locked': fields.integer('Locked'), 686 'ICQ': fields.integer('ICQ'), 687 'PhoneNumber': fields.char('PhoneNumber', size=32, translate=True), 688 'InitPassword': fields.char('InitPassword', size=255, translate=True), 658 'login': fields.char('Login', size=64, translate=True), 659 'name': fields.char('Name', size=128, translate=True), 660 'password': fields.char('Password', size=255, translate=True), 661 'email': fields.char('Email', size=128, translate=True), 662 'lastipaddress': fields.char('LastIpAddress', size=16, translate=True), 663 'lastlogintime': fields.datetime('LastLoginTime'), 664 'registrationtime': fields.datetime('RegistrationTime'), 665 'member': fields.many2one('centrala.member', 'Member'), 666 'locked': fields.integer('Locked'), 667 'icq': fields.integer('ICQ'), 668 'phonenumber': fields.char('PhoneNumber', size=32, translate=True), 669 'initpassword': fields.char('InitPassword', size=255, translate=True), 670 'log_ids': fields.one2many('centrala.log', 'user', 'log'), 671 'member_ids': fields.one2many('centrala.member', 'responsibleuser', 'member'), 672 'permissionuserassignment_ids': fields.one2many('centrala.permissionuserassignment', 'user', 'permissionuserassignment'), 689 673 } 690 674 centrala_user() … … 693 677 _name = "centrala.useronline" 694 678 _columns = { 695 'Id': fields.integer('Id'), 696 'User': fields.integer('User'), 697 'ActivityTime': fields.datetime('ActivityTime'), 698 'LoginTime': fields.datetime('LoginTime'), 699 'SessionId': fields.char('SessionId', size=255, translate=True), 700 'IpAddress': fields.char('IpAddress', size=16, translate=True), 701 'HostName': fields.char('HostName', size=255, translate=True), 702 'ScriptName': fields.char('ScriptName', size=255, translate=True), 679 'user': fields.integer('User'), 680 'activitytime': fields.datetime('ActivityTime'), 681 'logintime': fields.datetime('LoginTime'), 682 'sessionid': fields.char('SessionId', size=255, translate=True), 683 'ipaddress': fields.char('IpAddress', size=16, translate=True), 684 'hostname': fields.char('HostName', size=255, translate=True), 685 'scriptname': fields.char('ScriptName', size=255, translate=True), 703 686 } 704 687 centrala_useronline() … … 712 695 'internet_speed_reserve': fields.integer('internet_speed_reserve'), 713 696 'administration_per_user': fields.integer('administration_per_user'), 714 'k Wh': fields.integer('kWh'),697 'kwh': fields.integer('kWh'), 715 698 'base_speed_element': fields.integer('base_speed_element'), 716 ' BaseTariffPrice': fields.integer('BaseTariffPrice'),717 ' TopTariffPrice': fields.integer('TopTariffPrice'),699 'basetariffprice': fields.integer('BaseTariffPrice'), 700 'toptariffprice': fields.integer('TopTariffPrice'), 718 701 } 719 702 centrala_finance_charge() … … 722 705 _name = "centrala.finance.groups" 723 706 _columns = { 724 'Id': fields.integer('Id'), 725 'Description': fields.char('Description', size=128, translate=True), 707 'description': fields.char('Description', size=128, translate=True), 726 708 } 727 709 centrala_finance_groups() … … 734 716 'date': fields.date('date'), 735 717 'administration': fields.integer('administration'), 736 'k Wh': fields.integer('kWh'),718 'kwh': fields.integer('kWh'), 737 719 'administration_total': fields.integer('administration_total'), 738 720 'consumption_total': fields.integer('consumption_total'), 739 721 'total_paid': fields.integer('total_paid'), 740 ' BaseTariffPrice': fields.integer('BaseTariffPrice'),741 ' TopTariffPrice': fields.integer('TopTariffPrice'),722 'basetariffprice': fields.integer('BaseTariffPrice'), 723 'toptariffprice': fields.integer('TopTariffPrice'), 742 724 'member_count': fields.integer('member_count'), 743 725 'investment': fields.integer('investment'), … … 773 755 'shop': fields.char('shop', size=64, translate=True), 774 756 'deprecated_price': fields.integer('deprecated_price'), 775 ' TimeEnlistment': fields.datetime('TimeEnlistment'),776 ' TimeElimination': fields.datetime('TimeElimination'),777 ' StockCard': fields.integer('StockCard'),757 'timeenlistment': fields.datetime('TimeEnlistment'), 758 'timeelimination': fields.datetime('TimeElimination'), 759 'stockcard': fields.integer('StockCard'), 778 760 } 779 761 centrala_network_devices() -
trunk/temp/CentralaModule/centrala_view.xml
r399 r400 20 20 <field name="arch" type="xml"> 21 21 <tree string="ChatHistory"> 22 <field name="Id" select="1"/> 23 <field name="Nick" select="1"/> 24 <field name="Text" select="1"/> 25 <field name="Time" select="1"/> 26 <field name="Color" select="1"/> 27 <field name="RoomName" select="1"/> 28 <field name="RoomType" select="1"/> 29 <field name="Host" select="1"/> 22 <field name="nick" select="1"/> 23 <field name="text" select="1"/> 24 <field name="time" select="1"/> 25 <field name="color" select="1"/> 26 <field name="roomname" select="1"/> 27 <field name="roomtype" select="1"/> 28 <field name="host" select="1"/> 30 29 </tree> 31 30 </field> … … 38 37 <field name="arch" type="xml"> 39 38 <form string="ChatHistory"> 40 <field name="Id" select="1"/> 41 <field name="Nick" select="1"/> 42 <field name="Text" select="1"/> 43 <field name="Time" select="1"/> 44 <field name="Color" select="1"/> 45 <field name="RoomName" select="1"/> 46 <field name="RoomType" select="1"/> 47 <field name="Host" select="1"/> 39 <field name="nick" select="1"/> 40 <field name="text" select="1"/> 41 <field name="time" select="1"/> 42 <field name="color" select="1"/> 43 <field name="roomname" select="1"/> 44 <field name="roomtype" select="1"/> 45 <field name="host" select="1"/> 48 46 </form> 49 47 </field> … … 65 63 <field name="arch" type="xml"> 66 64 <tree string="DocumentLine"> 67 <field name="Id" select="1"/> 68 <field name="Name" select="1"/> 69 <field name="Shortcut" select="1"/> 65 <field name="name" select="1"/> 66 <field name="shortcut" select="1"/> 70 67 </tree> 71 68 </field> … … 78 75 <field name="arch" type="xml"> 79 76 <form string="DocumentLine"> 80 <field name=" Id" select="1"/>81 <field name=" Name" select="1"/>82 <field name=" Shortcut" select="1"/>77 <field name="name" select="1"/> 78 <field name="shortcut" select="1"/> 79 <field name="documentlinesequence_ids" select="1"/> 83 80 </form> 84 81 </field> … … 100 97 <field name="arch" type="xml"> 101 98 <tree string="DocumentLineSequence"> 102 <field name="Id" select="1"/> 103 <field name="DocumentLine" select="1"/> 104 <field name="FinanceYear" select="1"/> 105 <field name="NextNumber" select="1"/> 106 <field name="YearPrefix" select="1"/> 99 <field name="documentline" select="1"/> 100 <field name="financeyear" select="1"/> 101 <field name="nextnumber" select="1"/> 102 <field name="yearprefix" select="1"/> 107 103 </tree> 108 104 </field> … … 115 111 <field name="arch" type="xml"> 116 112 <form string="DocumentLineSequence"> 117 <field name="Id" select="1"/> 118 <field name="DocumentLine" select="1"/> 119 <field name="FinanceYear" select="1"/> 120 <field name="NextNumber" select="1"/> 121 <field name="YearPrefix" select="1"/> 113 <field name="documentline" select="1"/> 114 <field name="financeyear" select="1"/> 115 <field name="nextnumber" select="1"/> 116 <field name="yearprefix" select="1"/> 122 117 </form> 123 118 </field> … … 139 134 <field name="arch" type="xml"> 140 135 <tree string="EmailQueue"> 141 <field name="Id" select="1"/> 142 <field name="Time" select="1"/> 143 <field name="Address" select="1"/> 144 <field name="Subject" select="1"/> 145 <field name="Content" select="1"/> 146 <field name="Headers" select="1"/> 147 <field name="Archive" select="1"/> 136 <field name="time" select="1"/> 137 <field name="address" select="1"/> 138 <field name="subject" select="1"/> 139 <field name="content" select="1"/> 140 <field name="headers" select="1"/> 141 <field name="archive" select="1"/> 148 142 </tree> 149 143 </field> … … 156 150 <field name="arch" type="xml"> 157 151 <form string="EmailQueue"> 158 <field name="Id" select="1"/> 159 <field name="Time" select="1"/> 160 <field name="Address" select="1"/> 161 <field name="Subject" select="1"/> 162 <field name="Content" select="1"/> 163 <field name="Headers" select="1"/> 164 <field name="Archive" select="1"/> 152 <field name="time" select="1"/> 153 <field name="address" select="1"/> 154 <field name="subject" select="1"/> 155 <field name="content" select="1"/> 156 <field name="headers" select="1"/> 157 <field name="archive" select="1"/> 165 158 </form> 166 159 </field> … … 182 175 <field name="arch" type="xml"> 183 176 <tree string="File"> 184 <field name="Id" select="1"/> 185 <field name="Name" select="1"/> 186 <field name="Size" select="1"/> 177 <field name="name" select="1"/> 178 <field name="size" select="1"/> 187 179 </tree> 188 180 </field> … … 195 187 <field name="arch" type="xml"> 196 188 <form string="File"> 197 <field name="Id" select="1"/> 198 <field name="Name" select="1"/> 199 <field name="Size" select="1"/> 189 <field name="name" select="1"/> 190 <field name="size" select="1"/> 200 191 </form> 201 192 </field> … … 217 208 <field name="arch" type="xml"> 218 209 <tree string="FinanceAssetsHistory"> 219 <field name=" AssetsId" select="1"/>220 <field name=" Time" select="1"/>221 <field name=" Text" select="1"/>222 <field name=" User" select="1"/>210 <field name="assetsid" select="1"/> 211 <field name="time" select="1"/> 212 <field name="text" select="1"/> 213 <field name="user" select="1"/> 223 214 </tree> 224 215 </field> … … 231 222 <field name="arch" type="xml"> 232 223 <form string="FinanceAssetsHistory"> 233 <field name=" AssetsId" select="1"/>234 <field name=" Time" select="1"/>235 <field name=" Text" select="1"/>236 <field name=" User" select="1"/>224 <field name="assetsid" select="1"/> 225 <field name="time" select="1"/> 226 <field name="text" select="1"/> 227 <field name="user" select="1"/> 237 228 </form> 238 229 </field> … … 254 245 <field name="arch" type="xml"> 255 246 <tree string="FinanceBankAccount"> 256 <field name="Id" select="1"/> 257 <field name="TimeCreate" select="1"/> 258 <field name="Number" select="1"/> 259 <field name="Comment" select="1"/> 247 <field name="timecreate" select="1"/> 248 <field name="number" select="1"/> 249 <field name="comment" select="1"/> 260 250 </tree> 261 251 </field> … … 268 258 <field name="arch" type="xml"> 269 259 <form string="FinanceBankAccount"> 270 <field name="Id" select="1"/> 271 <field name="TimeCreate" select="1"/> 272 <field name="Number" select="1"/> 273 <field name="Comment" select="1"/> 260 <field name="timecreate" select="1"/> 261 <field name="number" select="1"/> 262 <field name="comment" select="1"/> 274 263 </form> 275 264 </field> … … 291 280 <field name="arch" type="xml"> 292 281 <tree string="FinanceBillingPeriod"> 293 <field name="Id" select="1"/> 294 <field name="Name" select="1"/> 295 <field name="MonthCount" select="1"/> 282 <field name="name" select="1"/> 283 <field name="monthcount" select="1"/> 296 284 </tree> 297 285 </field> … … 304 292 <field name="arch" type="xml"> 305 293 <form string="FinanceBillingPeriod"> 306 <field name="Id" select="1"/> 307 <field name="Name" select="1"/> 308 <field name="MonthCount" select="1"/> 294 <field name="name" select="1"/> 295 <field name="monthcount" select="1"/> 296 <field name="member_ids" select="1"/> 297 <field name="member_ids" select="1"/> 309 298 </form> 310 299 </field> … … 326 315 <field name="arch" type="xml"> 327 316 <tree string="FinanceBills"> 328 <field name="Id" select="1"/> 329 <field name="TimeFrom" select="1"/> 330 <field name="Subject" select="1"/> 331 <field name="TimeTo" select="1"/> 332 <field name="TimeCreate" select="1"/> 333 <field name="TimeDue" select="1"/> 334 <field name="BillCode" select="1"/> 335 <field name="Type" select="1"/> 336 <field name="Cash" select="1"/> 317 <field name="timefrom" select="1"/> 318 <field name="subject" select="1"/> 319 <field name="timeto" select="1"/> 320 <field name="timecreate" select="1"/> 321 <field name="timedue" select="1"/> 322 <field name="billcode" select="1"/> 323 <field name="type" select="1"/> 324 <field name="cash" select="1"/> 337 325 </tree> 338 326 </field> … … 345 333 <field name="arch" type="xml"> 346 334 <form string="FinanceBills"> 347 <field name="Id" select="1"/> 348 <field name="TimeFrom" select="1"/> 349 <field name="Subject" select="1"/> 350 <field name="TimeTo" select="1"/> 351 <field name="TimeCreate" select="1"/> 352 <field name="TimeDue" select="1"/> 353 <field name="BillCode" select="1"/> 354 <field name="Type" select="1"/> 355 <field name="Cash" select="1"/> 335 <field name="timefrom" select="1"/> 336 <field name="subject" select="1"/> 337 <field name="timeto" select="1"/> 338 <field name="timecreate" select="1"/> 339 <field name="timedue" select="1"/> 340 <field name="billcode" select="1"/> 341 <field name="type" select="1"/> 342 <field name="cash" select="1"/> 343 <field name="financebillsitems_ids" select="1"/> 344 <field name="financeoperation_ids" select="1"/> 356 345 </form> 357 346 </field> … … 373 362 <field name="arch" type="xml"> 374 363 <tree string="FinanceBillsItems"> 375 <field name="Id" select="1"/> 376 <field name="Bill" select="1"/> 377 <field name="Description" select="1"/> 378 <field name="Price" select="1"/> 379 <field name="Quantity" select="1"/> 364 <field name="bill" select="1"/> 365 <field name="description" select="1"/> 366 <field name="price" select="1"/> 367 <field name="quantity" select="1"/> 380 368 </tree> 381 369 </field> … … 388 376 <field name="arch" type="xml"> 389 377 <form string="FinanceBillsItems"> 390 <field name="Id" select="1"/> 391 <field name="Bill" select="1"/> 392 <field name="Description" select="1"/> 393 <field name="Price" select="1"/> 394 <field name="Quantity" select="1"/> 378 <field name="bill" select="1"/> 379 <field name="description" select="1"/> 380 <field name="price" select="1"/> 381 <field name="quantity" select="1"/> 395 382 </form> 396 383 </field> … … 412 399 <field name="arch" type="xml"> 413 400 <tree string="FinanceClaimsLiabilities"> 414 <field name="Id" select="1"/> 415 <field name="BillCode" select="1"/> 416 <field name="Subject" select="1"/> 417 <field name="TimeCreation" select="1"/> 418 <field name="TimeDue" select="1"/> 419 <field name="TimePayment" select="1"/> 420 <field name="Value" select="1"/> 421 <field name="Bill" select="1"/> 422 <field name="Text" select="1"/> 401 <field name="billcode" select="1"/> 402 <field name="subject" select="1"/> 403 <field name="timecreation" select="1"/> 404 <field name="timedue" select="1"/> 405 <field name="timepayment" select="1"/> 406 <field name="value" select="1"/> 407 <field name="bill" select="1"/> 408 <field name="text" select="1"/> 423 409 </tree> 424 410 </field> … … 431 417 <field name="arch" type="xml"> 432 418 <form string="FinanceClaimsLiabilities"> 433 <field name="Id" select="1"/> 434 <field name="BillCode" select="1"/> 435 <field name="Subject" select="1"/> 436 <field name="TimeCreation" select="1"/> 437 <field name="TimeDue" select="1"/> 438 <field name="TimePayment" select="1"/> 439 <field name="Value" select="1"/> 440 <field name="Bill" select="1"/> 441 <field name="Text" select="1"/> 419 <field name="billcode" select="1"/> 420 <field name="subject" select="1"/> 421 <field name="timecreation" select="1"/> 422 <field name="timedue" select="1"/> 423 <field name="timepayment" select="1"/> 424 <field name="value" select="1"/> 425 <field name="bill" select="1"/> 426 <field name="text" select="1"/> 442 427 </form> 443 428 </field> … … 459 444 <field name="arch" type="xml"> 460 445 <tree string="FinanceLog"> 461 <field name="Id" select="1"/> 462 <field name="Time" select="1"/> 463 <field name="Text" select="1"/> 446 <field name="time" select="1"/> 447 <field name="text" select="1"/> 464 448 </tree> 465 449 </field> … … 472 456 <field name="arch" type="xml"> 473 457 <form string="FinanceLog"> 474 <field name="Id" select="1"/> 475 <field name="Time" select="1"/> 476 <field name="Text" select="1"/> 458 <field name="time" select="1"/> 459 <field name="text" select="1"/> 477 460 </form> 478 461 </field> … … 494 477 <field name="arch" type="xml"> 495 478 <tree string="FinanceOperation"> 496 <field name="Id" select="1"/> 497 <field name="Time" select="1"/> 498 <field name="Subject" select="1"/> 499 <field name="Cash" select="1"/> 500 <field name="Value" select="1"/> 501 <field name="BillCode" select="1"/> 502 <field name="Taxable" select="1"/> 503 <field name="Bill" select="1"/> 504 <field name="Text" select="1"/> 505 <field name="Network" select="1"/> 479 <field name="time" select="1"/> 480 <field name="subject" select="1"/> 481 <field name="cash" select="1"/> 482 <field name="value" select="1"/> 483 <field name="billcode" select="1"/> 484 <field name="taxable" select="1"/> 485 <field name="bill" select="1"/> 486 <field name="text" select="1"/> 487 <field name="network" select="1"/> 506 488 </tree> 507 489 </field> … … 514 496 <field name="arch" type="xml"> 515 497 <form string="FinanceOperation"> 516 <field name="Id" select="1"/> 517 <field name="Time" select="1"/> 518 <field name="Subject" select="1"/> 519 <field name="Cash" select="1"/> 520 <field name="Value" select="1"/> 521 <field name="BillCode" select="1"/> 522 <field name="Taxable" select="1"/> 523 <field name="Bill" select="1"/> 524 <field name="Text" select="1"/> 525 <field name="Network" select="1"/> 498 <field name="time" select="1"/> 499 <field name="subject" select="1"/> 500 <field name="cash" select="1"/> 501 <field name="value" select="1"/> 502 <field name="billcode" select="1"/> 503 <field name="taxable" select="1"/> 504 <field name="bill" select="1"/> 505 <field name="text" select="1"/> 506 <field name="network" select="1"/> 526 507 </form> 527 508 </field> … … 543 524 <field name="arch" type="xml"> 544 525 <tree string="FinanceSmallAssets"> 545 <field name="Id" select="1"/> 546 <field name="Text" select="1"/> 547 <field name="PricePurchase" select="1"/> 548 <field name="TimeEnlistment" select="1"/> 549 <field name="TimeElimination" select="1"/> 550 <field name="SupplySubject" select="1"/> 551 <field name="DeviceId" select="1"/> 526 <field name="text" select="1"/> 527 <field name="pricepurchase" select="1"/> 528 <field name="timeenlistment" select="1"/> 529 <field name="timeelimination" select="1"/> 530 <field name="supplysubject" select="1"/> 531 <field name="deviceid" select="1"/> 552 532 </tree> 553 533 </field> … … 560 540 <field name="arch" type="xml"> 561 541 <form string="FinanceSmallAssets"> 562 <field name="Id" select="1"/> 563 <field name="Text" select="1"/> 564 <field name="PricePurchase" select="1"/> 565 <field name="TimeEnlistment" select="1"/> 566 <field name="TimeElimination" select="1"/> 567 <field name="SupplySubject" select="1"/> 568 <field name="DeviceId" select="1"/> 542 <field name="text" select="1"/> 543 <field name="pricepurchase" select="1"/> 544 <field name="timeenlistment" select="1"/> 545 <field name="timeelimination" select="1"/> 546 <field name="supplysubject" select="1"/> 547 <field name="deviceid" select="1"/> 569 548 </form> 570 549 </field> … … 586 565 <field name="arch" type="xml"> 587 566 <tree string="FinanceTariff"> 588 <field name="Id" select="1"/> 589 <field name="Name" select="1"/> 590 <field name="Group" select="1"/> 591 <field name="SpeedMin" select="1"/> 592 <field name="SpeedMax" select="1"/> 593 <field name="UploadAsymmetry" select="1"/> 594 <field name="Price" select="1"/> 595 <field name="MemberCount" select="1"/> 596 <field name="ReplaceId" select="1"/> 597 <field name="Public" select="1"/> 567 <field name="name" select="1"/> 568 <field name="group" select="1"/> 569 <field name="speedmin" select="1"/> 570 <field name="speedmax" select="1"/> 571 <field name="uploadasymmetry" select="1"/> 572 <field name="price" select="1"/> 573 <field name="membercount" select="1"/> 574 <field name="replaceid" select="1"/> 575 <field name="public" select="1"/> 598 576 </tree> 599 577 </field> … … 606 584 <field name="arch" type="xml"> 607 585 <form string="FinanceTariff"> 608 <field name="Id" select="1"/> 609 <field name="Name" select="1"/> 610 <field name="Group" select="1"/> 611 <field name="SpeedMin" select="1"/> 612 <field name="SpeedMax" select="1"/> 613 <field name="UploadAsymmetry" select="1"/> 614 <field name="Price" select="1"/> 615 <field name="MemberCount" select="1"/> 616 <field name="ReplaceId" select="1"/> 617 <field name="Public" select="1"/> 586 <field name="name" select="1"/> 587 <field name="group" select="1"/> 588 <field name="speedmin" select="1"/> 589 <field name="speedmax" select="1"/> 590 <field name="uploadasymmetry" select="1"/> 591 <field name="price" select="1"/> 592 <field name="membercount" select="1"/> 593 <field name="replaceid" select="1"/> 594 <field name="public" select="1"/> 595 <field name="member_ids" select="1"/> 596 <field name="member_ids" select="1"/> 618 597 </form> 619 598 </field> … … 635 614 <field name="arch" type="xml"> 636 615 <tree string="FinanceYear"> 637 <field name="Id" select="1"/> 638 <field name="Year" select="1"/> 639 <field name="DateStart" select="1"/> 640 <field name="DateEnd" select="1"/> 616 <field name="year" select="1"/> 617 <field name="datestart" select="1"/> 618 <field name="dateend" select="1"/> 641 619 </tree> 642 620 </field> … … 649 627 <field name="arch" type="xml"> 650 628 <form string="FinanceYear"> 651 <field name=" Id" select="1"/>652 <field name=" Year" select="1"/>653 <field name=" DateStart" select="1"/>654 <field name=" DateEnd" select="1"/>629 <field name="year" select="1"/> 630 <field name="datestart" select="1"/> 631 <field name="dateend" select="1"/> 632 <field name="documentlinesequence_ids" select="1"/> 655 633 </form> 656 634 </field> … … 672 650 <field name="arch" type="xml"> 673 651 <tree string="HostedProject"> 674 <field name="Id" select="1"/> 675 <field name="Name" select="1"/> 676 <field name="Homepage" select="1"/> 677 <field name="User" select="1"/> 678 <field name="TimeCreate" select="1"/> 679 <field name="Server" select="1"/> 680 <field name="Active" select="1"/> 681 <field name="WebHosting" select="1"/> 652 <field name="name" select="1"/> 653 <field name="homepage" select="1"/> 654 <field name="user" select="1"/> 655 <field name="timecreate" select="1"/> 656 <field name="server" select="1"/> 657 <field name="active" select="1"/> 658 <field name="webhosting" select="1"/> 682 659 </tree> 683 660 </field> … … 690 667 <field name="arch" type="xml"> 691 668 <form string="HostedProject"> 692 <field name="Id" select="1"/> 693 <field name="Name" select="1"/> 694 <field name="Homepage" select="1"/> 695 <field name="User" select="1"/> 696 <field name="TimeCreate" select="1"/> 697 <field name="Server" select="1"/> 698 <field name="Active" select="1"/> 699 <field name="WebHosting" select="1"/> 669 <field name="name" select="1"/> 670 <field name="homepage" select="1"/> 671 <field name="user" select="1"/> 672 <field name="timecreate" select="1"/> 673 <field name="server" select="1"/> 674 <field name="active" select="1"/> 675 <field name="webhosting" select="1"/> 700 676 </form> 701 677 </field> … … 717 693 <field name="arch" type="xml"> 718 694 <tree string="Hyperlink"> 719 <field name="Id" select="1"/> 720 <field name="Name" select="1"/> 721 <field name="URL" select="1"/> 722 <field name="Group" select="1"/> 723 <field name="IconFile" select="1"/> 724 <field name="PermissionModule" select="1"/> 725 <field name="PermissionOperation" select="1"/> 726 <field name="Enable" select="1"/> 695 <field name="name" select="1"/> 696 <field name="url" select="1"/> 697 <field name="group" select="1"/> 698 <field name="iconfile" select="1"/> 699 <field name="permissionmodule" select="1"/> 700 <field name="permissionoperation" select="1"/> 701 <field name="enable" select="1"/> 727 702 </tree> 728 703 </field> … … 735 710 <field name="arch" type="xml"> 736 711 <form string="Hyperlink"> 737 <field name="Id" select="1"/> 738 <field name="Name" select="1"/> 739 <field name="URL" select="1"/> 740 <field name="Group" select="1"/> 741 <field name="IconFile" select="1"/> 742 <field name="PermissionModule" select="1"/> 743 <field name="PermissionOperation" select="1"/> 744 <field name="Enable" select="1"/> 712 <field name="name" select="1"/> 713 <field name="url" select="1"/> 714 <field name="group" select="1"/> 715 <field name="iconfile" select="1"/> 716 <field name="permissionmodule" select="1"/> 717 <field name="permissionoperation" select="1"/> 718 <field name="enable" select="1"/> 745 719 </form> 746 720 </field> … … 762 736 <field name="arch" type="xml"> 763 737 <tree string="HyperlinkGroup"> 764 <field name="Id" select="1"/> 765 <field name="Name" select="1"/> 738 <field name="name" select="1"/> 766 739 </tree> 767 740 </field> … … 774 747 <field name="arch" type="xml"> 775 748 <form string="HyperlinkGroup"> 776 <field name=" Id" select="1"/>777 <field name=" Name" select="1"/>749 <field name="name" select="1"/> 750 <field name="hyperlink_ids" select="1"/> 778 751 </form> 779 752 </field> … … 795 768 <field name="arch" type="xml"> 796 769 <tree string="Log"> 797 <field name=" Time" select="1"/>798 <field name=" User" select="1"/>799 <field name=" Module" select="1"/>800 <field name=" Operation" select="1"/>801 <field name=" Value" select="1"/>770 <field name="time" select="1"/> 771 <field name="user" select="1"/> 772 <field name="module" select="1"/> 773 <field name="operation" select="1"/> 774 <field name="value" select="1"/> 802 775 </tree> 803 776 </field> … … 810 783 <field name="arch" type="xml"> 811 784 <form string="Log"> 812 <field name=" Time" select="1"/>813 <field name=" User" select="1"/>814 <field name=" Module" select="1"/>815 <field name=" Operation" select="1"/>816 <field name=" Value" select="1"/>785 <field name="time" select="1"/> 786 <field name="user" select="1"/> 787 <field name="module" select="1"/> 788 <field name="operation" select="1"/> 789 <field name="value" select="1"/> 817 790 </form> 818 791 </field> … … 834 807 <field name="arch" type="xml"> 835 808 <tree string="Meals"> 836 <field name=" Date" select="1"/>837 <field name=" Soup" select="1"/>838 <field name=" Meal" select="1"/>839 <field name=" Status" select="1"/>809 <field name="date" select="1"/> 810 <field name="soup" select="1"/> 811 <field name="meal" select="1"/> 812 <field name="status" select="1"/> 840 813 </tree> 841 814 </field> … … 848 821 <field name="arch" type="xml"> 849 822 <form string="Meals"> 850 <field name=" Date" select="1"/>851 <field name=" Soup" select="1"/>852 <field name=" Meal" select="1"/>853 <field name=" Status" select="1"/>823 <field name="date" select="1"/> 824 <field name="soup" select="1"/> 825 <field name="meal" select="1"/> 826 <field name="status" select="1"/> 854 827 </form> 855 828 </field> … … 871 844 <field name="arch" type="xml"> 872 845 <tree string="MealsInfo"> 873 <field name=" Info" select="1"/>874 <field name=" Price" select="1"/>846 <field name="info" select="1"/> 847 <field name="price" select="1"/> 875 848 </tree> 876 849 </field> … … 883 856 <field name="arch" type="xml"> 884 857 <form string="MealsInfo"> 885 <field name=" Info" select="1"/>886 <field name=" Price" select="1"/>858 <field name="info" select="1"/> 859 <field name="price" select="1"/> 887 860 </form> 888 861 </field> … … 904 877 <field name="arch" type="xml"> 905 878 <tree string="Member"> 906 <field name="Id" select="1"/> 907 <field name="Name" select="1"/> 908 <field name="Subject" select="1"/> 909 <field name="ResponsibleUser" select="1"/> 910 <field name="FamilyMemberCount" select="1"/> 911 <field name="MembershipDate" select="1"/> 912 <field name="MemberState" select="1"/> 913 <field name="InternetTariffCurrentMonth" select="1"/> 914 <field name="InternetTariffNextMonth" select="1"/> 915 <field name="GPS" select="1"/> 916 <field name="BillingPeriod" select="1"/> 917 <field name="NetworkSegment" select="1"/> 918 <field name="BillingPeriodNext" select="1"/> 919 <field name="BillingPeriodLastDate" select="1"/> 920 <field name="Hire" select="1"/> 921 <field name="Blocked" select="1"/> 879 <field name="name" select="1"/> 880 <field name="subject" select="1"/> 881 <field name="responsibleuser" select="1"/> 882 <field name="familymembercount" select="1"/> 883 <field name="membershipdate" select="1"/> 884 <field name="memberstate" select="1"/> 885 <field name="internettariffcurrentmonth" select="1"/> 886 <field name="internettariffnextmonth" select="1"/> 887 <field name="gps" select="1"/> 888 <field name="billingperiod" select="1"/> 889 <field name="networksegment" select="1"/> 890 <field name="billingperiodnext" select="1"/> 891 <field name="billingperiodlastdate" select="1"/> 892 <field name="hire" select="1"/> 893 <field name="blocked" select="1"/> 922 894 </tree> 923 895 </field> … … 930 902 <field name="arch" type="xml"> 931 903 <form string="Member"> 932 <field name="Id" select="1"/> 933 <field name="Name" select="1"/> 934 <field name="Subject" select="1"/> 935 <field name="ResponsibleUser" select="1"/> 936 <field name="FamilyMemberCount" select="1"/> 937 <field name="MembershipDate" select="1"/> 938 <field name="MemberState" select="1"/> 939 <field name="InternetTariffCurrentMonth" select="1"/> 940 <field name="InternetTariffNextMonth" select="1"/> 941 <field name="GPS" select="1"/> 942 <field name="BillingPeriod" select="1"/> 943 <field name="NetworkSegment" select="1"/> 944 <field name="BillingPeriodNext" select="1"/> 945 <field name="BillingPeriodLastDate" select="1"/> 946 <field name="Hire" select="1"/> 947 <field name="Blocked" select="1"/> 904 <field name="name" select="1"/> 905 <field name="subject" select="1"/> 906 <field name="responsibleuser" select="1"/> 907 <field name="familymembercount" select="1"/> 908 <field name="membershipdate" select="1"/> 909 <field name="memberstate" select="1"/> 910 <field name="internettariffcurrentmonth" select="1"/> 911 <field name="internettariffnextmonth" select="1"/> 912 <field name="gps" select="1"/> 913 <field name="billingperiod" select="1"/> 914 <field name="networksegment" select="1"/> 915 <field name="billingperiodnext" select="1"/> 916 <field name="billingperiodlastdate" select="1"/> 917 <field name="hire" select="1"/> 918 <field name="blocked" select="1"/> 919 <field name="memberpayment_ids" select="1"/> 920 <field name="networkdevice_ids" select="1"/> 921 <field name="networkdevice_ids" select="1"/> 922 <field name="networksubnet_ids" select="1"/> 923 <field name="user_ids" select="1"/> 948 924 </form> 949 925 </field> … … 965 941 <field name="arch" type="xml"> 966 942 <tree string="MemberPayment"> 967 <field name="Id" select="1"/> 968 <field name="Member" select="1"/> 969 <field name="MonthlyTotal" select="1"/> 970 <field name="MonthlyInternet" select="1"/> 971 <field name="MonthlyConsumption" select="1"/> 972 <field name="NetworkDevice" select="1"/> 973 <field name="MonthlyPlus" select="1"/> 974 <field name="Cash" select="1"/> 943 <field name="member" select="1"/> 944 <field name="monthlytotal" select="1"/> 945 <field name="monthlyinternet" select="1"/> 946 <field name="monthlyconsumption" select="1"/> 947 <field name="networkdevice" select="1"/> 948 <field name="monthlyplus" select="1"/> 949 <field name="cash" select="1"/> 975 950 </tree> 976 951 </field> … … 983 958 <field name="arch" type="xml"> 984 959 <form string="MemberPayment"> 985 <field name="Id" select="1"/> 986 <field name="Member" select="1"/> 987 <field name="MonthlyTotal" select="1"/> 988 <field name="MonthlyInternet" select="1"/> 989 <field name="MonthlyConsumption" select="1"/> 990 <field name="NetworkDevice" select="1"/> 991 <field name="MonthlyPlus" select="1"/> 992 <field name="Cash" select="1"/> 960 <field name="member" select="1"/> 961 <field name="monthlytotal" select="1"/> 962 <field name="monthlyinternet" select="1"/> 963 <field name="monthlyconsumption" select="1"/> 964 <field name="networkdevice" select="1"/> 965 <field name="monthlyplus" select="1"/> 966 <field name="cash" select="1"/> 993 967 </form> 994 968 </field> … … 1010 984 <field name="arch" type="xml"> 1011 985 <tree string="NetworkAP"> 1012 <field name="Id" select="1"/> 1013 <field name="SSID" select="1"/> 1014 <field name="Frequency" select="1"/> 1015 <field name="ChannelWidth" select="1"/> 1016 <field name="NetworkDevice" select="1"/> 986 <field name="ssid" select="1"/> 987 <field name="frequency" select="1"/> 988 <field name="channelwidth" select="1"/> 989 <field name="networkdevice" select="1"/> 1017 990 </tree> 1018 991 </field> … … 1025 998 <field name="arch" type="xml"> 1026 999 <form string="NetworkAP"> 1027 <field name="Id" select="1"/> 1028 <field name="SSID" select="1"/> 1029 <field name="Frequency" select="1"/> 1030 <field name="ChannelWidth" select="1"/> 1031 <field name="NetworkDevice" select="1"/> 1000 <field name="ssid" select="1"/> 1001 <field name="frequency" select="1"/> 1002 <field name="channelwidth" select="1"/> 1003 <field name="networkdevice" select="1"/> 1032 1004 </form> 1033 1005 </field> … … 1049 1021 <field name="arch" type="xml"> 1050 1022 <tree string="NetworkConfiguration"> 1051 <field name="Id" select="1"/> 1052 <field name="Caption" select="1"/> 1053 <field name="Execute" select="1"/> 1054 <field name="Changed" select="1"/> 1055 <field name="LastTime" select="1"/> 1056 <field name="ExecutionTime" select="1"/> 1057 <field name="Enabled" select="1"/> 1058 <field name="Period" select="1"/> 1059 <field name="Log" select="1"/> 1023 <field name="caption" select="1"/> 1024 <field name="execute" select="1"/> 1025 <field name="changed" select="1"/> 1026 <field name="lasttime" select="1"/> 1027 <field name="executiontime" select="1"/> 1028 <field name="enabled" select="1"/> 1029 <field name="period" select="1"/> 1030 <field name="log" select="1"/> 1060 1031 </tree> 1061 1032 </field> … … 1068 1039 <field name="arch" type="xml"> 1069 1040 <form string="NetworkConfiguration"> 1070 <field name="Id" select="1"/> 1071 <field name="Caption" select="1"/> 1072 <field name="Execute" select="1"/> 1073 <field name="Changed" select="1"/> 1074 <field name="LastTime" select="1"/> 1075 <field name="ExecutionTime" select="1"/> 1076 <field name="Enabled" select="1"/> 1077 <field name="Period" select="1"/> 1078 <field name="Log" select="1"/> 1041 <field name="caption" select="1"/> 1042 <field name="execute" select="1"/> 1043 <field name="changed" select="1"/> 1044 <field name="lasttime" select="1"/> 1045 <field name="executiontime" select="1"/> 1046 <field name="enabled" select="1"/> 1047 <field name="period" select="1"/> 1048 <field name="log" select="1"/> 1079 1049 </form> 1080 1050 </field> … … 1096 1066 <field name="arch" type="xml"> 1097 1067 <tree string="NetworkDevice"> 1098 <field name="Id" select="1"/> 1099 <field name="Name" select="1"/> 1100 <field name="Member" select="1"/> 1101 <field name="Location" select="1"/> 1102 <field name="Type" select="1"/> 1103 <field name="PositionLatitude" select="1"/> 1104 <field name="PositionLongitude" select="1"/> 1105 <field name="Used" select="1"/> 1106 <field name="Online" select="1"/> 1107 <field name="LastOnline" select="1"/> 1108 <field name="PermanentOnline" select="1"/> 1109 <field name="InboundNATPriority" select="1"/> 1068 <field name="name" select="1"/> 1069 <field name="member" select="1"/> 1070 <field name="location" select="1"/> 1071 <field name="type" select="1"/> 1072 <field name="positionlatitude" select="1"/> 1073 <field name="positionlongitude" select="1"/> 1074 <field name="used" select="1"/> 1075 <field name="online" select="1"/> 1076 <field name="lastonline" select="1"/> 1077 <field name="permanentonline" select="1"/> 1078 <field name="inboundnatpriority" select="1"/> 1110 1079 </tree> 1111 1080 </field> … … 1118 1087 <field name="arch" type="xml"> 1119 1088 <form string="NetworkDevice"> 1120 <field name="Id" select="1"/> 1121 <field name="Name" select="1"/> 1122 <field name="Member" select="1"/> 1123 <field name="Location" select="1"/> 1124 <field name="Type" select="1"/> 1125 <field name="PositionLatitude" select="1"/> 1126 <field name="PositionLongitude" select="1"/> 1127 <field name="Used" select="1"/> 1128 <field name="Online" select="1"/> 1129 <field name="LastOnline" select="1"/> 1130 <field name="PermanentOnline" select="1"/> 1131 <field name="InboundNATPriority" select="1"/> 1089 <field name="name" select="1"/> 1090 <field name="member" select="1"/> 1091 <field name="location" select="1"/> 1092 <field name="type" select="1"/> 1093 <field name="positionlatitude" select="1"/> 1094 <field name="positionlongitude" select="1"/> 1095 <field name="used" select="1"/> 1096 <field name="online" select="1"/> 1097 <field name="lastonline" select="1"/> 1098 <field name="permanentonline" select="1"/> 1099 <field name="inboundnatpriority" select="1"/> 1100 <field name="networkap_ids" select="1"/> 1101 <field name="networkfirewall_ids" select="1"/> 1102 <field name="networkinterface_ids" select="1"/> 1132 1103 </form> 1133 1104 </field> … … 1149 1120 <field name="arch" type="xml"> 1150 1121 <tree string="NetworkDeviceHistory"> 1151 <field name="Id" select="1"/> 1152 <field name="Device" select="1"/> 1153 <field name="Time" select="1"/> 1154 <field name="Action" select="1"/> 1155 <field name="Notice" select="1"/> 1122 <field name="device" select="1"/> 1123 <field name="time" select="1"/> 1124 <field name="action" select="1"/> 1125 <field name="notice" select="1"/> 1156 1126 </tree> 1157 1127 </field> … … 1164 1134 <field name="arch" type="xml"> 1165 1135 <form string="NetworkDeviceHistory"> 1166 <field name="Id" select="1"/> 1167 <field name="Device" select="1"/> 1168 <field name="Time" select="1"/> 1169 <field name="Action" select="1"/> 1170 <field name="Notice" select="1"/> 1136 <field name="device" select="1"/> 1137 <field name="time" select="1"/> 1138 <field name="action" select="1"/> 1139 <field name="notice" select="1"/> 1171 1140 </form> 1172 1141 </field> … … 1188 1157 <field name="arch" type="xml"> 1189 1158 <tree string="NetworkDeviceType"> 1190 <field name="Id" select="1"/> 1191 <field name="Name" select="1"/> 1192 <field name="ShowOnline" select="1"/> 1193 <field name="IconName" select="1"/> 1159 <field name="name" select="1"/> 1160 <field name="showonline" select="1"/> 1161 <field name="iconname" select="1"/> 1194 1162 </tree> 1195 1163 </field> … … 1202 1170 <field name="arch" type="xml"> 1203 1171 <form string="NetworkDeviceType"> 1204 <field name=" Id" select="1"/>1205 <field name=" Name" select="1"/>1206 <field name=" ShowOnline" select="1"/>1207 <field name=" IconName" select="1"/>1172 <field name="name" select="1"/> 1173 <field name="showonline" select="1"/> 1174 <field name="iconname" select="1"/> 1175 <field name="networkdevice_ids" select="1"/> 1208 1176 </form> 1209 1177 </field> … … 1225 1193 <field name="arch" type="xml"> 1226 1194 <tree string="NetworkDomainAlias"> 1227 <field name="Id" select="1"/> 1228 <field name="Name" select="1"/> 1229 <field name="Target" select="1"/> 1230 <field name="Comment" select="1"/> 1195 <field name="name" select="1"/> 1196 <field name="target" select="1"/> 1197 <field name="comment" select="1"/> 1231 1198 </tree> 1232 1199 </field> … … 1239 1206 <field name="arch" type="xml"> 1240 1207 <form string="NetworkDomainAlias"> 1241 <field name="Id" select="1"/> 1242 <field name="Name" select="1"/> 1243 <field name="Target" select="1"/> 1244 <field name="Comment" select="1"/> 1208 <field name="name" select="1"/> 1209 <field name="target" select="1"/> 1210 <field name="comment" select="1"/> 1245 1211 </form> 1246 1212 </field> … … 1262 1228 <field name="arch" type="xml"> 1263 1229 <tree string="NetworkFirewall"> 1264 <field name="Id" select="1"/> 1265 <field name="NetworkDevice" select="1"/> 1266 <field name="SourceInterface" select="1"/> 1267 <field name="DestinationInterface" select="1"/> 1268 <field name="SourceAddress" select="1"/> 1269 <field name="DestinationAddress" select="1"/> 1270 <field name="SourcePort" select="1"/> 1271 <field name="DestinationPort" select="1"/> 1272 <field name="Action" select="1"/> 1273 <field name="Comment" select="1"/> 1230 <field name="networkdevice" select="1"/> 1231 <field name="sourceinterface" select="1"/> 1232 <field name="destinationinterface" select="1"/> 1233 <field name="sourceaddress" select="1"/> 1234 <field name="destinationaddress" select="1"/> 1235 <field name="sourceport" select="1"/> 1236 <field name="destinationport" select="1"/> 1237 <field name="action" select="1"/> 1238 <field name="comment" select="1"/> 1274 1239 </tree> 1275 1240 </field> … … 1282 1247 <field name="arch" type="xml"> 1283 1248 <form string="NetworkFirewall"> 1284 <field name="Id" select="1"/> 1285 <field name="NetworkDevice" select="1"/> 1286 <field name="SourceInterface" select="1"/> 1287 <field name="DestinationInterface" select="1"/> 1288 <field name="SourceAddress" select="1"/> 1289 <field name="DestinationAddress" select="1"/> 1290 <field name="SourcePort" select="1"/> 1291 <field name="DestinationPort" select="1"/> 1292 <field name="Action" select="1"/> 1293 <field name="Comment" select="1"/> 1249 <field name="networkdevice" select="1"/> 1250 <field name="sourceinterface" select="1"/> 1251 <field name="destinationinterface" select="1"/> 1252 <field name="sourceaddress" select="1"/> 1253 <field name="destinationaddress" select="1"/> 1254 <field name="sourceport" select="1"/> 1255 <field name="destinationport" select="1"/> 1256 <field name="action" select="1"/> 1257 <field name="comment" select="1"/> 1294 1258 </form> 1295 1259 </field> … … 1311 1275 <field name="arch" type="xml"> 1312 1276 <tree string="NetworkInterface"> 1313 <field name="Id" select="1"/> 1314 <field name="Name" select="1"/> 1315 <field name="Type" select="1"/> 1316 <field name="MAC" select="1"/> 1317 <field name="LocalIP" select="1"/> 1318 <field name="IPv6" select="1"/> 1319 <field name="ExternalIP" select="1"/> 1320 <field name="Device" select="1"/> 1321 <field name="Online" select="1"/> 1322 <field name="LastOnline" select="1"/> 1277 <field name="name" select="1"/> 1278 <field name="type" select="1"/> 1279 <field name="mac" select="1"/> 1280 <field name="localip" select="1"/> 1281 <field name="ipv6" select="1"/> 1282 <field name="externalip" select="1"/> 1283 <field name="device" select="1"/> 1284 <field name="online" select="1"/> 1285 <field name="lastonline" select="1"/> 1323 1286 </tree> 1324 1287 </field> … … 1331 1294 <field name="arch" type="xml"> 1332 1295 <form string="NetworkInterface"> 1333 <field name="Id" select="1"/> 1334 <field name="Name" select="1"/> 1335 <field name="Type" select="1"/> 1336 <field name="MAC" select="1"/> 1337 <field name="LocalIP" select="1"/> 1338 <field name="IPv6" select="1"/> 1339 <field name="ExternalIP" select="1"/> 1340 <field name="Device" select="1"/> 1341 <field name="Online" select="1"/> 1342 <field name="LastOnline" select="1"/> 1296 <field name="name" select="1"/> 1297 <field name="type" select="1"/> 1298 <field name="mac" select="1"/> 1299 <field name="localip" select="1"/> 1300 <field name="ipv6" select="1"/> 1301 <field name="externalip" select="1"/> 1302 <field name="device" select="1"/> 1303 <field name="online" select="1"/> 1304 <field name="lastonline" select="1"/> 1343 1305 </form> 1344 1306 </field> … … 1360 1322 <field name="arch" type="xml"> 1361 1323 <tree string="NetworkInterfacePortable"> 1362 <field name="Id" select="1"/> 1363 <field name="NetworkInterface" select="1"/> 1364 <field name="DynamicIP" select="1"/> 1365 <field name="Time" select="1"/> 1366 <field name="Update" select="1"/> 1324 <field name="networkinterface" select="1"/> 1325 <field name="dynamicip" select="1"/> 1326 <field name="time" select="1"/> 1327 <field name="update" select="1"/> 1367 1328 </tree> 1368 1329 </field> … … 1375 1336 <field name="arch" type="xml"> 1376 1337 <form string="NetworkInterfacePortable"> 1377 <field name="Id" select="1"/> 1378 <field name="NetworkInterface" select="1"/> 1379 <field name="DynamicIP" select="1"/> 1380 <field name="Time" select="1"/> 1381 <field name="Update" select="1"/> 1338 <field name="networkinterface" select="1"/> 1339 <field name="dynamicip" select="1"/> 1340 <field name="time" select="1"/> 1341 <field name="update" select="1"/> 1382 1342 </form> 1383 1343 </field> … … 1399 1359 <field name="arch" type="xml"> 1400 1360 <tree string="NetworkInterfaceStat"> 1401 <field name=" NetworkInterface" select="1"/>1402 <field name=" Time" select="1"/>1403 <field name=" PingCount" select="1"/>1361 <field name="networkinterface" select="1"/> 1362 <field name="time" select="1"/> 1363 <field name="pingcount" select="1"/> 1404 1364 </tree> 1405 1365 </field> … … 1412 1372 <field name="arch" type="xml"> 1413 1373 <form string="NetworkInterfaceStat"> 1414 <field name=" NetworkInterface" select="1"/>1415 <field name=" Time" select="1"/>1416 <field name=" PingCount" select="1"/>1374 <field name="networkinterface" select="1"/> 1375 <field name="time" select="1"/> 1376 <field name="pingcount" select="1"/> 1417 1377 </form> 1418 1378 </field> … … 1434 1394 <field name="arch" type="xml"> 1435 1395 <tree string="NetworkInterfaceType"> 1436 <field name="Id" select="1"/> 1437 <field name="Name" select="1"/> 1438 <field name="MaxSpeed" select="1"/> 1439 <field name="FullDuplex" select="1"/> 1440 <field name="Color" select="1"/> 1396 <field name="name" select="1"/> 1397 <field name="maxspeed" select="1"/> 1398 <field name="fullduplex" select="1"/> 1399 <field name="color" select="1"/> 1441 1400 </tree> 1442 1401 </field> … … 1449 1408 <field name="arch" type="xml"> 1450 1409 <form string="NetworkInterfaceType"> 1451 <field name=" Id" select="1"/>1452 <field name=" Name" select="1"/>1453 <field name=" MaxSpeed" select="1"/>1454 <field name=" FullDuplex" select="1"/>1455 <field name=" Color" select="1"/>1410 <field name="name" select="1"/> 1411 <field name="maxspeed" select="1"/> 1412 <field name="fullduplex" select="1"/> 1413 <field name="color" select="1"/> 1414 <field name="networkinterface_ids" select="1"/> 1456 1415 </form> 1457 1416 </field> … … 1473 1432 <field name="arch" type="xml"> 1474 1433 <tree string="NetworkLink"> 1475 <field name="Id" select="1"/> 1476 <field name="Type" select="1"/> 1477 <field name="Interface1" select="1"/> 1478 <field name="Interface2" select="1"/> 1434 <field name="type" select="1"/> 1435 <field name="interface1" select="1"/> 1436 <field name="interface2" select="1"/> 1479 1437 </tree> 1480 1438 </field> … … 1487 1445 <field name="arch" type="xml"> 1488 1446 <form string="NetworkLink"> 1489 <field name="Id" select="1"/> 1490 <field name="Type" select="1"/> 1491 <field name="Interface1" select="1"/> 1492 <field name="Interface2" select="1"/> 1447 <field name="type" select="1"/> 1448 <field name="interface1" select="1"/> 1449 <field name="interface2" select="1"/> 1493 1450 </form> 1494 1451 </field> … … 1510 1467 <field name="arch" type="xml"> 1511 1468 <tree string="NetworkMangleSubgroup"> 1512 <field name="Id" select="1"/> 1513 <field name="AddressRange" select="1"/> 1469 <field name="addressrange" select="1"/> 1514 1470 </tree> 1515 1471 </field> … … 1522 1478 <field name="arch" type="xml"> 1523 1479 <form string="NetworkMangleSubgroup"> 1524 <field name="Id" select="1"/> 1525 <field name="AddressRange" select="1"/> 1480 <field name="addressrange" select="1"/> 1526 1481 </form> 1527 1482 </field> … … 1543 1498 <field name="arch" type="xml"> 1544 1499 <tree string="NetworkMark"> 1545 <field name="Id" select="1"/> 1546 <field name="Comment" select="1"/> 1500 <field name="comment" select="1"/> 1547 1501 </tree> 1548 1502 </field> … … 1555 1509 <field name="arch" type="xml"> 1556 1510 <form string="NetworkMark"> 1557 <field name="Id" select="1"/> 1558 <field name="Comment" select="1"/> 1511 <field name="comment" select="1"/> 1559 1512 </form> 1560 1513 </field> … … 1576 1529 <field name="arch" type="xml"> 1577 1530 <tree string="NetworkSubnet"> 1578 <field name="Id" select="1"/> 1579 <field name="Name" select="1"/> 1580 <field name="AddressRange" select="1"/> 1581 <field name="Mask" select="1"/> 1582 <field name="DHCP" select="1"/> 1583 <field name="Gateway" select="1"/> 1584 <field name="WINS" select="1"/> 1585 <field name="DNS" select="1"/> 1586 <field name="Domain" select="1"/> 1587 <field name="NTP" select="1"/> 1588 <field name="Member" select="1"/> 1589 <field name="ExtAddressRange" select="1"/> 1590 <field name="ExtMask" select="1"/> 1591 <field name="AddressRangeIPv6" select="1"/> 1592 <field name="Configure" select="1"/> 1531 <field name="name" select="1"/> 1532 <field name="addressrange" select="1"/> 1533 <field name="mask" select="1"/> 1534 <field name="dhcp" select="1"/> 1535 <field name="gateway" select="1"/> 1536 <field name="wins" select="1"/> 1537 <field name="dns" select="1"/> 1538 <field name="domain" select="1"/> 1539 <field name="ntp" select="1"/> 1540 <field name="member" select="1"/> 1541 <field name="extaddressrange" select="1"/> 1542 <field name="extmask" select="1"/> 1543 <field name="addressrangeipv6" select="1"/> 1544 <field name="configure" select="1"/> 1593 1545 </tree> 1594 1546 </field> … … 1601 1553 <field name="arch" type="xml"> 1602 1554 <form string="NetworkSubnet"> 1603 <field name="Id" select="1"/> 1604 <field name="Name" select="1"/> 1605 <field name="AddressRange" select="1"/> 1606 <field name="Mask" select="1"/> 1607 <field name="DHCP" select="1"/> 1608 <field name="Gateway" select="1"/> 1609 <field name="WINS" select="1"/> 1610 <field name="DNS" select="1"/> 1611 <field name="Domain" select="1"/> 1612 <field name="NTP" select="1"/> 1613 <field name="Member" select="1"/> 1614 <field name="ExtAddressRange" select="1"/> 1615 <field name="ExtMask" select="1"/> 1616 <field name="AddressRangeIPv6" select="1"/> 1617 <field name="Configure" select="1"/> 1555 <field name="name" select="1"/> 1556 <field name="addressrange" select="1"/> 1557 <field name="mask" select="1"/> 1558 <field name="dhcp" select="1"/> 1559 <field name="gateway" select="1"/> 1560 <field name="wins" select="1"/> 1561 <field name="dns" select="1"/> 1562 <field name="domain" select="1"/> 1563 <field name="ntp" select="1"/> 1564 <field name="member" select="1"/> 1565 <field name="extaddressrange" select="1"/> 1566 <field name="extmask" select="1"/> 1567 <field name="addressrangeipv6" select="1"/> 1568 <field name="configure" select="1"/> 1618 1569 </form> 1619 1570 </field> … … 1635 1586 <field name="arch" type="xml"> 1636 1587 <tree string="News"> 1637 <field name="Id" select="1"/> 1638 <field name="Title" select="1"/> 1639 <field name="Content" select="1"/> 1640 <field name="Date" select="1"/> 1641 <field name="TargetDate" select="1"/> 1642 <field name="Author" select="1"/> 1643 <field name="IP" select="1"/> 1644 <field name="Category" select="1"/> 1645 <field name="Enclosure" select="1"/> 1646 <field name="User" select="1"/> 1647 <field name="Link" select="1"/> 1588 <field name="title" select="1"/> 1589 <field name="content" select="1"/> 1590 <field name="date" select="1"/> 1591 <field name="targetdate" select="1"/> 1592 <field name="author" select="1"/> 1593 <field name="ip" select="1"/> 1594 <field name="category" select="1"/> 1595 <field name="enclosure" select="1"/> 1596 <field name="user" select="1"/> 1597 <field name="link" select="1"/> 1648 1598 </tree> 1649 1599 </field> … … 1656 1606 <field name="arch" type="xml"> 1657 1607 <form string="News"> 1658 <field name="Id" select="1"/> 1659 <field name="Title" select="1"/> 1660 <field name="Content" select="1"/> 1661 <field name="Date" select="1"/> 1662 <field name="TargetDate" select="1"/> 1663 <field name="Author" select="1"/> 1664 <field name="IP" select="1"/> 1665 <field name="Category" select="1"/> 1666 <field name="Enclosure" select="1"/> 1667 <field name="User" select="1"/> 1668 <field name="Link" select="1"/> 1608 <field name="title" select="1"/> 1609 <field name="content" select="1"/> 1610 <field name="date" select="1"/> 1611 <field name="targetdate" select="1"/> 1612 <field name="author" select="1"/> 1613 <field name="ip" select="1"/> 1614 <field name="category" select="1"/> 1615 <field name="enclosure" select="1"/> 1616 <field name="user" select="1"/> 1617 <field name="link" select="1"/> 1669 1618 </form> 1670 1619 </field> … … 1686 1635 <field name="arch" type="xml"> 1687 1636 <tree string="NewsCategory"> 1688 <field name="Id" select="1"/> 1689 <field name="Caption" select="1"/> 1690 <field name="Permission" select="1"/> 1691 <field name="Sequence" select="1"/> 1692 <field name="Group" select="1"/> 1693 <field name="RSS" select="1"/> 1637 <field name="caption" select="1"/> 1638 <field name="permission" select="1"/> 1639 <field name="sequence" select="1"/> 1640 <field name="group" select="1"/> 1641 <field name="rss" select="1"/> 1694 1642 </tree> 1695 1643 </field> … … 1702 1650 <field name="arch" type="xml"> 1703 1651 <form string="NewsCategory"> 1704 <field name=" Id" select="1"/>1705 <field name=" Caption" select="1"/>1706 <field name=" Permission" select="1"/>1707 <field name=" Sequence" select="1"/>1708 <field name=" Group" select="1"/>1709 <field name=" RSS" select="1"/>1652 <field name="caption" select="1"/> 1653 <field name="permission" select="1"/> 1654 <field name="sequence" select="1"/> 1655 <field name="group" select="1"/> 1656 <field name="rss" select="1"/> 1657 <field name="news_ids" select="1"/> 1710 1658 </form> 1711 1659 </field> … … 1727 1675 <field name="arch" type="xml"> 1728 1676 <tree string="Panel"> 1729 <field name="Id" select="1"/> 1730 <field name="Module" select="1"/> 1731 <field name="Parameters" select="1"/> 1732 <field name="Order" select="1"/> 1733 <field name="PanelColumn" select="1"/> 1677 <field name="module" select="1"/> 1678 <field name="parameters" select="1"/> 1679 <field name="order" select="1"/> 1680 <field name="panelcolumn" select="1"/> 1734 1681 </tree> 1735 1682 </field> … … 1742 1689 <field name="arch" type="xml"> 1743 1690 <form string="Panel"> 1744 <field name="Id" select="1"/> 1745 <field name="Module" select="1"/> 1746 <field name="Parameters" select="1"/> 1747 <field name="Order" select="1"/> 1748 <field name="PanelColumn" select="1"/> 1691 <field name="module" select="1"/> 1692 <field name="parameters" select="1"/> 1693 <field name="order" select="1"/> 1694 <field name="panelcolumn" select="1"/> 1749 1695 </form> 1750 1696 </field> … … 1766 1712 <field name="arch" type="xml"> 1767 1713 <tree string="PanelColumn"> 1768 <field name="Id" select="1"/> 1769 <field name="Width" select="1"/> 1714 <field name="width" select="1"/> 1770 1715 </tree> 1771 1716 </field> … … 1778 1723 <field name="arch" type="xml"> 1779 1724 <form string="PanelColumn"> 1780 <field name=" Id" select="1"/>1781 <field name=" Width" select="1"/>1725 <field name="width" select="1"/> 1726 <field name="panel_ids" select="1"/> 1782 1727 </form> 1783 1728 </field> … … 1799 1744 <field name="arch" type="xml"> 1800 1745 <tree string="PermissionGroup"> 1801 <field name="Id" select="1"/> 1802 <field name="Description" select="1"/> 1746 <field name="description" select="1"/> 1803 1747 </tree> 1804 1748 </field> … … 1811 1755 <field name="arch" type="xml"> 1812 1756 <form string="PermissionGroup"> 1813 <field name="Id" select="1"/> 1814 <field name="Description" select="1"/> 1757 <field name="description" select="1"/> 1815 1758 </form> 1816 1759 </field> … … 1832 1775 <field name="arch" type="xml"> 1833 1776 <tree string="PermissionGroupAssignment"> 1834 <field name=" Group" select="1"/>1835 <field name=" GroupOrOperation" select="1"/>1836 <field name=" Type" select="1"/>1777 <field name="group" select="1"/> 1778 <field name="grouporoperation" select="1"/> 1779 <field name="type" select="1"/> 1837 1780 </tree> 1838 1781 </field> … … 1845 1788 <field name="arch" type="xml"> 1846 1789 <form string="PermissionGroupAssignment"> 1847 <field name=" Group" select="1"/>1848 <field name=" GroupOrOperation" select="1"/>1849 <field name=" Type" select="1"/>1790 <field name="group" select="1"/> 1791 <field name="grouporoperation" select="1"/> 1792 <field name="type" select="1"/> 1850 1793 </form> 1851 1794 </field> … … 1867 1810 <field name="arch" type="xml"> 1868 1811 <tree string="PermissionOperation"> 1869 <field name="Id" select="1"/> 1870 <field name="Module" select="1"/> 1871 <field name="Operation" select="1"/> 1872 <field name="Item" select="1"/> 1873 <field name="ItemId" select="1"/> 1812 <field name="module" select="1"/> 1813 <field name="operation" select="1"/> 1814 <field name="item" select="1"/> 1815 <field name="itemid" select="1"/> 1874 1816 </tree> 1875 1817 </field> … … 1882 1824 <field name="arch" type="xml"> 1883 1825 <form string="PermissionOperation"> 1884 <field name="Id" select="1"/> 1885 <field name="Module" select="1"/> 1886 <field name="Operation" select="1"/> 1887 <field name="Item" select="1"/> 1888 <field name="ItemId" select="1"/> 1826 <field name="module" select="1"/> 1827 <field name="operation" select="1"/> 1828 <field name="item" select="1"/> 1829 <field name="itemid" select="1"/> 1889 1830 </form> 1890 1831 </field> … … 1906 1847 <field name="arch" type="xml"> 1907 1848 <tree string="PermissionUserAssignment"> 1908 <field name=" User" select="1"/>1909 <field name=" GroupOrOperation" select="1"/>1910 <field name=" Type" select="1"/>1849 <field name="user" select="1"/> 1850 <field name="grouporoperation" select="1"/> 1851 <field name="type" select="1"/> 1911 1852 </tree> 1912 1853 </field> … … 1919 1860 <field name="arch" type="xml"> 1920 1861 <form string="PermissionUserAssignment"> 1921 <field name=" User" select="1"/>1922 <field name=" GroupOrOperation" select="1"/>1923 <field name=" Type" select="1"/>1862 <field name="user" select="1"/> 1863 <field name="grouporoperation" select="1"/> 1864 <field name="type" select="1"/> 1924 1865 </form> 1925 1866 </field> … … 1941 1882 <field name="arch" type="xml"> 1942 1883 <tree string="PhoneBook"> 1943 <field name="Id" select="1"/> 1944 <field name="Number" select="1"/> 1945 <field name="Name" select="1"/> 1946 <field name="Address" select="1"/> 1947 <field name="LastUpdate" select="1"/> 1948 <field name="Operator" select="1"/> 1884 <field name="number" select="1"/> 1885 <field name="name" select="1"/> 1886 <field name="address" select="1"/> 1887 <field name="lastupdate" select="1"/> 1888 <field name="operator" select="1"/> 1949 1889 </tree> 1950 1890 </field> … … 1957 1897 <field name="arch" type="xml"> 1958 1898 <form string="PhoneBook"> 1959 <field name="Id" select="1"/> 1960 <field name="Number" select="1"/> 1961 <field name="Name" select="1"/> 1962 <field name="Address" select="1"/> 1963 <field name="LastUpdate" select="1"/> 1964 <field name="Operator" select="1"/> 1899 <field name="number" select="1"/> 1900 <field name="name" select="1"/> 1901 <field name="address" select="1"/> 1902 <field name="lastupdate" select="1"/> 1903 <field name="operator" select="1"/> 1965 1904 </form> 1966 1905 </field> … … 1982 1921 <field name="arch" type="xml"> 1983 1922 <tree string="Service"> 1984 <field name="Id" select="1"/> 1985 <field name="Name" select="1"/> 1923 <field name="name" select="1"/> 1986 1924 </tree> 1987 1925 </field> … … 1994 1932 <field name="arch" type="xml"> 1995 1933 <form string="Service"> 1996 <field name="Id" select="1"/> 1997 <field name="Name" select="1"/> 1934 <field name="name" select="1"/> 1998 1935 </form> 1999 1936 </field> … … 2015 1952 <field name="arch" type="xml"> 2016 1953 <tree string="StockCard"> 2017 <field name="Id" select="1"/> 2018 <field name="Name" select="1"/> 2019 <field name="SellPrice" select="1"/> 2020 <field name="Consumption" select="1"/> 1954 <field name="name" select="1"/> 1955 <field name="sellprice" select="1"/> 1956 <field name="consumption" select="1"/> 2021 1957 </tree> 2022 1958 </field> … … 2029 1965 <field name="arch" type="xml"> 2030 1966 <form string="StockCard"> 2031 <field name="Id" select="1"/> 2032 <field name="Name" select="1"/> 2033 <field name="SellPrice" select="1"/> 2034 <field name="Consumption" select="1"/> 1967 <field name="name" select="1"/> 1968 <field name="sellprice" select="1"/> 1969 <field name="consumption" select="1"/> 2035 1970 </form> 2036 1971 </field> … … 2052 1987 <field name="arch" type="xml"> 2053 1988 <tree string="Subject"> 2054 <field name="Id" select="1"/> 2055 <field name="Name" select="1"/> 2056 <field name="AddressStreet" select="1"/> 2057 <field name="AddressTown" select="1"/> 2058 <field name="AddressPSC" select="1"/> 2059 <field name="AddressCountry" select="1"/> 2060 <field name="IC" select="1"/> 2061 <field name="DIC" select="1"/> 2062 <field name="MapPositionX" select="1"/> 2063 <field name="MapPositionY" select="1"/> 2064 <field name="WWW" select="1"/> 2065 <field name="Note" select="1"/> 1989 <field name="name" select="1"/> 1990 <field name="addressstreet" select="1"/> 1991 <field name="addresstown" select="1"/> 1992 <field name="addresspsc" select="1"/> 1993 <field name="addresscountry" select="1"/> 1994 <field name="ic" select="1"/> 1995 <field name="dic" select="1"/> 1996 <field name="mappositionx" select="1"/> 1997 <field name="mappositiony" select="1"/> 1998 <field name="www" select="1"/> 1999 <field name="note" select="1"/> 2066 2000 </tree> 2067 2001 </field> … … 2074 2008 <field name="arch" type="xml"> 2075 2009 <form string="Subject"> 2076 <field name="Id" select="1"/> 2077 <field name="Name" select="1"/> 2078 <field name="AddressStreet" select="1"/> 2079 <field name="AddressTown" select="1"/> 2080 <field name="AddressPSC" select="1"/> 2081 <field name="AddressCountry" select="1"/> 2082 <field name="IC" select="1"/> 2083 <field name="DIC" select="1"/> 2084 <field name="MapPositionX" select="1"/> 2085 <field name="MapPositionY" select="1"/> 2086 <field name="WWW" select="1"/> 2087 <field name="Note" select="1"/> 2010 <field name="name" select="1"/> 2011 <field name="addressstreet" select="1"/> 2012 <field name="addresstown" select="1"/> 2013 <field name="addresspsc" select="1"/> 2014 <field name="addresscountry" select="1"/> 2015 <field name="ic" select="1"/> 2016 <field name="dic" select="1"/> 2017 <field name="mappositionx" select="1"/> 2018 <field name="mappositiony" select="1"/> 2019 <field name="www" select="1"/> 2020 <field name="note" select="1"/> 2021 <field name="financebills_ids" select="1"/> 2022 <field name="financeclaimsliabilities_ids" select="1"/> 2023 <field name="financeoperation_ids" select="1"/> 2024 <field name="member_ids" select="1"/> 2025 <field name="subjectopentime_ids" select="1"/> 2026 <field name="subjectopentimeday_ids" select="1"/> 2088 2027 </form> 2089 2028 </field> … … 2105 2044 <field name="arch" type="xml"> 2106 2045 <tree string="SubjectOpenTime"> 2107 <field name=" Subject" select="1"/>2108 <field name=" UpdateTime" select="1"/>2109 <field name=" Notice" select="1"/>2110 <field name=" Photo" select="1"/>2046 <field name="subject" select="1"/> 2047 <field name="updatetime" select="1"/> 2048 <field name="notice" select="1"/> 2049 <field name="photo" select="1"/> 2111 2050 </tree> 2112 2051 </field> … … 2119 2058 <field name="arch" type="xml"> 2120 2059 <form string="SubjectOpenTime"> 2121 <field name=" Subject" select="1"/>2122 <field name=" UpdateTime" select="1"/>2123 <field name=" Notice" select="1"/>2124 <field name=" Photo" select="1"/>2060 <field name="subject" select="1"/> 2061 <field name="updatetime" select="1"/> 2062 <field name="notice" select="1"/> 2063 <field name="photo" select="1"/> 2125 2064 </form> 2126 2065 </field> … … 2142 2081 <field name="arch" type="xml"> 2143 2082 <tree string="SubjectOpenTimeDay"> 2144 <field name=" Subject" select="1"/>2145 <field name=" Day" select="1"/>2146 <field name=" Open1" select="1"/>2147 <field name=" Close1" select="1"/>2148 <field name=" Open2" select="1"/>2149 <field name=" Close2" select="1"/>2083 <field name="subject" select="1"/> 2084 <field name="day" select="1"/> 2085 <field name="open1" select="1"/> 2086 <field name="close1" select="1"/> 2087 <field name="open2" select="1"/> 2088 <field name="close2" select="1"/> 2150 2089 </tree> 2151 2090 </field> … … 2158 2097 <field name="arch" type="xml"> 2159 2098 <form string="SubjectOpenTimeDay"> 2160 <field name=" Subject" select="1"/>2161 <field name=" Day" select="1"/>2162 <field name=" Open1" select="1"/>2163 <field name=" Close1" select="1"/>2164 <field name=" Open2" select="1"/>2165 <field name=" Close2" select="1"/>2099 <field name="subject" select="1"/> 2100 <field name="day" select="1"/> 2101 <field name="open1" select="1"/> 2102 <field name="close1" select="1"/> 2103 <field name="open2" select="1"/> 2104 <field name="close2" select="1"/> 2166 2105 </form> 2167 2106 </field> … … 2183 2122 <field name="arch" type="xml"> 2184 2123 <tree string="TV"> 2185 <field name="Id" select="1"/> 2186 <field name="Name" select="1"/> 2187 <field name="Frequency" select="1"/> 2188 <field name="Norm" select="1"/> 2189 <field name="Homepage" select="1"/> 2190 <field name="Language" select="1"/> 2191 <field name="ShortName" select="1"/> 2192 <field name="Stream" select="1"/> 2193 <field name="StreamWeb" select="1"/> 2194 <field name="SourceType" select="1"/> 2195 <field name="Category" select="1"/> 2124 <field name="name" select="1"/> 2125 <field name="frequency" select="1"/> 2126 <field name="norm" select="1"/> 2127 <field name="homepage" select="1"/> 2128 <field name="language" select="1"/> 2129 <field name="shortname" select="1"/> 2130 <field name="stream" select="1"/> 2131 <field name="streamweb" select="1"/> 2132 <field name="sourcetype" select="1"/> 2133 <field name="category" select="1"/> 2196 2134 </tree> 2197 2135 </field> … … 2204 2142 <field name="arch" type="xml"> 2205 2143 <form string="TV"> 2206 <field name="Id" select="1"/> 2207 <field name="Name" select="1"/> 2208 <field name="Frequency" select="1"/> 2209 <field name="Norm" select="1"/> 2210 <field name="Homepage" select="1"/> 2211 <field name="Language" select="1"/> 2212 <field name="ShortName" select="1"/> 2213 <field name="Stream" select="1"/> 2214 <field name="StreamWeb" select="1"/> 2215 <field name="SourceType" select="1"/> 2216 <field name="Category" select="1"/> 2144 <field name="name" select="1"/> 2145 <field name="frequency" select="1"/> 2146 <field name="norm" select="1"/> 2147 <field name="homepage" select="1"/> 2148 <field name="language" select="1"/> 2149 <field name="shortname" select="1"/> 2150 <field name="stream" select="1"/> 2151 <field name="streamweb" select="1"/> 2152 <field name="sourcetype" select="1"/> 2153 <field name="category" select="1"/> 2217 2154 </form> 2218 2155 </field> … … 2234 2171 <field name="arch" type="xml"> 2235 2172 <tree string="User"> 2236 <field name="Id" select="1"/> 2237 <field name="Login" select="1"/> 2238 <field name="Name" select="1"/> 2239 <field name="Password" select="1"/> 2240 <field name="Email" select="1"/> 2241 <field name="LastIpAddress" select="1"/> 2242 <field name="LastLoginTime" select="1"/> 2243 <field name="RegistrationTime" select="1"/> 2244 <field name="Member" select="1"/> 2245 <field name="Locked" select="1"/> 2246 <field name="ICQ" select="1"/> 2247 <field name="PhoneNumber" select="1"/> 2248 <field name="InitPassword" select="1"/> 2173 <field name="login" select="1"/> 2174 <field name="name" select="1"/> 2175 <field name="password" select="1"/> 2176 <field name="email" select="1"/> 2177 <field name="lastipaddress" select="1"/> 2178 <field name="lastlogintime" select="1"/> 2179 <field name="registrationtime" select="1"/> 2180 <field name="member" select="1"/> 2181 <field name="locked" select="1"/> 2182 <field name="icq" select="1"/> 2183 <field name="phonenumber" select="1"/> 2184 <field name="initpassword" select="1"/> 2249 2185 </tree> 2250 2186 </field> … … 2257 2193 <field name="arch" type="xml"> 2258 2194 <form string="User"> 2259 <field name="Id" select="1"/> 2260 <field name="Login" select="1"/> 2261 <field name="Name" select="1"/> 2262 <field name="Password" select="1"/> 2263 <field name="Email" select="1"/> 2264 <field name="LastIpAddress" select="1"/> 2265 <field name="LastLoginTime" select="1"/> 2266 <field name="RegistrationTime" select="1"/> 2267 <field name="Member" select="1"/> 2268 <field name="Locked" select="1"/> 2269 <field name="ICQ" select="1"/> 2270 <field name="PhoneNumber" select="1"/> 2271 <field name="InitPassword" select="1"/> 2195 <field name="login" select="1"/> 2196 <field name="name" select="1"/> 2197 <field name="password" select="1"/> 2198 <field name="email" select="1"/> 2199 <field name="lastipaddress" select="1"/> 2200 <field name="lastlogintime" select="1"/> 2201 <field name="registrationtime" select="1"/> 2202 <field name="member" select="1"/> 2203 <field name="locked" select="1"/> 2204 <field name="icq" select="1"/> 2205 <field name="phonenumber" select="1"/> 2206 <field name="initpassword" select="1"/> 2207 <field name="log_ids" select="1"/> 2208 <field name="member_ids" select="1"/> 2209 <field name="permissionuserassignment_ids" select="1"/> 2272 2210 </form> 2273 2211 </field> … … 2289 2227 <field name="arch" type="xml"> 2290 2228 <tree string="UserOnline"> 2291 <field name="Id" select="1"/> 2292 <field name="User" select="1"/> 2293 <field name="ActivityTime" select="1"/> 2294 <field name="LoginTime" select="1"/> 2295 <field name="SessionId" select="1"/> 2296 <field name="IpAddress" select="1"/> 2297 <field name="HostName" select="1"/> 2298 <field name="ScriptName" select="1"/> 2229 <field name="user" select="1"/> 2230 <field name="activitytime" select="1"/> 2231 <field name="logintime" select="1"/> 2232 <field name="sessionid" select="1"/> 2233 <field name="ipaddress" select="1"/> 2234 <field name="hostname" select="1"/> 2235 <field name="scriptname" select="1"/> 2299 2236 </tree> 2300 2237 </field> … … 2307 2244 <field name="arch" type="xml"> 2308 2245 <form string="UserOnline"> 2309 <field name="Id" select="1"/> 2310 <field name="User" select="1"/> 2311 <field name="ActivityTime" select="1"/> 2312 <field name="LoginTime" select="1"/> 2313 <field name="SessionId" select="1"/> 2314 <field name="IpAddress" select="1"/> 2315 <field name="HostName" select="1"/> 2316 <field name="ScriptName" select="1"/> 2246 <field name="user" select="1"/> 2247 <field name="activitytime" select="1"/> 2248 <field name="logintime" select="1"/> 2249 <field name="sessionid" select="1"/> 2250 <field name="ipaddress" select="1"/> 2251 <field name="hostname" select="1"/> 2252 <field name="scriptname" select="1"/> 2317 2253 </form> 2318 2254 </field> … … 2339 2275 <field name="internet_speed_reserve" select="1"/> 2340 2276 <field name="administration_per_user" select="1"/> 2341 <field name="k Wh" select="1"/>2277 <field name="kwh" select="1"/> 2342 2278 <field name="base_speed_element" select="1"/> 2343 <field name=" BaseTariffPrice" select="1"/>2344 <field name=" TopTariffPrice" select="1"/>2279 <field name="basetariffprice" select="1"/> 2280 <field name="toptariffprice" select="1"/> 2345 2281 </tree> 2346 2282 </field> … … 2358 2294 <field name="internet_speed_reserve" select="1"/> 2359 2295 <field name="administration_per_user" select="1"/> 2360 <field name="k Wh" select="1"/>2296 <field name="kwh" select="1"/> 2361 2297 <field name="base_speed_element" select="1"/> 2362 <field name=" BaseTariffPrice" select="1"/>2363 <field name=" TopTariffPrice" select="1"/>2298 <field name="basetariffprice" select="1"/> 2299 <field name="toptariffprice" select="1"/> 2364 2300 </form> 2365 2301 </field> … … 2381 2317 <field name="arch" type="xml"> 2382 2318 <tree string="finance_groups"> 2383 <field name="Id" select="1"/> 2384 <field name="Description" select="1"/> 2319 <field name="description" select="1"/> 2385 2320 </tree> 2386 2321 </field> … … 2393 2328 <field name="arch" type="xml"> 2394 2329 <form string="finance_groups"> 2395 <field name="Id" select="1"/> 2396 <field name="Description" select="1"/> 2330 <field name="description" select="1"/> 2397 2331 </form> 2398 2332 </field> … … 2418 2352 <field name="date" select="1"/> 2419 2353 <field name="administration" select="1"/> 2420 <field name="k Wh" select="1"/>2354 <field name="kwh" select="1"/> 2421 2355 <field name="administration_total" select="1"/> 2422 2356 <field name="consumption_total" select="1"/> 2423 2357 <field name="total_paid" select="1"/> 2424 <field name=" BaseTariffPrice" select="1"/>2425 <field name=" TopTariffPrice" select="1"/>2358 <field name="basetariffprice" select="1"/> 2359 <field name="toptariffprice" select="1"/> 2426 2360 <field name="member_count" select="1"/> 2427 2361 <field name="investment" select="1"/> … … 2440 2374 <field name="date" select="1"/> 2441 2375 <field name="administration" select="1"/> 2442 <field name="k Wh" select="1"/>2376 <field name="kwh" select="1"/> 2443 2377 <field name="administration_total" select="1"/> 2444 2378 <field name="consumption_total" select="1"/> 2445 2379 <field name="total_paid" select="1"/> 2446 <field name=" BaseTariffPrice" select="1"/>2447 <field name=" TopTariffPrice" select="1"/>2380 <field name="basetariffprice" select="1"/> 2381 <field name="toptariffprice" select="1"/> 2448 2382 <field name="member_count" select="1"/> 2449 2383 <field name="investment" select="1"/> … … 2520 2454 <field name="shop" select="1"/> 2521 2455 <field name="deprecated_price" select="1"/> 2522 <field name=" TimeEnlistment" select="1"/>2523 <field name=" TimeElimination" select="1"/>2524 <field name=" StockCard" select="1"/>2456 <field name="timeenlistment" select="1"/> 2457 <field name="timeelimination" select="1"/> 2458 <field name="stockcard" select="1"/> 2525 2459 </tree> 2526 2460 </field> … … 2547 2481 <field name="shop" select="1"/> 2548 2482 <field name="deprecated_price" select="1"/> 2549 <field name=" TimeEnlistment" select="1"/>2550 <field name=" TimeElimination" select="1"/>2551 <field name=" StockCard" select="1"/>2483 <field name="timeenlistment" select="1"/> 2484 <field name="timeelimination" select="1"/> 2485 <field name="stockcard" select="1"/> 2552 2486 </form> 2553 2487 </field> -
trunk/temp/MakeOpenERP.php
r399 r400 37 37 38 38 $Database->select_db('information_schema'); 39 40 // Load all constraints 41 $Constraints = array(); 42 $DbResult = $Database->query('SELECT * FROM `KEY_COLUMN_USAGE` WHERE `TABLE_SCHEMA` = "centrala" AND 43 `REFERENCED_TABLE_NAME` IS NOT NULL'); 44 while($DbRow = $DbResult->fetch_assoc()) 45 { 46 $Constraints[strtolower($DbRow['TABLE_NAME'].'.'.$DbRow['COLUMN_NAME'])] = 47 strtolower($DbRow['REFERENCED_TABLE_NAME'].'.'.$DbRow['REFERENCED_COLUMN_NAME']); 48 } 49 39 50 $DbResult = $Database->query('SELECT * FROM `TABLES` WHERE `TABLE_SCHEMA` = "centrala"'); 40 51 while($DbRow = $DbResult->fetch_assoc()) … … 53 64 $Type = $DbRow2['DATA_TYPE']; 54 65 $Name = $DbRow2['COLUMN_NAME']; 55 56 $ColDef = " '".$Name."': fields."; 66 if($Name != 'Id') 67 { 68 $ColDef = " '".strtolower($Name)."': fields."; 57 69 if($Type == 'varchar') 58 70 $ColDef .= "char('".$Name."', size=".$DbRow2['CHARACTER_MAXIMUM_LENGTH'].", translate=True"; … … 61 73 else if($Type == 'date') 62 74 $ColDef .= "date('".$DbRow2['COLUMN_NAME']."'"; 63 else if($Type == 'int') 64 $ColDef .= "integer('".$DbRow2['COLUMN_NAME']."'"; 65 else if($Type == 'tinyint') 66 $ColDef .= "integer('".$DbRow2['COLUMN_NAME']."'"; 67 else if($Type == 'smallint') 68 $ColDef .= "integer('".$DbRow2['COLUMN_NAME']."'"; 75 else if(($Type == 'int') or ($Type == 'tinyint') or ($Type == 'smallint')) 76 { 77 if(array_key_exists(strtolower($DbRow2['TABLE_NAME'].'.'.$DbRow2['COLUMN_NAME']), $Constraints)) 78 { 79 $Constraint = $Constraints[strtolower($DbRow2['TABLE_NAME'].'.'.$DbRow2['COLUMN_NAME'])]; 80 $SourceTable = substr($Constraint, 0, strpos($Constraint, '.')); 81 $SourceColumn = substr($Constraint, strpos($Constraint, '.') + 1); 82 $ColDef .= "many2one('centrala.".$SourceTable."', '".$DbRow2['COLUMN_NAME']."'"; 83 } else 84 $ColDef .= "integer('".$DbRow2['COLUMN_NAME']."'"; 85 } 69 86 else if($Type == 'enum') 70 87 $ColDef .= "integer('".$DbRow2['COLUMN_NAME']."'"; … … 78 95 $ColDef .= "float('".$DbRow2['COLUMN_NAME']."', digits=(12,6)"; 79 96 else echo('Neznamy typ '.$Type); 97 $ColDef .= "),\n"; 98 $ModelColumns .= $ColDef; 99 $ViewTreeItems .= "\n".' <field name="'.strtolower($Name).'" select="1"/>'; 100 $ViewFormItems .= "\n".' <field name="'.strtolower($Name).'" select="1"/>'; 101 } 102 } 103 // Add one2many relations 104 foreach($Constraints as $Index => $Item) 105 { 106 //echo($Item.'='.strtolower($DbRow['TABLE_NAME']).'.Id '); 107 if($Item == strtolower($DbRow['TABLE_NAME']).'.id') 108 { 109 $SourceTable = substr($Index, 0, strpos($Index, '.')); 110 $SourceColumn = substr($Index, strpos($Index, '.') + 1); 111 $ColDef = " '".strtolower($SourceTable.'_ids')."': fields."; 112 $ColDef .= "one2many('centrala.".$SourceTable."', '".$SourceColumn."', '".$SourceTable."'"; 113 $ColDef .= "),\n"; 114 $ModelColumns .= $ColDef; 115 $ViewFormItems .= "\n".' <field name="'.strtolower($SourceTable.'_ids').'" select="1"/>'; 116 } 117 } 80 118 81 $ColDef .= "),\n";82 $ViewTreeItems .= "\n".' <field name="'.$Name.'" select="1"/>';83 $ViewFormItems .= "\n".' <field name="'.$Name.'" select="1"/>';84 $ModelColumns .= $ColDef;85 }86 119 $ModuleView .= ' 87 120 <record model="ir.actions.act_window" id="action_'.$TableName.'_form">
Note:
See TracChangeset
for help on using the changeset viewer.