Commit Graph

30 Commits

Author SHA1 Message Date
Ronald Portier (Therp BV) d73648fe0d
[FIX] crm,gamification: flexible reference to field
The field generation is most of the time following the pattern
`field_<table name>_<field name>`
but in case of name clash (e.g. res.partner.category - id and res.partner -
category_id), the id of ir.model.field is added at the end of the external id
during the field creation.

The more flexible way to link to an ir.model.field is to use the syntax
`search=[('model', '=', <model>), ('name', '=', <field name>)]`
to avoid errors as in #12192 when the "first" external id no longer exists.

Fixes #12192
Closes #12198
2016-05-30 15:02:20 +02:00
Martin Trigaux edaff77cc1 [IMP] gamification_sale_crm: change date filed for definition "Logged Calls"
The field date_close is only computed when writing the state done. In v8, the phonecalls are always created in state done if the user is not in the group crm.group_scheduled_calls (displays menus to schedule calls.
As the field date_closed is then almost never set, change the date field by the one displayed in the form view. opw 614893
2014-09-30 11:33:45 +02:00
Christophe Simonis 7a7d7febf8 [MERGE] forward port of branch saas-3 up to revid 9429 chs@openerp.com-20140424123538-rxk9got9k2on1ki1
bzr revid: chs@openerp.com-20140424131824-4ksluvhnegp7kplb
bzr revid: chs@openerp.com-20140424134533-lhhcd32n3s0m9cqk
2014-04-24 15:45:33 +02:00
Martin Trigaux f756fa671e [FIX] gamification: remove wrong double quote in xml
website_forum: restrict granting rights on forum badges

bzr revid: mat@openerp.com-20140422090937-l2mxc828hof9u8pi
2014-04-22 11:09:37 +02:00
Martin Trigaux 130f572d81 [IMP] gamification: use evaluated version of the domain.
Needs server fix to avoid sending evaluated data.

bzr revid: mat@openerp.com-20140418161053-lc970koh96wfe200
2014-04-18 18:10:53 +02:00
Martin Trigaux 067f21ce5a [FIX] gamification: set data in noupdate blocks to allow the user to customise it without loosing changes after update
bzr revid: mat@openerp.com-20140418120846-h8yo4ljult88f1h3
2014-04-18 14:08:46 +02:00
Martin Trigaux 14bc71c3ef [FIX] gamification_sale_crm: incorrect domain
bzr revid: mat@openerp.com-20140416153428-l1p4ju4vvgwe6e5z
2014-04-16 17:34:28 +02:00
Martin Trigaux d79cbd3fb8 [FIX] gamification: convert autojoin_group_id to a domain representing the list of users
bzr revid: mat@openerp.com-20140416151026-lmvyo8k0wo4hw9gn
2014-04-16 17:10:26 +02:00
Gery Debongnie b44035d478 [FIX] changes reference to removed field account_invoice_report_day to account_invoice_report_date in addon gamification_sale_crm
bzr revid: ged@openerp.com-20140130100656-5ki5ihw7tla2yuya
2014-01-30 11:06:56 +01:00
Martin Trigaux be7bc54edc [REF] gamification: use m2o to email.template for report progress, create new field report_template_id, cleaning code
bzr revid: mat@openerp.com-20131224144514-lmbhw88nj7aa3r8i
2013-12-24 15:45:14 +01:00
Martin Trigaux 4bc29b9ffa [REF] gamification
bzr revid: mat@openerp.com-20131217170232-e0zruxzl1wlycaji
2013-12-17 18:02:32 +01:00
Martin Trigaux 122c15c48d [REF] gamification: pretty much changing half of the code to make tde happy...
bzr revid: mat@openerp.com-20131217161541-oxsgy7gmko2x6qui
2013-12-17 17:15:41 +01:00
Martin Trigaux f02ed9b4cb [FIX] gamification_sale_crm: include lead converted to opportunity into lead count goal
bzr revid: mat@openerp.com-20131212105005-waw5n2wpe0gzwxqg
2013-12-12 11:50:05 +01:00
Martin Trigaux 3d21d89c93 [FIX] gamification: change field name unit -> suffix
bzr revid: mat@openerp.com-20131212101444-v1y643ra8kl4eet0
2013-12-12 11:14:44 +01:00
Martin Trigaux bb17b02de5 [IMP] gamification: more flexible domain, using email_templates
bzr revid: mat@openerp.com-20130606124708-3occhsgwkaxwzyp3
2013-06-06 14:47:08 +02:00
Martin Trigaux d14496e578 [IMP] tweak css
bzr revid: mat@openerp.com-20130425154028-rt3uv8mtykl9ff2g
2013-04-25 17:40:28 +02:00
Martin Trigaux 7a2fd09518 [FIX] correct domain for logged call
bzr revid: mat@openerp.com-20130423082704-mf02y1yopnr0jjmc
2013-04-23 10:27:04 +02:00
Martin Trigaux 8b400f7e88 [IMP] remove many2many display and clean ups
bzr revid: mat@openerp.com-20130422133355-ffhglxrkdia2hz4j
2013-04-22 15:33:55 +02:00
Martin Trigaux d853f64aab [FIX] filter on lead
bzr revid: mat@openerp.com-20130418141117-sff6ly4p041eqt4n
2013-04-18 16:11:17 +02:00
Martin Trigaux 0222ae2a21 [IMP] better data
bzr revid: mat@openerp.com-20130415155014-y6bdafhnmb5g7kqj
2013-04-15 17:50:14 +02:00
Martin Trigaux da485c70c6 [IMP] remove one planline in demo
bzr revid: mat@openerp.com-20130410114735-u4vhkff2i5qwjolj
2013-04-10 13:47:35 +02:00
Martin Trigaux 57c1ad67fe [REF] cleaning code
bzr revid: mat@openerp.com-20130404152359-3x3gt9xhkrkr0au4
2013-04-04 17:23:59 +02:00
Martin Trigaux 59c61a7554 [IMP] change plans
bzr revid: mat@openerp.com-20130329125331-0fxnwymun04i5itr
2013-03-29 13:53:31 +01:00
Martin Trigaux 635df4028a [ADD] monetary field
bzr revid: mat@openerp.com-20130326154553-t8cacle6s1oll4r9
2013-03-26 16:45:53 +01:00
Martin Trigaux b9507e503f [IMP] gamification: add unit and description in kanban
bzr revid: mat@openerp.com-20130307095453-ttfyk3rfkm763ut9
2013-03-07 10:54:53 +01:00
Martin Trigaux 2f55e6dd06 [FIX] correct goals import and plan update
bzr revid: mat@openerp.com-20130307091201-h623irkxr4b3i7ry
2013-03-07 10:12:01 +01:00
Martin Trigaux fca11bc1f1 [IMP] various changes after review
bzr revid: mat@openerp.com-20130306144544-nxtwzbcx600phczf
2013-03-06 15:45:44 +01:00
Martin Trigaux d6f0f18704 [FIX] correct domain for paid sale order
bzr revid: mat@openerp.com-20130305132439-osy5e921w30lt5k1
2013-03-05 14:24:39 +01:00
Martin Trigaux a1fad1665a [ADD] demo data for gamification_sale_crm
bzr revid: mat@openerp.com-20130304163035-eb18sn25z9qm242o
2013-03-04 17:30:35 +01:00
Martin Trigaux 102064ee0d [ADD] data for gamification plan in the sale_crm module
bzr revid: mat@openerp.com-20130304153325-nzc6f04groiuqsn8
2013-03-04 16:33:25 +01:00