Commit Graph

85617 Commits

Author SHA1 Message Date
Gery Debongnie aeebac88d9 [FIX] code cleanup (addon account)
improve the logic of _journal_item_count (removes try/except/pass, use search_count) and remove useless one2many field in res_partner (journal_item_ids)

bzr revid: ged@openerp.com-20140507121310-ya6m71fvs40rf90d
2014-05-07 14:13:10 +02:00
Gery Debongnie 9f3abe3ea4 [FIX] code cleanup (addon crm)
improves the method to count opportunities/meetings/phonecalls in res_partner.py.  It was bugged in two different way: the phonecall_count field was counting the number of meetings and not of phone calls, and it was in the try statement, so it might give an incorrect value if an exception occurs in the computation of opportunity/meeting

Also, remove useless meeting_ids one2many field in crm_lead.py and improves the method meeting_count

bzr revid: ged@openerp.com-20140507100954-1aqnd93iu5wsixob
2014-05-07 12:09:54 +02:00
Gery Debongnie 88cef3a8eb [FIX] code cleanup (addon crm)
remove unused fields meeting_count and meeting_ids

bzr revid: ged@openerp.com-20140507094553-fwj05122ncr3uic1
2014-05-07 11:45:53 +02:00
Gery Debongnie ca5e95b7ef [FIX] code cleanup (addon stock)
improves the _move_count method by removing try statement and using better logic.  Also, removes now useless one2many field (move_ids)

bzr revid: ged@openerp.com-20140507093442-ew1gc06r58tbl9ug
2014-05-07 11:34:42 +02:00
Gery Debongnie 2d924f3e22 [FIX] code cleanup (addon sale)
improves the _sales_count method in product.product by removing try/catch and by using better logic.  Also, removes now useless sales_ids one2many field.

bzr revid: ged@openerp.com-20140507092303-a2g4gq2mq3obelye
2014-05-07 11:23:03 +02:00
Gery Debongnie 298edf7217 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140507091210-2bhcz5azxmgcc37o
2014-05-07 11:12:10 +02:00
Gery Debongnie d8fef2825e [FIX] code cleanup (addon account_analytic_default)
improves the _rules_count method (remove try/catch and better logic), and
removes now useless one2many field rules_ids

bzr revid: ged@openerp.com-20140507090841-jptga7kjrverd25n
2014-05-07 11:08:41 +02:00
Gery Debongnie 943f2d4e4e [FIX] code cleanup (addon hr_evaluation)
improves _appraisal_count method and remove now useless one2many field appraisal_ids

bzr revid: ged@openerp.com-20140507090328-wyl9gbfzdc540d1k
2014-05-07 11:03:28 +02:00
Gery Debongnie ff7ad5e918 [FIX] code cleanup (addon project)
improves the _task_count method by removing try clause and using
search_count

bzr revid: ged@openerp.com-20140507085535-16w47y51r6q3yqza
2014-05-07 10:55:35 +02:00
Gery Debongnie cc041c516a [FIX] code cleanup (addon hr_holidays)
improves th _leaves_count method, and remove an useless one2many field
(leaves_ids)

