← Back to team overview

openerp-india team mailing list archive

[Bug 988212] Re: account_followup and demo data

 

So the option 2 is probably the best ; rename the file or move the
content to 'account_followup_data.xml'. Because the "_demo.xml" suffix
is misleading.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/988212

Title:
  account_followup and demo data

Status in OpenERP Addons (modules):
  New

Bug description:
  In the account_followup module in addons-trunk, there is a file called
  "account_followup_demo.xml" that contain a sample followup process
  called "Default Follow-Up" with 3 followup lines (Level 0, level 1,
  level 2). According to the name of the file, a developer would except
  that it is defined in __openerp__.py as a demo file, but this file is
  defined as "update_xml" :

      'update_xml': [
  [...]
          'account_followup_demo.xml',   # Defined by default
          'account_followup_view.xml',
          'account_followup_data.xml',
      ],

  So I would suggestion choosing one of the two options below :
  1. either define this file in the demo_xml section of __openerp__.py
  2. either rename the file, or move the content of the file to 'account_followup_data.xml'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/988212/+subscriptions


References