Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
d437a98
INIT
May 24, 2013
2f1fe0b
adding ACL
Jun 6, 2013
6f6b3cd
load ACL
Jun 6, 2013
5a40f9c
hgignore
anael-lorimier Jun 7, 2013
e52aa2b
Remove domain in analytic structure so we can associate one dimension…
anael-lorimier Jun 7, 2013
92b598b
Fix #1 Add column description
anael-lorimier Jun 13, 2013
309b830
Fix #2 Add column active to show/hide code
anael-lorimier Jun 14, 2013
89ed93f
Adding a code view to allow users to load codes with the import funct…
anael-lorimier Jun 14, 2013
7fce515
Add string to display the name of the field Dimension during the import
anael-lorimier Jun 14, 2013
49a4351
Add view id reference in the analytic_code action
anael-lorimier Jun 14, 2013
f3caab5
We can now delete dimension with code in cascade
anael-lorimier Jun 14, 2013
5fcae43
correct bug in structure view
anael-lorimier Jun 14, 2013
7bafd0c
added search view (group by dimension)
Jun 26, 2013
4da10c6
added po file for french translation
Jul 5, 2013
a2ff7c1
added name get function to return the concatenation of name + descrip…
Jul 10, 2013
889c4fa
Added name_searchon code and description
Jul 11, 2013
cc52c77
remove prints
Jul 11, 2013
d874aec
added record rule, users can only read analytic structure.
Jul 11, 2013
844736a
added missing file for group creation
Jul 11, 2013
79f9f13
added translation in the settings
Jul 12, 2013
15a6a60
enhanced translation and add version 1.0 in __openerp__.py file
Jul 12, 2013
d6901ad
Added tag TAG_1.0 for changeset 4795b96a09cb
faide Jul 12, 2013
c50a315
Added a name on the nd_id
faide Jul 15, 2013
fbab6a0
add a form view for the creation of analytic codes
Jul 15, 2013
eb77e40
move at the top of the file
Jul 15, 2013
1c1121d
remove attr noupdate in file security.xml, default nodaupte=false
Jul 23, 2013
77d5512
Bumping version for release
faide Jul 24, 2013
34d5fa8
Added tag TAG_1.1 for changeset a6d65645850f
faide Jul 24, 2013
1e09d88
Added methods analytic_fields_get and analytic_fields_view_get to the…
gavrelj Mar 20, 2014
cef62b7
It is now possible to define analytic fields to be required, read-onl…
gavrelj Apr 1, 2014
093dd1b
Bumped version to 1.2(stable)
Apr 4, 2014
7efbe2f
Added tag TAG_1.2 for changeset 49ef9c45334e
Apr 4, 2014
fb66b88
Bumped version to 1.2.1 (dev)
Apr 4, 2014
aadd788
Made the get_dimensions_names method public by removing its leading u…
gavrelj Apr 14, 2014
b86ecda
analytic_fields_view_get: Now sets the unused analytic fields as non-…
gavrelj Apr 23, 2014
f86a8d4
Added a parent-child hierarchy on analytic codes. Fixed a bug where a…
gavrelj May 14, 2014
b023194
Updated translation.
gavrelj May 14, 2014
ff1925c
Analytic scructures can now use different ordering values for the sam…
gavrelj May 15, 2014
965ed6b
The number of analytic fields can be defined in the OpenERP configura…
gavrelj May 16, 2014
eaf09f1
Bumped version to 1.2.3 (dev)
gavrelj May 16, 2014
c7314af
Can now use <div class="oe_analytic" prefix="prefix" /> in order to p…
gavrelj May 19, 2014
6071200
Fixed the comparison operator in the config check.
gavrelj May 19, 2014
10f43a6
Added tag TAG_1.3 for changeset c32539344edb
May 27, 2014
8fc5028
Updated module version
May 27, 2014
0625ea8
Fields generated by MetaAnalytic now exclude codes with children. Fix…
gavrelj May 28, 2014
a13fca5
The MetaAnalytic metaclass can now be used to bind a dimension to a m…
gavrelj Jun 2, 2014
27eeb0b
Added new options for bound dimensions.
gavrelj Jun 4, 2014
fc6b307
hgignore add pyo
anael-lorimier Jun 4, 2014
e788094
Can now import data for a module bound to a dimension through the def…
gavrelj Jun 4, 2014
63cdd8d
Added tag TAG_1.3.2 for changeset df135d300d04
gavrelj Jun 4, 2014
41de0f8
Bumped version to 1.3.2 (stable)
gavrelj Jun 4, 2014
e1b353b
Bumped version to 1.3.3 (dev)
gavrelj Jun 4, 2014
3f6c707
Added 'usable' field in analytic.code. Analytic fields now filter out…
gavrelj Jun 5, 2014
720a5db
Bound dimensions: fixed create method for models that use rel_name
gavrelj Jun 5, 2014
9562286
Bound dimensions: fixed name_search for queries with no result.
gavrelj Jun 6, 2014
ff44d5f
Change version to 1.3.4 (stable)
Jun 10, 2014
7073094
Added tag TAG_1.3.4 for changeset 7dfc1704f5cb
Jun 10, 2014
8151548
Change version to 1.3.5 (dev)
Jun 10, 2014
670661d
Corrected a bug with the name_search override.
gavrelj Jun 10, 2014
cb995b7
Analytic_fields_view_get now sets the invisible and required attribut…
gavrelj Jun 11, 2014
e40d05b
Bound dimensions: fixed an issue with the initialisation of related f…
gavrelj Jun 12, 2014
894efb9
Version 1.3.6
houzefa-abba Jun 12, 2014
40172ca
Added tag TAG_1.3.6 for changeset 8ecb18ec2830
houzefa-abba Jun 12, 2014
6dbca16
Analytic structure: added the get_structures and get_dimensions utili…
gavrelj Jun 18, 2014
ffd0482
Structures can now be restricted to one company. Bound dimensions: ad…
gavrelj Jun 24, 2014
ef053ce
Bound dimensions: fixed write method.
gavrelj Jun 24, 2014
67c985a
Bound dimensions: code external IDs are now generated for codes creat…
gavrelj Jun 24, 2014
e7b2245
1.3.7
anael-lorimier Jun 25, 2014
68b9e0f
Added tag TAG_1.3.7 for changeset 3a642a6edd74
anael-lorimier Jun 25, 2014
e5a0e14
Added support for para-analytic fields. Added the analytic_fields_sub…
gavrelj Jun 26, 2014
55d3be9
Fixed a bug that could break views when using the oe_analytic div wit…
gavrelj Jun 27, 2014
8937036
Bumped version to 1.3.8
gavrelj Jun 27, 2014
b93bb1b
Added tag TAG_1.3.8 for changeset d92da83bcf0d
gavrelj Jun 27, 2014
f5b52e6
Bumped version to 1.3.9 (dev)
gavrelj Jun 27, 2014
6d2f8bb
Added methods extract_values and format_field_name to analytic_struct…
gavrelj Jun 30, 2014
2f216ea
Code formatting (flake8 valid)
houzefa-abba Aug 27, 2014
19ae8fe
analytic_dimension.xml -> analytic_views.xml
houzefa-abba Aug 27, 2014
0beace5
Re-order views; still stuff to fix (see #4)
houzefa-abba Aug 27, 2014
9033c68
- Split menu items to a separate file
houzefa-abba Aug 27, 2014
1643a3a
Update French translations
houzefa-abba Aug 27, 2014
bec00ac
Code formatting
houzefa-abba Aug 27, 2014
72d55ba
Analytic codes can be blacklisted per company
houzefa-abba Aug 27, 2014
cd31b75
Update French translations
houzefa-abba Aug 27, 2014
9e69d60
1.4 (production release)
Sep 1, 2014
68b7a6c
Added tag TAG_1.4 for changeset 223728db9d22
Sep 1, 2014
d6d1daf
1.4.1
anael-lorimier Sep 3, 2014
57acb61
Added tag TAG_1.4.1 for changeset b1b614f37b8c
anael-lorimier Sep 3, 2014
03631b4
Version 1.5.0
houzefa-abba Sep 11, 2014
911cf48
Added tag TAG_1.5.0 for changeset ec979017ab69
houzefa-abba Sep 11, 2014
8de09e4
usable -> not view_type; hidden for now
houzefa-abba Sep 19, 2014
e5daa48
usable_per_company -> disabled_per_company
houzefa-abba Sep 19, 2014
062abb1
Update the README
houzefa-abba Sep 19, 2014
adba5d2
Update French translations
houzefa-abba Sep 19, 2014
b7596fe
Fix the README
houzefa-abba Sep 19, 2014
67cc074
Added tag TAG_1.5.0 for changeset 7ac9f65781e9
houzefa-abba Sep 19, 2014
cd4361d
Corrected an issue with the fnct_search of disabled_per_company
gavrelj Sep 26, 2014
8a2d81f
Added tag TAG_1.5.1 for changeset 45ef64ed43d9
gavrelj Sep 26, 2014
04358a5
Bumped version to 1.5.2
gavrelj Sep 26, 2014
9ecda7b
Production release
Sep 26, 2014
503bcaf
Added tag TAG_1.6 for changeset 882018c245cf
Sep 26, 2014
beac706
Bound dimensions: if an analytic code ID is passed to create or write…
gavrelj Oct 2, 2014
a00e861
analytic_fields_view_get: fixed an issue when using the oe_analytic d…
gavrelj Oct 6, 2014
b4a30ac
Added tag TAG_1.6.1 for changeset 1a4f5f27a447
Oct 6, 2014
dbcc132
[fix] local variable 'code_osv' referenced before assignment error
Oct 8, 2014
7bf0633
1.6.2
Oct 8, 2014
ce71f5a
[pep8] E203
Oct 8, 2014
c142f3c
Added tag TAG_1.6.2 for changeset 695877c39b96
Oct 8, 2014
0f32ea2
1.7
Nov 13, 2014
2e2ed06
Added tag TAG_1.7 for changeset 91b9b11b7cde
Nov 13, 2014
63099c5
News
Nov 25, 2014
ca888af
Add news in french
Nov 25, 2014
9441b50
Fixed case
Nov 25, 2014
57caf2c
Odoo8 Fix: Find the class oe_analytic on all elements (not only div)
anael-lorimier Dec 16, 2014
b10aea9
Tag 1.8
anael-lorimier Jan 13, 2015
a0c293e
Added tag TAG_1.8 for changeset 8434f86657e5
anael-lorimier Jan 13, 2015
df8ea0d
Update Licence (xcg)
Jan 15, 2015
bc283a7
Add AGPL LICENSE
Jan 15, 2015
42bc4dd
Remove field 'validated'. Fix Issue #1259.
Jan 21, 2015
181784b
Update NEWS (US & FR)
Jan 21, 2015
a431356
Bumped version to 1.9
Jan 21, 2015
ef28534
Added tag TAG_1.9 for changeset 6a98d6a54503
Jan 21, 2015
687329b
Now analytic can be placed in a view by adding a field named 'analyti…
anael-lorimier Jan 23, 2015
bd7bdf3
Version 2.0
anael-lorimier Jan 23, 2015
92a7c03
Added tag TAG_2.0 for changeset 1003817f9e0b
anael-lorimier Jan 23, 2015
4481780
The field analytic dimensions is now a function and not a char to avo…
anael-lorimier Jan 23, 2015
c0484d8
Fixed a bug where fields added by analytic_dimensions were always rea…
gavrelj Jan 23, 2015
f87ef59
Corrected previous commit
gavrelj Jan 23, 2015
f695e4a
Corrected a possible issue if analytic_dimensions has no 'modifiers' …
gavrelj Jan 23, 2015
c17ad47
Tag 2.0.1
anael-lorimier Feb 11, 2015
69575d2
Added tag TAG_2.0.1 for changeset d2a63514d358
anael-lorimier Feb 11, 2015
7ca5119
Port to odoo v8
mgautierfr Apr 15, 2015
8eae8f9
Fix lambda for compute field (v7=>v8)
mgautierfr Apr 17, 2015
c0f8e11
Update analytic_structure to v8
mgautierfr Apr 21, 2015
1b8f491
Add a missing wrapper on create method (v7->v8).
mgautierfr May 21, 2015
0d42eec
Fix issues when there is no analytic structure
houzefa-abba Jul 21, 2015
8d098d8
Add a missing import
houzefa-abba Jul 30, 2015
ff73558
Added tag TAG_2.0.2 for changeset 85bb73f0564b
anael-lorimier Sep 1, 2015
687951b
Remove Mercurial leftover files
gavrelj Oct 19, 2015
77be846
Remove duplicate group_ans_manager definition.
gavrelj Oct 19, 2015
d2ffd83
Convert OEMetaSL imports to new name BaseModelMetaclassMixin
gavrelj Oct 19, 2015
2e89e50
Convert old README to .rst format
gavrelj Oct 19, 2015
c4513b1
Remove vim comment from __openerp__.py
gavrelj Oct 19, 2015
4606797
flake8
gavrelj Oct 19, 2015
8f4e75c
pylint
gavrelj Oct 19, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix #2 Add column active to show/hide code
  • Loading branch information
anael-lorimier authored and gavrelj committed Oct 19, 2015
commit 309b83053d8cdf9da826d709818422785d753314
5 changes: 4 additions & 1 deletion analytic_structure/analytic_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
##############################################################################

from openerp.osv import fields, osv
from openerp.tools.translate import _


class analytic_code(osv.Model):
Expand All @@ -29,7 +28,11 @@ class analytic_code(osv.Model):
name=fields.char("Name", size=128, translate=True, required=True),
nd_id=fields.many2one(
"analytic.dimension", ondelete="restrict"),
active=fields.boolean('Active'),
nd_name=fields.related('nd_id', 'name', type="char",
string="Dimension Name", store=False),
description=fields.char('Description', size=512),
)
_defaults = {
'active': 1,
}
2 changes: 2 additions & 0 deletions analytic_structure/analytic_dimension.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@
<newline />
<field name="nc_ids" string="ANCs">
<tree string="Analysis Codes" editable="bottom">
<field name="active"/>
<field name="name"/>
<field name="description"/>
</tree>
<form string="Analysis Codes" version="7.0">
<field name="active"/>
<field name="name"/>
<field name="description"/>
</form>
Expand Down