I created a new module. It adds a required field on invoice model. When I create a new database, I meet the following error:
[2009-12-21 14:15:07,356] INFO:init:module account: loading account_unit_test.xml No LSB modules are available. [2009-12-21 14:15:07,809] ERROR:init:[01]: [2009-12-21 14:15:07,809] ERROR:init:[02]: Environment Information : [2009-12-21 14:15:07,809] ERROR:init:[03]: System : Linux-2.6.31-14-generic-i686-with-Ubuntu-9.10-karmic [2009-12-21 14:15:07,809] ERROR:init:[04]: OS Name : posix [2009-12-21 14:15:07,809] ERROR:init:[05]: Distributor ID: Ubuntu [2009-12-21 14:15:07,809] ERROR:init:[06]: Description: Ubuntu 9.10 [2009-12-21 14:15:07,809] ERROR:init:[07]: Release: 9.10 [2009-12-21 14:15:07,810] ERROR:init:[08]: Codename: karmic [2009-12-21 14:15:07,810] ERROR:init:[09]: Operating System Release : 2.6.31-14-generic [2009-12-21 14:15:07,810] ERROR:init:[10]: Operating System Version : #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 [2009-12-21 14:15:07,810] ERROR:init:[11]: Operating System Architecture : 32bit [2009-12-21 14:15:07,810] ERROR:init:[12]: Operating System Locale : en_GB.UTF8 [2009-12-21 14:15:07,810] ERROR:init:[13]: Python Version : 2.6.4rc2 [2009-12-21 14:15:07,810] ERROR:init:[14]: OpenERP-Server Version : 5.0.7 [2009-12-21 14:15:07,810] ERROR:init:[15]: Last revision No. & ID : 1914 [email protected] [2009-12-21 14:15:07,810] ERROR:init:[16]: [2009-12-21 14:15:07,810] ERROR:init:[17]: <workflow action="invoice_open" model="account.invoice" ref="test_invoice_1"/> No LSB modules are available. because the test of invoice creation failed. How to overload unit tests in order to add a value for my new required field (I don't want to add a default value for my new field) ? -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=48489#48489 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users
