Most Powerful Open Source ERP

Technical Note on Business Template Export

Technical Note showing how to encapsulate components and export as business template
  • Last Update:2016-04-22
  • Version:001
  • Language:en

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

Table of Contents

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.

Related Articles