don't redraw the full table when folding rows. instead, it removes from the dom the corresponding rows. This should give a big speed boost when folding rows on big tables.
bzr revid: ged@openerp.com-20140508124002-yaa383rq4c0qhrf8
the rendering code of the pivot table didn't use $ in jquery variables,
this commit fixes that issue and slightly simplify their names.
bzr revid: ged@openerp.com-20140508111311-kargzvzlttutwt47
Previously, it was done in a ugly way: added several spans with the class
.graph_indent. Now, it simply sets the margin of the content.
bzr revid: ged@openerp.com-20140508110027-bdjdzlpfptjuf4fa
The additional parameters were made to avoid overwriting values when changing of template.
As we can not add parameters in only one module, we overwrite values only for not saved records.
This mitigates the overwrite while not changing the API.
bzr revid: mat@openerp.com-20140508083948-gkk7d1250a8znhlt
also, add a comment to explain why it is necessary to add a _claim_count_out method in
stock_picking_out even though it will not be called.
bzr revid: ged@openerp.com-20140508083149-rdophw2iihzntfpr
also, simplify the implementation. The empty method _claim_count in
stock_picking_out is due to the weird way inheritance works in openerp,
and the fact that stock.picking.out only call the method in its parent
bzr revid: ged@openerp.com-20140508075957-lyqvng5i155b28cy
The claim_count field was incorrectly added into addon stock instead
of addon claim_from_delivery. The commit adding the claim_count field
in stock.py was reverted, but claim_count is still needed in
claim_delivery_view.xml.
bzr revid: ged@openerp.com-20140508072741-sr3a9ishpqtkczlq
- allow fiscal position change on sale orders
- public user on website
- simplify website_sale sale.order and shopping cart code
- remove preprocess_request
bzr revid: al@openerp.com-20140507153223-q73u5lhyrfw98o3a
The code I merged in my branch stat buttons was sadly not up to our
standing... This branch improves the situation by removing harmful
try/excpet/pass statements, by using search_count when appropriate, by
removing unused one2many fields and by correcting some bugs
bzr revid: ged@openerp.com-20140507151749-k37iclwt499ip3e4
simplify a few _count methods by removing useless try/except/pass and by using search_count when appropriate. It allows us to remove two one2many fields as well.
bzr revid: ged@openerp.com-20140507144532-dgm9mfgt9k5p10jr
remove try/except/pass in _count_detail_payslip and in _payslip_count, improves these methods and remove the now useless field payslip_ids
bzr revid: ged@openerp.com-20140507135826-xlo5gn7iq612lonp
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
Instead of raising an exception (which only interupt the call of the onchange methods), return a dictionnary to set the forbidden partner or product to an empty value.
The call is not blocking in a way to forbid creating a record that uses this partner/product but it is not possible to select it through the web interface.
bzr revid: mat@openerp.com-20140507113940-d8iynfl1lcskht63
* _get_tracked_fields should return a dict even when there's no tracked field
(return an empty dict)
* in write, only call _get_tracked_fields once, initialize to None instead of
a list (especially since it should be a dict in the first place)
bzr revid: xmo@openerp.com-20140507103056-ykr9f57yxpw1c542
Instead of raising an exception (which only interupt the call of the onchange methods), return a dictionnary to set the forbidden partner or product to an empty value.
The call is not blocking in a way it forbid to create a record that uses this partner/product but it make it not possible to select it through the web interface.
bzr revid: mat@openerp.com-20140507102550-sms5nbf0u7pdkci9
The body is the field used to actually display the 'log in with ...'
As not shown in the view, when adding a new provider, this field was empty and therefore wasnt visible on the login form...
bzr revid: dle@openerp.com-20140507102414-vz7ur7zvh4ptuk2e
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