- Add complete journal configuration tab with account selection - Add bank account configuration for VAT payments/receipts - Add auto-create accounting toggle for submission - Add configurable amount calculation method (round vs truncate) - Add automatic database table creation and default values - Fix configuration persistence and form handling - Improve account loading with proper ordering - Add comprehensive error handling and user feedback - Update module version to 2.5.0
11 lines
443 B
SQL
11 lines
443 B
SQL
-- Create the missing declarationtva_config table
|
|
CREATE TABLE IF NOT EXISTS `llx_declarationtva_config` (
|
|
`rowid` int(11) NOT NULL AUTO_INCREMENT,
|
|
`entity` int(11) NOT NULL DEFAULT 1,
|
|
`config_key` varchar(64) NOT NULL,
|
|
`config_value` text,
|
|
`created_date` datetime DEFAULT NULL,
|
|
PRIMARY KEY (`rowid`),
|
|
UNIQUE KEY `uk_config_entity_key` (`entity`, `config_key`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|