bzr revid: ged@openerp.com-20140507083556-rqm5sllj8fc3qfev
2014-05-07 10:35:56 +02:00
Gery Debongnie b08e0b0fe1 [FIX] code cleanup (addon crm_claim)
improves the _claim_count method by removing try/except/pass and by using
search_count. Also, removes the now useless one2many field claims_ids (strangely, it was defined before
_claim_count, but was not used.

bzr revid: ged@openerp.com-20140507081723-7pi1t33xxjb6hbwy
2014-05-07 10:17:23 +02:00
Gery Debongnie 0a9a393010 [FIX] code cleanup (addon fleet)
improve the _count_all method by removing try/catch/pass and by
using search_count instead of the one2many relation.

Also, removes now useless one2many fields costs_ids and odometer_ids

bzr revid: ged@openerp.com-20140507075645-2tp5zgayeea9ehv2
2014-05-07 09:56:45 +02:00
Launchpad Translations on behalf of openerp 93bab6ba7a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140507062712-t81pc41duzjfrwa6
2014-05-07 06:27:12 +00:00
Fabien Meghazi 7db3619c37 [REM] html_template and render_bootstrap_template()
bzr revid: fme@openerp.com-20140506163422-vruavrvkcowu09zi
2014-05-06 18:34:22 +02:00
Fabien Meghazi 8dc5f240a9 [REM] Removed addons.web#html_template usage
bzr revid: fme@openerp.com-20140506163334-x94pz9bau4a0r0lb
2014-05-06 18:33:34 +02:00
Fabien Meghazi 15380fd5d2 [ADD] modules global rendering variable
This is temporary

bzr revid: fme@openerp.com-20140506163204-u63n3wv1yv6yohd3
2014-05-06 18:32:04 +02:00
Mohammed Shekha 0e62b9d8df [IMP] Jinja template for database manager
bzr revid: fme@openerp.com-20140506155051-3u3kkb9lpvm06iad
2014-05-06 17:50:51 +02:00
Fabien Meghazi ee1fbd17c8 [FIX] jQuery.ui - boostrap conflict
bzr revid: fme@openerp.com-20140506153335-x2fwpajvthcru1cv
2014-05-06 17:33:35 +02:00
Fabien Meghazi b393c4ac18 [FIX] jQuery.ui - boostrap conflicts
bzr revid: fme@openerp.com-20140506153300-0p1gwnrxihpb4y3r
2014-05-06 17:33:00 +02:00
Gery Debongnie c941eb8ca4 [FIX] code cleanup (addon purchase)
remove useless one2many field in product.product, and improves the way
purchase_count is computed

bzr revid: ged@openerp.com-20140506150732-e0ztuzqm7hqu183p
2014-05-06 17:07:32 +02:00
Fabien Meghazi f6e33eca13 [IMP] do_warn on ClientAction not found
bzr revid: fme@openerp.com-20140506122840-01b9xtewp4wcv42g
2014-05-06 14:28:40 +02:00
Fabien Meghazi c033b660e8 [ADD] openerp.loadBundle()
bzr revid: fme@openerp.com-20140506103649-wrfa25boj2chy6gl
2014-05-06 12:36:49 +02:00
Launchpad Translations on behalf of openerp 2b67c9c77b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506061338-jwpj0jxfcnakph24
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506061359-p8lxp23aopeb6mwh
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506063612-leryt792evbx9hsy
2014-05-06 06:36:12 +00:00
Fabien Meghazi cf8cf4f255 [REM] preprocess_request from website
The method is still there with only a pass statement
Will completetly remove once chm merges his branch

bzr revid: fme@openerp.com-20140505163841-lstk3r37sf23ngrg
2014-05-05 18:38:41 +02:00
Kersten Jeremy 868f54780e [MERGE] Merge with trunk-cal-V8-jke. - Change field datetime into date or datetime according to that event type is in all day or not...
bzr revid: jke@openerp.com-20140505162422-k332rm7j21af5ore
2014-05-05 18:24:22 +02:00
Kersten Jeremy c9c4e3ab43 [MERGE] Merge with trunk-cal-V8-jke. - Change field datetime into date or datetime according to that event type is in all day or not...
bzr revid: jke@openerp.com-20140505162257-rsb0ez8n9u6engu9
2014-05-05 18:22:57 +02:00
Fabien Meghazi 540b753bf8 [ADD] Support for ir.attachments in assets bundles
bzr revid: fme@openerp.com-20140505160953-yk6688ey7eoz5579
2014-05-05 18:09:53 +02:00
Kersten Jeremy 20545be3db [REF] Replace temp name by real name
bzr revid: jke@openerp.com-20140505154343-7r6t02n51ts8m8j9
2014-05-05 17:43:43 +02:00
Kersten Jeremy f3c01647d7 [FIX] Add missing security rules
bzr revid: jke@openerp.com-20140505154309-whfdzf7suf8307vd
2014-05-05 17:43:09 +02:00
Kersten Jeremy 6d00292064 [REF] Replace temp name by real name
bzr revid: jke@openerp.com-20140505154246-8vahdzf60oiksm62
2014-05-05 17:42:46 +02:00
Fabien Meghazi 9ca54d43ca [ADD] base_import_module test module, static asset in backend bundle
bzr revid: fme@openerp.com-20140505145816-jz7e4byh1imrkaek
2014-05-05 16:58:16 +02:00
Fabien Meghazi 45d64640f8 [REV] defer
bzr revid: fme@openerp.com-20140505131012-owp0qucjbnesp4ee
2014-05-05 15:10:12 +02:00
Kersten Jeremy 4ce7e8c6dd [FIX] Fix access rule for portal. Add timezone in small calendar from email
bzr revid: jke@openerp.com-20140505124657-t6gxusxkkgon06hf
2014-05-05 14:46:57 +02:00
Fabien Meghazi 33ad1076e9 [TRY] defer
bzr revid: fme@openerp.com-20140505121036-044ecvq8s3d669b2
2014-05-05 14:10:36 +02:00
Fabien Meghazi b0cbaf330a [IMP] website: load website.xml templates only in editable mode
bzr revid: fme@openerp.com-20140505113800-wv5vh802us270oez
2014-05-05 13:38:00 +02:00
Kersten Jeremy 834e0bb367 [FIX] Calendar - set tz compatible in template mail and view (from email link). now it's possible to choose in template the TZ of the attendee, or the tz from event creator...
bzr revid: jke@openerp.com-20140505104611-6qwpwwslxen0bea5
2014-05-05 12:46:11 +02:00
Raphael Collet 1d0a6e20a4 [FIX] event: move definition of fields track_ids and count_tracks to the right module
bzr revid: rco@openerp.com-20140505085739-z2asr1vrx6yyjtlh
2014-05-05 10:57:39 +02:00
Fabien Pinckaers f55dfdc40e [IMP] Certification Template
bzr revid: fp@tinyerp.com-20140504113847-4xmjg30m5leaqz2c
2014-05-04 13:38:47 +02:00
Gery Debongnie 8fbebfd752 [MERGE] merge the last changes to improve the 'stat buttons' support in web
Many small tweaks/css changes to correctly display the stat buttons in
various situations (with/without icons, with/without strings, with sub 
widgets, ...)

bzr revid: ged@openerp.com-20140502145211-ehnb1v66szw7nl01
2014-05-02 16:52:11 +02:00
Gery Debongnie c9e7635859 [MERGE] converts buttons in form views into 'stat buttons'
This branch converts pretty much every buttons in 'stat buttons',
which means buttons that can display any kind of information.  Right
now, it is mostly used to display a numerical information (such as a 
number, for example 9 Calls).  Also, look at the invoices button in 
Customers form view for an example of a functional field, displaying
the total amount invoiced.

The stat buttons also supports sub widgets, for example a mini pie chart
or a mini bar chart.  Examples of such sub widgets can be found in 
marketing/mass mailings form views (not ready yet)

bzr revid: ged@openerp.com-20140502144544-c5j7bzlm9i4clv4l
2014-05-02 16:45:44 +02:00
Kersten Jeremy 1aff5f6bf8 [MERGE] Merge with trunk
bzr revid: jke@openerp.com-20140502142126-408hej7jdb9bnrzm
2014-05-02 16:21:26 +02:00
Mohammed Shekha 5600a79007 [IMP]Improved the database manager, instead of calling html_template, created separate html file which is rendered using jinja2, so that we don't need html_template once pos and edit support render_bootstrap_template.
bzr revid: msh@tinyerp.com-20140502132349-bw9zdyaou4yf8o7q
2014-05-02 18:53:49 +05:30
Gery Debongnie a8e1fbcbd3 [FIX] correct a small typo in previous merge (addon crm)
bzr revid: ged@openerp.com-20140502132258-88x9mam35o3k5ndm
2014-05-02 15:22:58 +02:00
Gery Debongnie 5aa2fa150c [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140502130753-4z24z1to9pkrckvq
2014-05-02 15:07:53 +02:00
Gery Debongnie 132ccb7180 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140502123355-9dqpwq1g9rrpisxj
2014-05-02 14:33:55 +02:00
Kersten Jeremy ed6bc9f198 [MERGE] Merge with trunk
bzr revid: jke@openerp.com-20140502123149-4g7d7xh07i5z9dct
2014-05-02 14:31:49 +02:00
Antony Lesuisse 6c950dc970 [FIX] ir_qweb revert async script attribute
bzr revid: al@openerp.com-20140501212023-x9r57i05nrr0g29f
2014-05-01 23:20:23 +02:00
Fabien Meghazi a22d0ce78a [FIX] edi, calendar webclient bootstrap
bzr revid: fme@openerp.com-20140501210507-cbl9no3o92zkdq5h
2014-05-01 23:05:07 +02:00
Fabien Meghazi db48dbef3e [FIX] database manager
bzr revid: fme@openerp.com-20140501210436-osyrvlue41w63i6f
2014-05-01 23:04:36 +02:00
Antony Lesuisse e6532d91ba [FIX] ir_qweb set js assets to async
bzr revid: al@openerp.com-20140501205153-ko00g1vyyrmc21k8
2014-05-01 22:51:53 +02:00