ERP5 KM

TechnicalNoteOnBusinessTemplateExport

This page explain an important note on Business Template export. This is a sort of guideline to prevent previous bugs from appearing again.

As you may know, you are likely to experience problems if you build and export a business template in the same transaction. Hence, it is important to commit the transaction between the build and the export.

For exemple, in a script you should do:

  1. bt.build()
  2. get_transaction().commit()
  3. bt.export(path=path)"

Don't forget to commit the transaction or you will experience problems.

TechnicalNoteOnBusinessTemplateExport (last edited 2008-01-03 13:48:04 by localhost)

Page
  • Immutable Page
  • Info
  • Attachments
User
Learn about new ERP5 releases,technical articles, events and more.

Subscribe to the monthly ERP5 Newsletter!