Commit 55fbb42a authored by Jérome Perrin's avatar Jérome Perrin

if you generate an invoice with an invalid logo, it will be included in openoffice


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23843 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3440eca0
......@@ -755,12 +755,6 @@ class TestInvoice(TestInvoiceMixin):
if err_list:
self.fail(''.join(err_list))
# the <draw:image> should not be present, because there's no logo
parser = OOoParser()
parser.openFromString(odt)
style_xml = parser.oo_files['styles.xml']
self.assert_('<draw:image' not in style_xml)
def test_invoice_building_with_cells(self):
# if the order has cells, the invoice built from that order must have
# cells too
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment