Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3867 Lượt xem

I've installed the "report_webkit" and have found that the export/import process doesn't work as expected.

The issue I notice is that the formatting (newlines) are removed. In some cases this is 'ok' and I can live the mangled Header CSS. But when the webkit header and webkit header contain statements such as ..

 %if company.partner_id.vat:
    ${company.partner_id.country_id.name == 'United Kingdom' and '  VAT Number: ' or '  GST Number: '} ${company.partner_id.vat}
 %endif

.. things go wrong when the export condenses that into a 'single line'.

I have a work around that manually goes through and pastes the correctly formatted code into the fields, but that does is a manual process which is a bit annoying as we go through the repeated testing processes with the new header and footer as part of a custom modules.

Any thoughts on how to get that working 'properly'?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 4 24
2463
11
thg 12 21
16402
12
thg 4 16
18557
1
thg 3 15
6643
1
thg 3 15
4193