diff --git a/ext/custom-addons/dp_custom/__manifest__.py b/ext/custom-addons/dp_custom/__manifest__.py index 6102ab36..1b16c770 100644 --- a/ext/custom-addons/dp_custom/__manifest__.py +++ b/ext/custom-addons/dp_custom/__manifest__.py @@ -35,6 +35,7 @@ 'sale_stock', 'report_intrastat', 'dp_intercompany_invoicing', + 'sale_partner_incoterm', ], 'data': [ 'wizards/wizard_confirm_production.xml', diff --git a/ext/custom-addons/dp_custom/models/sale.py b/ext/custom-addons/dp_custom/models/sale.py index 2a821162..316c93f5 100644 --- a/ext/custom-addons/dp_custom/models/sale.py +++ b/ext/custom-addons/dp_custom/models/sale.py @@ -56,7 +56,7 @@ class SaleOrder(models.Model): for record in self: sum = 0 for line in record.order_line: - sum += line.product_id.weight * line.product_uom_qty + sum += (line.lot_id.weight or line.product_id.weight) * line.product_uom_qty record.weight_total = sum @api.multi diff --git a/ext/custom-addons/dp_custom/views/sale_views.xml b/ext/custom-addons/dp_custom/views/sale_views.xml index 25b580aa..5afb2f5b 100644 --- a/ext/custom-addons/dp_custom/views/sale_views.xml +++ b/ext/custom-addons/dp_custom/views/sale_views.xml @@ -33,6 +33,11 @@ + + + + + diff --git a/ext/custom-addons/dp_reports/reports/report_templates.xml b/ext/custom-addons/dp_reports/reports/report_templates.xml index 9c3798e5..bcec8bd6 100644 --- a/ext/custom-addons/dp_reports/reports/report_templates.xml +++ b/ext/custom-addons/dp_reports/reports/report_templates.xml @@ -107,7 +107,7 @@ UID-Nr.: · - EORI-Nr.: + EORI-Nr. · Firmenbuch Nr.: diff --git a/ext/custom-addons/dp_reports_account/reports/invoice.xml b/ext/custom-addons/dp_reports_account/reports/invoice.xml index e10d5209..cd70d8cf 100644 --- a/ext/custom-addons/dp_reports_account/reports/invoice.xml +++ b/ext/custom-addons/dp_reports_account/reports/invoice.xml @@ -37,26 +37,32 @@
- Kundennr.: - +
+ Kundennr.: + +
Ansprechpartner: - + Positionen:
- Rechnungsdatum: - +
+ Rechnungsdatum: + +
Email: - + Artikel:
- Lieferdatum: - ????????? +
+ Lieferdatum: + ????????? +
Telefon: - + Bezeichnung:
diff --git a/ext/custom-addons/dp_reports_sale/reports/sale.xml b/ext/custom-addons/dp_reports_sale/reports/sale.xml index 8e5794b1..5580da68 100644 --- a/ext/custom-addons/dp_reports_sale/reports/sale.xml +++ b/ext/custom-addons/dp_reports_sale/reports/sale.xml @@ -36,26 +36,32 @@
- Kundennr.: - +
+ Kundennr.: + +
Ansprechpartner: - + Positionen:
- Angebotsdatum: - +
+ Angebotsdatum: + +
Email: - + Artikel:
- Lieferdatum: - +
+ Lieferdatum: + +
Telefon: - + Bezeichnung:
diff --git a/setup/lib/config.py b/setup/lib/config.py index e5e4bcba..139c232d 100644 --- a/setup/lib/config.py +++ b/setup/lib/config.py @@ -76,7 +76,7 @@ class Config(object): 'security_lead': 0, # Einstellungen Finanzen - 'tax_calculation_rounding_method': 'round_per_line', + 'tax_calculation_rounding_method': 'round_globally', 'vat_check_vies': True, 'group_multi_currency': True, # Multiwährungsfunktion aktivieren 'module_account_reports_followup': False, @@ -137,6 +137,8 @@ class Config(object): 'dp_retail_invoice', 'website_sale', 'account_invoice_fiscal_position_update', + 'dp_sale_filter_partner_addresses', + 'website_form_project', ]