diff --git a/ext/custom-addons/dp_custom/models/sale.py b/ext/custom-addons/dp_custom/models/sale.py index eec7f0a8..b33a29a2 100644 --- a/ext/custom-addons/dp_custom/models/sale.py +++ b/ext/custom-addons/dp_custom/models/sale.py @@ -453,6 +453,7 @@ class SaleOrderLine(models.Model): 'name': 'Händlerrabatt {}%'.format(discount), 'intrastat_id': False }) + del vals['discount'] invoice_lines |= self.env['account.invoice.line'].create(vals) return invoice_lines diff --git a/ext/custom-addons/dp_reports_account/reports/invoice.xml b/ext/custom-addons/dp_reports_account/reports/invoice.xml index 1a24c924..deaf93f6 100644 --- a/ext/custom-addons/dp_reports_account/reports/invoice.xml +++ b/ext/custom-addons/dp_reports_account/reports/invoice.xml @@ -104,7 +104,12 @@ - - - + + - + + - + + @@ -128,9 +133,8 @@ kg - - - + + @@ -144,25 +148,16 @@ - + - + - + - - - - - - @@ -267,7 +262,7 @@ attachment="(object.state in ('open','paid')) and ('INV'+(object.number or '').replace('/','')+'.pdf')" print_report_name="(object._get_printed_report_name())" paperformat="dp_reports.paperformat_a4_european" - /> + /> Rechnung ohne Zolltarifnummer diff --git a/setup/odoo-playboook/roles/odoo/defaults/main.yml b/setup/odoo-playboook/roles/odoo/defaults/main.yml index 24d34b86..101852d4 100644 --- a/setup/odoo-playboook/roles/odoo/defaults/main.yml +++ b/setup/odoo-playboook/roles/odoo/defaults/main.yml @@ -67,8 +67,8 @@ odoo_config_geoip_database: /usr/share/GeoIP/GeoLiteCity.dat odoo_config_http_enable: True # >= 11.0 odoo_config_http_interface: '' # >= 11.0 odoo_config_http_port: 8069 # >= 11.0 -odoo_config_limit_memory_hard: 805306368 -odoo_config_limit_memory_soft: 671088640 +odoo_config_limit_memory_hard: 2684354560 +odoo_config_limit_memory_soft: 2147483648 odoo_config_limit_time_cpu: 60 odoo_config_limit_time_real: 120 odoo_config_limit_time_real_cron: -1 # >= 10.0