Fixed bug 29809: Impossible to create several calendars for the same organization
Two pieces of code were affected by this bug:
PeriodEventHandler.java: EntityPersistenceEventObserver in charge of checking overlap in manual inserts/updates (or any java process) in c_period table
C_YEARPERIODS: db function associated to the create periods process inside the Fiscal Calendar | Year tab. It also verifies the periods don't overlap other periods.
The fix consists in checking that there is no date overlap per calendar. Before this fix the calendar wasn't taken into account, so it was not possible to define several calendars for the same organization with the same periods.
This is the development trunk of Openbravo ERP.
* Installation
First, configure Openbravo properties run:
ant setup
Then, to install it run:
ant install.source
It creates the database structure, builds the core, compiles
Openbravo and generates a war file.
Deploy this war file into the tomcat/webapps directory.
* Documentation
See http://wiki.openbravo.com for more documentation.
* Helping out
If you'd like to help out, great!
Have a look to our Contributor's Guide:
http://wiki.openbravo.com/wiki/Contributor%27s_Guide
There is also a list of on-going community projects:
http://wiki.openbravo.com/wiki/Community_Projects
Please share your changes so others can benefit.
Please use svn diff to prepare patches.
* Contact
IRC: #openbravo in freenode