257 |
<datasource name="dateDataSource" cache="1"/> |
<datasource name="dateDataSource" cache="1"/> |
258 |
<datasource name="paymentDataSource" cache="1"/> |
<datasource name="paymentDataSource" cache="1"/> |
259 |
|
|
260 |
|
<!-- BUG: falta lo de los tax profiles --> |
261 |
|
|
262 |
<!-- global triggers --> |
<!-- global triggers --> |
263 |
<!-- Valor final del servicio, con impuesto y todo --> |
<!-- Valor final del servicio, con impuesto y todo --> |
264 |
<trigger name="calculateEndPriceTrigger" type="NAMED"><![CDATA[ |
<trigger name="calculateEndPriceTrigger" type="NAMED"><![CDATA[ |
299 |
callTrigger ('commitTrigger') |
callTrigger ('commitTrigger') |
300 |
# it's _such_ a pitty |
# it's _such_ a pitty |
301 |
# pleasePrint ('serviceInvoice', { 'id': str(ownDocumentBlock.idEntry) }) |
# pleasePrint ('serviceInvoice', { 'id': str(ownDocumentBlock.idEntry) }) |
302 |
pleasePrint ('serviceInvoice', [ 'id='+str(ownDocumentBlock.idEntry) ]) |
# BUG: select the correct type of invoice? |
303 |
|
# pleasePrint (self, 'p1', '1', 'serviceInvoice-discriminated', [ 'id='+str(ownDocumentBlock.idEntry) ]) |
304 |
|
pleasePrint (self, 'p1', '1', 'serviceInvoice', [ 'id='+str(ownDocumentBlock.idEntry) ]) |
305 |
callTrigger('rollbackTrigger') |
callTrigger('rollbackTrigger') |
306 |
]]></trigger> |
]]></trigger> |
307 |
|
|