improves the _orderpoint_count method. Also, as a bonus, the preexisting orderpoint_ids is not used
in any other place, so it can be removed as well
bzr revid: ged@openerp.com-20140507134134-isaor8ulq4pf5wrt
improves the code of _issue_count (both in partner and in project). This makes the issue_ids field in res_partner useless,
so issue_ids is also removed.
bzr revid: ged@openerp.com-20140507132949-tbtd4pl33zwhzgwd
change the way bom_count, bom_strct and mo_count are computed, removes the try/except/pass statements, improves the logic.
Also, for some reason, bom_strct is the same as bom_count, but I don't really know what it is supposed to be, and the Bom Structure and Bill of materials buttons leads to views with the same number of items.
bzr revid: ged@openerp.com-20140507125248-ctv491ktx008v9ic
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
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
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
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
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
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
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
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