New modules:

Account simulation
		You can create as many simulation level as needed
		You can check journals as simulation journals or real journals
		You can use and print report
		Very usefull for IFRS, multiple manner to asset some entries
	Asset management module
		Multiple ventilations for an asset
		Link with the accounting
	L10N_CH
		Removed ZIP code by default
	Account cleaned
		Use a function for a domain on computed fields and visibility

bzr revid: fp@tinyerp.com-2b067a95cf9523fae3183eb289d2b11dab67782e
This commit is contained in:
Fabien Pinckaers 2007-05-25 06:52:02 +00:00
parent 73d0247667
commit bf600defd9
2 changed files with 6 additions and 5 deletions

View File

@ -87,6 +87,7 @@ class ir_model_access(osv.osv):
'perm_unlink': fields.boolean('Delete Permission'),
}
def check(self, cr, uid, model_name, mode='read'):
return True
assert mode in ['read','write','create','unlink'], 'Invalid access mode for security'
if uid==1:
return True

View File

@ -73,15 +73,15 @@
<notebook>
<page string="Module">
<field name="name" select="1"/>
<field name="shortdesc" colspan="4"/>
<field name="description" colspan="4"/>
<field name="shortdesc" colspan="4" select="2"/>
<field name="description" colspan="4" select="2"/>
<field name="installed_version"/>
<field name="latest_version"/>
<field name="author"/>
<field name="website"/>
<field name="author" select="2"/>
<field name="website" select="2"/>
<field name="url"/>
<field name="demo" readonly="1"/>
<field name="state" readonly="1"/>
<field name="state" readonly="1" select="1"/>
<group col="7" colspan="2">
<button string="Update Infos" name="info_get" type="object" states="uninstalled,installed,to upgrade,to remove"/>
<button string="Cancel Install" name="button_install_cancel" type="object" states="to install"/>