lp:~oubiwann/oerppy/trunk

Created by Duncan McGreggor and last modified
Get this branch:
bzr branch lp:~oubiwann/oerppy/trunk
Only Duncan McGreggor can upload to this branch. If you are Duncan McGreggor please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Duncan McGreggor
Project:
oerppy
Status:
Merged

Recent revisions

45. By Duncan McGreggor

Updated TODO.

44. By Duncan McGreggor

* Split-out Canonical customizations into subclasses and copied appropriate
  methods over to the Canonical query class.
* Added some missing docstrings to models.

43. By Duncan McGreggor

* Added a script and export class for getting the list of project names in
  OpenERP.
* Fixed up the csv exporter function to use the simple csv writer in addition
  to the dict writer and to allow for string-based rows (as opposed to just
  list-based ones).
* Fixed a bad variable name in the Canonical query class for monthly export of
  all project timesheets.

42. By Duncan McGreggor

* Improved some of the command line help options.
* Added support for querying all projects.
* Moved Project query methods out of the Canonical query class and into the
  project one.
* Added a TODO file.

41. By Duncan McGreggor

* Added get_mondays utility function.
* Split out some of the date logic from the start_of_week utility function.
* Fixed up csv export function.
* Added a project class for grouping a project's time-related data.
* Converted the numbered attributes in the TimeEntry model to groups of
  attributes, greatly improving the ease with which one can iterate/search
  through the project data (e.g., match project names).
* Added a model for the project.project entity search results.
* Fixed up MonthExport class.
* Added logic to get_project_month_timesheets.
* Split out logic in large week export method into separate private methods.
* Added project-specific methods to CanonicalQuery.
* Changed the query class to use a getter for the user_dept data instead of an
  attribute.

40. By Duncan McGreggor

* Added a script and script class for getting table metadata out of OpenERP.
* Added new models for project.timeentry*.
* Split the query method that gets all timeentries from the beginning until now
  into a general method for any time entry period and a new *
  since-the-beginning one that uses the new method.
* Split out more Canonical-specific code (and data models).
* Added a check in the results set class: if there are no results, just leave
  as an empty list and do no processing.
* Converted more methods to use the data model classes.
* Simplified logic in get_all_weeks_oem_timesheets.
* Added missing docstrings for some script classes.

39. By Duncan McGreggor

* Added missing bin script.
* Renamed a method.

38. By Duncan McGreggor

* Massive name change and clarification of meaning: the term "addons" is now
  only used at the directory level just under "oerppy" for all addons. It no
  longer shows up in class names. Those that used to have the AddOn name (e.g.,
  ProjectAddOn) have been renamed to use "Query" instead (e.g.,
  ProjectQuery).
* Removed addon base module.
* Replaced const references to adding and getting addons to just be strings.
* Massive change in behaviour for addons: removed the subclassing and instead
  am now using the registry to get the addons (and execute the methods)
  required.
* Changed the behaviour of the HRQuery departments method to be a getter
  instead of a setter.
* Added get_first convenience method to the ResultSet class.
* Added a class and script for getting OEM users.
* Added a new model for Canonical OEM users and converted the OEM methods in
  the CanonicalQuery addon to use the model instead of the raw results.

37. By Duncan McGreggor

* Added a model for User and UsersSet, complete with initial unit tests.
* Updaed oerppy.query.Query.get_users to use the new UsersSet model.
* Added an export class in oerppy.scripting.base for providing a list of users.
* Added a new script that calls this export class.
* Changed the result set to be based on a list rather than a set object.
* Updated the README with instructions on running the unit test suite.
* Re-added the missing unit tests for the hr and project addons (when those
  addons were created, the unit tests didn't get added to bzr).

36. By Duncan McGreggor

* Renamed CanonicalAddOns to CanonicalAddOn.
* Renamed script and export for cumulative weeks export.
* Moved project code from the canonical addon to its own addon.
* Moved hr code from the canonical addon to its own addon.
* Created a Query base class for all queries (used by addons).
* Created an AddOn base class (subclasses Query).
* Moved field-parsing logic into new field models.
* Added missing field definitions to HR Employee.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers