Commit Graph

8015 Commits

Author SHA1 Message Date
Rifakat Haradwala (Open ERP) 707efc0d34 [IMP]: ir_mail_server.py: removed _email_send() and merge with email_send()
bzr revid: rha@tinyerp.com-20110330133331-3r1wpr4pepdont6x
2011-03-30 19:03:31 +05:30
Rifakat Haradwala (Open ERP) 899815c3cd [IMP]: refactored send_email() of ir.mail_server
bzr revid: rha@tinyerp.com-20110330100050-aiuhkmb8je2w1p5b
2011-03-30 15:30:50 +05:30
Rifakat Haradwala (Open ERP) edd149d32d [Merge] : merge with lp:~openerp-dev/openobject-server/emails-framework
bzr revid: rha@tinyerp.com-20110329123605-442acrn04psxfzft
2011-03-29 18:06:05 +05:30
Rifakat Haradwala (Open ERP) 573431a8ba [IMP] ir_mail_server.py: corrected argument of send_method and did related changes and also removed unused imports
bzr revid: rha@tinyerp.com-20110329115309-q7q02pto691a9nxp
2011-03-29 17:23:09 +05:30
Olivier Dony ac154f2a92 [MERGE] merged latest trunk
bzr revid: odo@openerp.com-20110329114055-3q35xcpq1ndm2bhg
2011-03-29 13:40:55 +02:00
Olivier Dony c39f1cca46 [FIX] orm,ir.model: add eval of domain for relationship fields
Without this, it has become impossible to add one2many fields
as custom fields, because the domain string is not evaluated

bzr revid: odo@openerp.com-20110329113824-5ca5bvp1awzies5u
2011-03-29 13:38:24 +02:00
Harry (OpenERP) 16fba52bd2 [MERGE] merged with trunk server development branch
bzr revid: hmo@tinyerp.com-20110329110904-nath968yn3kd1c16
2011-03-29 16:39:04 +05:30
aag (OpenERP) acfe39b362 [IMP]: TASK of REWORK- Remove Upgrade call
bzr revid: aag@tinyerp.co.in-20110329091647-lzs4ixakt6si816q
2011-03-29 14:46:47 +05:30
aag (OpenERP) a7e6873ec0 [IMP]: TASK of REWORK- install Appl can install MOD
bzr revid: aag@tinyerp.co.in-20110329075257-s53u2vodvn2c3jid
2011-03-29 13:22:57 +05:30
Rifakat Haradwala (Open ERP) e3c85bedf0 [IMP] ir_mail_server.py: improvement in send_email method
bzr revid: rha@tinyerp.com-20110328134850-x6dyw3zzqz4k8m1w
2011-03-28 19:18:50 +05:30
aag (OpenERP) cbc13937e3 [MERGE]: Merge with lp:trunk-rework-server-23-mar-aag
bzr revid: aag@tinyerp.co.in-20110328123138-b2wjp720skvmxlri
2011-03-28 18:01:38 +05:30
aag (OpenERP) 5937bf5f1b [IMP]server: Modification of Rework on 28 mar
bzr revid: aag@tinyerp.co.in-20110328122012-1eil91tbkm1av7db
2011-03-28 17:50:12 +05:30
Olivier Dony 9effe4fa6d [IMP] tools: add "unquote" class for magic bare variables in context/domains
This is used to allow bare active_id variables in context
or domains of act_window tags. 
Note that previously this was done by replacing the active_id with
a active_id string, which required further trick on the client
side to perform the reverse operation.

bzr revid: odo@openerp.com-20110328075920-ljadcubezs9swli8
2011-03-28 09:59:20 +02:00
Rucha (Open ERP) 4675331cc6 [MERGE]: Merge with latest trunk
bzr revid: rpa@tinyerp.com-20110328060832-ug8yyao10v0xyk95
2011-03-28 11:38:32 +05:30
Rifakat Haradwala (Open ERP) 6a76b19d2e [IMP] ir_mail_server.py: implemented onchange for tls and ssl boolean field
bzr revid: rha@tinyerp.com-20110325115702-6066ifi582eztgfq
2011-03-25 17:27:02 +05:30
Rifakat Haradwala (Open ERP) 2bf882fbf7 [IMP] misc.py: improvment in email_send method and added data record for ir_mail_server
bzr revid: rha@tinyerp.com-20110325040537-sp96w9i3gceu6yfn
2011-03-25 09:35:37 +05:30
Olivier Dony 444df6affa [FIX] ir.rule,expression: domain expressions must be normalized before they can be safely combined
This adds a normalize_domain() method to osv.expression, which ir.rule calls
before combining expressions due to multiple rules or groups being applicable
to a certain user.
YAML tests are also added with a trivial unit test of normalize_domain() and
some additional tests for ir_rule in order to verify that unnormalized domains
are properly normalized before being combined by ir.rule.

bzr revid: odo@openerp.com-20110324111757-uwuoqvm3lxkipr08
2011-03-24 12:17:57 +01:00
Olivier Dony 6a46a15185 [IMP] ir.model.access: split method for generating the list of groups that have a given access right
This is useful when modules later need to override it, for example when adding
hidden groups that should not be mentioned there (this is what the share module
does).

bzr revid: odo@openerp.com-20110324111427-puz4jtrem9ceibxf
2011-03-24 12:14:27 +01:00
Olivier Dony fbdf1817de [FIX] yaml_tag: python records should log AssertionErrors at ERROR level by default
bzr revid: odo@openerp.com-20110324111055-nlnv42jrgtdihens
2011-03-24 12:10:55 +01:00
Rucha (Open ERP) 9f19a012e4 [MERGE]: Merge with latest trunk
bzr revid: rpa@tinyerp.com-20110324103016-5zsrwoznel6235wi
2011-03-24 16:00:16 +05:30
Vo Minh Thu 7766fcca62 [REF] renamed openerp-server.py to openerp-server.
bzr revid: vmt@openerp.com-20110324095012-a5joofz60zrhbit5
2011-03-24 10:50:12 +01:00
aag (OpenERP) df95b01bd5 [IMP] BASE: Now we can Inatall and Uninstall with only one Btn
bzr revid: aag@tinyerp.co.in-20110324094305-tls5c7bpn70a8cmd
2011-03-24 15:13:05 +05:30
Rifakat Haradwala (Open ERP) b0d6ac3915 [IMP] : improvement in send_email
bzr revid: rha@tinyerp.com-20110323130601-hryhc1fh8dakr2o7
2011-03-23 18:36:01 +05:30
Rucha (Open ERP) 62cb6ff7cc [REVERT]: Applied reverse changes for revno:3358
bzr revid: rpa@tinyerp.com-20110323121204-58g0hzqg5gz7f9yg
2011-03-23 17:42:04 +05:30
Rucha (Open ERP) a384b6c137 [REVERT]: Applied reverse changes for revno:3364
bzr revid: rpa@tinyerp.com-20110323121110-ji6ir01aemzrqru4
2011-03-23 17:41:10 +05:30
Vo Minh Thu d02ffafe30 [MERGE] merged the 6.0 branch.
bzr revid: vmt@openerp.com-20110322140841-6lt7ky1ohxbrgx68
2011-03-22 15:08:41 +01:00
Rifakat Haradwala (Open ERP) 6c699c5082 [IMP] ir_mail_server.py: created method email_send and did other changes
bzr revid: rha@tinyerp.com-20110322133555-dshlx0em3n3y7el3
2011-03-22 19:05:55 +05:30
Rifakat Haradwala (Open ERP) 75e5720f4e [IMP] ir.xml: created view for ir_mail_server and added menu
bzr revid: rha@tinyerp.com-20110321131209-jqwa3mop83nuy7av
2011-03-21 18:42:09 +05:30
Rifakat Haradwala (Open ERP) a3c6bf9016 [ADD] ir_mail_server.py: created class for mail server ir_mail_server
bzr revid: rha@tinyerp.com-20110318132252-w0c8vi4svhwjntem
2011-03-18 18:52:52 +05:30
Rucha (Open ERP) 2a718069d6 [IMP]: Improvement in module install/uninstall/upgrade so after this updates we will have a better dialog box to see the changes applied
bzr revid: rpa@tinyerp.com-20110318123852-vzifr66nmq3tk4tl
2011-03-18 18:08:52 +05:30
Rifakat Haradwala (Open ERP) 9ac5486c9a [Merge]: merge with lp:~openerp-dev/openobject-server/emails-framework
bzr revid: rha@tinyerp.com-20110317095258-m3hn59zd57x0u92l
2011-03-17 15:22:58 +05:30
Rucha (Open ERP) 0c6da1259c [IMP]: Minor usability improvement
bzr revid: rpa@tinyerp.com-20110316133901-hcset7z5obd2793n
2011-03-16 19:09:01 +05:30
Quentin (OpenERP) 6ddd345ee0 [MERGE] merged with main server branch
bzr revid: qdp-launchpad@openerp.com-20110316125510-fq9fz92zhlbypjfd
2011-03-16 13:55:10 +01:00
Rucha (Open ERP) 4b3c2c7514 [IMP]: res_config: Improvement for the main application: like HR, we want them to be able to re-thick an installed application
but in HRs configuration, if hr_holidays is already installed, the boolean "holidays management" should be thick and readonly

bzr revid: rpa@tinyerp.com-20110316120444-vqllngptthlfmeo5
2011-03-16 17:34:44 +05:30
Olivier Dony ad2967d350 [MERGE] merged fix for osm_memory.read() of m2o fields with name - pending addons fix
bzr revid: odo@openerp.com-20110315132628-uhhpf95b9iyin482
2011-03-15 14:26:28 +01:00
Rucha (Open ERP) 189917c479 [FIX]: Fixed direct use of userID 1 in xml, used context on creation of group
bzr revid: rpa@tinyerp.com-20110315123444-ihprzymdmcmwhxuy
2011-03-15 18:04:44 +05:30
Vo Minh Thu 8fae3e7c6f [FIX] sql_db: use the config values later than at import time.
lp bug: https://launchpad.net/bugs/716715 fixed

bzr revid: vmt@openerp.com-20110308140449-5v883yms1z8dy23k
2011-03-08 15:04:49 +01:00
Rucha (Open ERP) 375dff2b6d [MERGE]: Merge with lp:~openerp-dev/openobject-server/trunk-rework-server-commited-aag
bzr revid: rpa@tinyerp.com-20110308133638-rsd2a6zgrehv91qo
2011-03-08 19:06:38 +05:30
Rucha (Open ERP) 5ec7f2a66d [MERGE]: Merge with lp:~openerp-commiter/openobject-server/trunk-config-wizard-rework-sus
bzr revid: rpa@tinyerp.com-20110308132917-o02jlmgizzpy2fgb
2011-03-08 18:59:17 +05:30
aag (OpenERP) 2f343a6083 [IMP] REWORK-SERVERSIDE :Now skip wiz not Shown , ON SERVER SIDE
bzr revid: aag@tinyerp.co.in-20110304113327-wviumoee6o7n3n0u
2011-03-04 17:03:27 +05:30
Vo Minh Thu dd1943c45e [MERGE] merge 6.0 branch.
bzr revid: vmt@openerp.com-20110303133011-758wfx7zompu5ugq
2011-03-03 14:30:11 +01:00
aag (OpenERP) 6a165fd4a4 [IMP] REWORK-SERVERSIDE :Sale menu is not shown when Any appl not install , ON SERVER SIDE
bzr revid: aag@tinyerp.co.in-20110301132844-3w2q2czymhuyuvgb
2011-03-01 18:58:44 +05:30
aag (OpenERP) 7ddf04e324 [IMP] REWORK-SERVERSIDE :Add sale manager in Sale menu , ON SERVER SIDE
bzr revid: aag@tinyerp.co.in-20110301085443-5amgb5oh64469hwa
2011-03-01 14:24:43 +05:30
sus 73378da514 [IMP] : Improvement in server(module.py file)
bzr revid: sus@sus-desktop-20110301074035-7fx0v3gv8889slbb
2011-03-01 13:10:35 +05:30
aag (OpenERP) 43690eb21f [IMP] REWORK-SERVERSIDE :Improvement Config wiz , ON SERVER SIDE
bzr revid: aag@tinyerp.co.in-20110301072241-a8s1iialq6xeot23
2011-03-01 12:52:41 +05:30
Harry (OpenERP) 5e19504a56 [MERGE] merged trunk-server-development branch
bzr revid: hmo@tinyerp.com-20110225075326-qv35g149vegd30h1
2011-02-25 13:23:26 +05:30
Vo Minh Thu b7740b4f84 [FIX] act_window access: corrected the access for normal users to read-only.
lp bug: https://launchpad.net/bugs/720277 fixed

bzr revid: vmt@openerp.com-20110223145335-d39xu9nyasz8gi2o
2011-02-23 15:53:35 +01:00
Yogesh (OpenERP) 3723536d5d [IMP] add reference argument in email_send method for references of send email.
bzr revid: ysa@tinyerp.com-20110223122420-p6b1z9rglae6euwf
2011-02-23 17:54:20 +05:30
Olivier Dony 95de9e8cb4 [IMP] orm.fields_view_get: allow passing a view_id from a different model for creative inheritance
There are cases where several objects would like to use a single view, but
by default they cannot because a view belongs to only one model.
With this change, it becomes possible to do inheritance "by copy", reusing
a view from another model without having to redefine it, just by specifying
its view_id in the relevant actions. If the original view needs to be modified,
it is also possible to explicitly inherit the parent view from the other
model, and the effect will be what is expected: the child view can be
specified in an action, and will be the result of the inheritance applied
on the parent view; but on the other hande the parent view itself is
unaffected when used in the context of its own model.

bzr revid: odo@openerp.com-20110221172757-qepq5osjqgd9uf8x
2011-02-21 18:27:57 +01:00
Olivier Dony 2621b707e0 [MERGE] merged latest fixes from 6.0 branch up to rev 3348
Rev 3348 is odo@openerp.com-20110221101549-vp0ha2g91yl30cmk.

