← Back to team overview

openerp-india team mailing list archive

[Bug 988212] Re: account_followup and demo data

 

Hello Alexis,

I have checked your issue. Yes as per our OpenERP module's coding
convention we doesn't put a demo.xml file at updated xml at
__openerp__.py file.

But think thing was done by FP on following revision number.
http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/revision/5263 

Also he stated that it's "Defined by default" and those records are data
not the demo, So the place are correct (updated.xml).

At demo.xml file we have put a data noupdate="1", So it will never
updated every time.

So I think it's not a bug,

Thanks and please give your reply!

-- 
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