bzr revid: odo@openerp.com-20110221103235-6tdy5tpb6zvkbzs3
2011-02-21 11:32:35 +01:00
Harry (OpenERP) 5e65a44d19 [MERGE] merged from trunk-server-development branch
bzr revid: hmo@tinyerp.com-20110215101923-nh0t5cgf9y4n4fmz
2011-02-15 15:49:23 +05:30
Harry (OpenERP) 67f8f91945 [REVIEW+IMP] email_service: add argument for message_id in email_send and remove argument: openoject_id into _email_send
bzr revid: hmo@tinyerp.com-20110215063729-6x9gijb9zb24lk8a
2011-02-15 12:07:29 +05:30
Harry (OpenERP) 8d37539d5c [REVIEW] emails_service: remove smtp_email_from argument from email_send method
bzr revid: hmo@tinyerp.com-20110215061922-i61uyl2lniv7rkbe
2011-02-15 11:49:22 +05:30
Olivier Dony e1d2a87fc9 [FIX] tools.config: expansion of user and path should work with multiple addons path too
lp bug: https://launchpad.net/bugs/716710 fixed

bzr revid: odo@openerp.com-20110214102914-98gdvyx5y4v2kysx
2011-02-14 11:29:14 +01:00
Harry (OpenERP) ed13fcdd62 [MERGE] merged ysa-email-server branch
bzr revid: hmo@tinyerp.com-20110214091053-14vrxy08ibq6jlku
2011-02-14 14:40:53 +05:30
Olivier Ligot bafa90b716 [IMP] The command line option --i18n-overwrite can also be used when updating modules
bzr revid: olivier.ligot@groupes.be-20110209100845-ldgoxolfz98k3mnu
2011-02-09 11:08:45 +01:00
Julien Thewys 6a11b89e17 [FIX] ensures no illegitimate cli argument is silently discarded
This avoids an insidious behavior: when copy-pasting a command from a
Microsoft document to the cmd terminal, one might not see that a hyphen ('-')
preceding an option has been converted to a dash (u'\u2012') which is then
interpreted as a normal cli argument (i.e. not an option) and thus silently
discarded.

bzr revid: jth@openerp.com-20110209100735-jaschhlv3cfqjry5
2011-02-09 11:07:35 +01:00
Olivier Dony 14ebc46e3a [FIX] tools.translate: add missing imports after previous merge
bzr revid: odo@openerp.com-20110209090231-odqbf8leyurdh945
2011-02-09 10:02:31 +01:00
Olivier Dony d31260e8a8 [FIX] tools.config: override root_path in config, and avoid saving it
This should help avoid common issues with an obsolete root_path saved in
the config file. We also expand the path on-the-fly, and do the same for
addons_path.

bzr revid: odo@openerp.com-20110208170927-3kqk0c06qmxu2ko5
2011-02-08 18:09:27 +01:00
Olivier Dony cfc6d831df [MERGE] merged latest 6.0 fixes up to rev 3339
Revision 3339 = odo@openerp.com-20110208140924-0bgxqgt1oyrxwz3z

bzr revid: odo@openerp.com-20110208164923-u7mzknc0b3avb9i0
2011-02-08 17:49:23 +01:00
Vo Minh Thu 6713d57ab1 [MERGE] merge of the openerp python module branch.
bzr revid: vmt@openerp.com-20110208150149-x4vu09aj42ezma5a
2011-02-08 16:01:49 +01:00
Vo Minh Thu 3613935c53 [FIX] addons.__init__: make sure ad_paths is initialized before using it.
bzr revid: vmt@openerp.com-20110208132719-qhlqqjkcyg3j9hv8
2011-02-08 14:27:19 +01:00
Vo Minh Thu 45239ae493 [IMP] openerp.__init__ can imports all its submodules.
- The config parser is given sys.args explicitely
- addons.__init__ changed so it can be imported in openerp.__init__

bzr revid: vmt@openerp.com-20110208092923-42mj8sb8mkfbiytw
2011-02-08 10:29:23 +01:00
Vo Minh Thu ec17bb9e74 [IMP] forgot to add loglevels.py and reexport 3 functions in tools.misc.
bzr revid: vmt@openerp.com-20110208092458-qjfvf1vgflervdpm
2011-02-08 10:24:58 +01:00
Vo Minh Thu f8572e5c60 [IMP] openerp python module.
- Some logging code moved from netsvc.py to loglevels.py
- Changed imports to use the new openerp module
- config and netsvc initialization calls move to openerp-server.py
- Moved openerp-server.py outside the old bin directory
- Some imports in tools moved inside the methods to break mutual-dependencies

bzr revid: vmt@openerp.com-20110207125723-ooee7d7ng5elmkso
2011-02-07 13:57:23 +01:00