Xavier Morel
e1f3f0566e
[ADD] float field digits handling
...
bzr revid: xmo@openerp.com-20130927113424-lt23wpzs7px7k6mc
2013-09-27 13:34:24 +02:00
Xavier Morel
2707b17771
[IMP] add #verify PIL call, can't hurt
...
bzr revid: xmo@openerp.com-20130926134429-8uwav5lyck532eb2
2013-09-26 15:44:29 +02:00
Xavier Morel
789c0d8a6b
[ADD] Conversions from field values to "html" content
...
> many2one --> mettre <br/> si multi-line, html escape le reste (ex:
> adresse sur un event, on a du mettre dans un <pre> mais ce n'est pas
> bien)
> text --> mettre <br/> si multi-line, html escape le reste (ex:
> description d'un produit, à droite)
> char --> normalement pas de multi-line
> fields.binary --> t-field on image field ne semble pas fonctionner
> en écriture (la photo d'une fiche produit)
(validates that the binary field's content is image data by opening it
with PIL, then generates an <img> tag)
TODO:
> fields.float --> utiliser le digits pour formatter les decimals
> correctement (ex: prix d'un produit, à deux décimales)
> On aura aussi besoin d'un widget="currency", un peu comme dans la
> vue form du client web.
bzr revid: xmo@openerp.com-20130926133850-ab14h241q878jbom
2013-09-26 15:38:50 +02:00
Fabien Meghazi
9051c44d68
[ADD] oe-source-id in inherit branding
...
bzr revid: fme@openerp.com-20130925154155-v23u1l1go1spedzz
2013-09-25 17:41:55 +02:00
Fabien Meghazi
e01f97e8f7
[MERGE] upstream
...
bzr revid: fme@openerp.com-20130925085305-wbmdcm75i6o1qm30
2013-09-25 10:53:05 +02:00
Thibault Delavallée
71653438eb
[IMP] res_partner: demo data: have one partner coming from LA, to be able to use this town in various demo data
...
bzr revid: tde@openerp.com-20130924095602-u6q5u0c0jpnlc6nk
2013-09-24 11:56:02 +02:00
Thibault Delavallée
2939c58e72
[CLEAN] ir_ui_view: removed print statement
...
bzr revid: tde@openerp.com-20130923144830-i5iqzfc1pydm9pge
2013-09-23 16:48:30 +02:00
Thibault Delavallée
e07531f451
[FIX] don't try to set attributes on comments, it makes no sense
...
bzr revid: tde@openerp.com-20130923143349-y922fxtbkotsjzpf
2013-09-23 16:33:49 +02:00
Fabien Meghazi
1fbe796ec3
[WIP] Temporary qweb translation
...
TODO: refactor of ir.ui.view in order to abstract translations
bzr revid: fme@openerp.com-20130923114649-0ykl77hclzmjmkq3
2013-09-23 13:46:49 +02:00
Fabien Meghazi
31af948f59
[ADD] Add res_id parameter to ir.translation#_get_source()
...
bzr revid: fme@openerp.com-20130923114454-soquy5fkp1npjl40
2013-09-23 13:44:54 +02:00
Xavier Morel
be59c06403
[MERGE] from trunk
...
bzr revid: xmo@openerp.com-20130923111950-uk163cp891zl021h
2013-09-23 13:19:50 +02:00
Fabien Pinckaers
6188a2af5b
[IMP] YourCompany
...
bzr revid: fp@openerp.com-20130922193636-3iz72tu6c12j5x5l
2013-09-22 21:36:36 +02:00
Fabien Pinckaers
29326cd993
[IMP] Add file='...' on <field> tags + [FIX] forced noupdate
...
bzr revid: fp@openerp.com-20130922093113-80p3pig45qbm7lsn
2013-09-22 11:31:13 +02:00
Xavier Morel
724bbffc88
[FIX] Partially revert xmo@openerp.com-20130812074509-yopeb4pxtsads4d9
...
Change attempted to simplify branding distribution, but based node
branding on final view. To be able to rewrite, node branding must be
based on source views positions before applying inheritance.
Reintroduce manual generation of xpath in distribute_branding as
ElementTree.getpath() can't handle it.
Note: why isn't branding distribution performed during initial views
reading (e.g. inherit_branding)? Surely that would obviate the need
for special casing and manually creating paths no?
bzr revid: xmo@openerp.com-20130919130847-3t8zfpv9m9pcibg0
2013-09-19 15:08:47 +02:00
Xavier Morel
4b89b246a8
[FIX] distribute branding on t-if, t-for and t-att
...
bzr revid: xmo@openerp.com-20130917163708-u61ol5yqr3nrd9mu
2013-09-17 18:37:08 +02:00
Xavier Morel
47fac4836b
[IMP] avoid using Element.attrib when unnecessary
...
bzr revid: xmo@openerp.com-20130917154505-4kf77rqjrg1bncvk
2013-09-17 17:45:05 +02:00
Xavier Morel
8159503eb1
[FIX] ensure we distribute branding only over actual element, not over e.g. comments
...
bzr revid: xmo@openerp.com-20130917154414-zdbv7861e9p6mdgi
2013-09-17 17:44:14 +02:00
Xavier Morel
cbb5bf3c56
[MERGE] from parent
...
bzr revid: xmo@openerp.com-20130912141037-xqu3qpcyjph4xltu
2013-09-12 16:10:37 +02:00
Xavier Morel
cc187b884b
[IMP] re-enable XML check on view arch
...
bzr revid: xmo@openerp.com-20130912124334-skafqdt0hxna7frx
2013-09-12 14:43:34 +02:00
Xavier Morel
85a3d8eaeb
[FIX] moved view.save to website, forgot to move tests
...
bzr revid: xmo@openerp.com-20130910132638-2v4ilmi5uuboazt9
2013-09-10 15:26:38 +02:00
Xavier Morel
bb14116785
[MERGE] from trunk
...
bzr revid: xmo@openerp.com-20130909095042-zf9p1qybf4f2b7gu
2013-09-09 11:50:42 +02:00
Xavier Morel
a61e7b5efa
[REM] view.save, move to website module where it belongs
...
bzr revid: xmo@openerp.com-20130906130905-86ul9efvjt6wo1j2
2013-09-06 15:09:05 +02:00
Xavier Morel
4f6af7f857
[REM] page attribute on views, doesn't belong in server
...
bzr revid: xmo@openerp.com-20130906091108-gk2biyqyi2xaekxl
2013-09-06 11:11:08 +02:00
Xavier Morel
3d42f63246
[IMP] remove unused imports
...
bzr revid: xmo@openerp.com-20130906091013-4smmete74hc9kpj1
2013-09-06 11:10:13 +02:00
Christophe Matthieu
c36bfe173e
[MERGE] from trunk
...
bzr revid: chm@openerp.com-20130828161130-641xsmbr8xm53xjx
2013-08-28 18:11:30 +02:00
Launchpad Translations on behalf of openerp
ccbb4335ec
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130828050349-f8ozlg2e354f87ge
2013-08-28 05:03:49 +00:00
Fabien Pinckaers
7f92e03c13
[IMP] Code -> Sequence Type
...
bzr revid: fp@tinyerp.com-20130823095635-s3qvgp0y557sb2pb
2013-08-23 11:56:35 +02:00
Fabien Meghazi
f60bd37d57
[IMP] ir ui view search view
...
bzr revid: fme@openerp.com-20130822084221-fiiklna0258cgusg
2013-08-22 10:42:21 +02:00
Xavier Morel
d8bf3892f3
[ADD] page attribute to views
...
This can be used to distinguish template views expected to be
available as web pages, and thus directly linkable. By opposition to
non-web views and template sections (reusables).
bzr revid: xmo@openerp.com-20130821121206-ebxsxrmyogcv7pnv
2013-08-21 14:12:06 +02:00
Christophe Simonis
208b697239
[MERGE] forward port of branch saas-1 up to revid 4899 chs@openerp.com-20130821094758-1ae0d1ml5obufzxv
...
bzr revid: odo@openerp.com-20130820160346-qcdy4kavgm5cb9t6
bzr revid: chs@openerp.com-20130821103139-zqqbrt8dq6iixrny
2013-08-21 12:31:39 +02:00
Olivier Dony
e56a0c565f
[MERGE] (Manual) Foward-port of addons 7.0 bugfix revid:odo@openerp.com-20130813082247-fz1cv55l82j9uo3l
...
res.partner: avoid including the address in the computed display name
bzr revid: odo@openerp.com-20130820152025-3yt7gtnaeztdt1nh
2013-08-20 17:20:25 +02:00
Olivier Dony
fbd0758cb5
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5054 rev-id: odo@openerp.com-20130820091157-e5brwlxuhujf8rrd
...
bzr revid: chs@openerp.com-20130724085026-525l9apggc9yzx0h
bzr revid: odo@openerp.com-20130730140644-1xih0as5jsks4pub
bzr revid: dle@openerp.com-20130801130723-khgwjkglgsdn34fj
bzr revid: odo@openerp.com-20130820091638-jpbcmh653bpa29em
2013-08-20 11:16:38 +02:00
Launchpad Translations on behalf of openerp
d91ba409fd
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130815055129-l249p9ncbc2h5ofe
bzr revid: launchpad_translations_on_behalf_of_openerp-20130815055040-zhr6j27dl2pml3xj
bzr revid: launchpad_translations_on_behalf_of_openerp-20130817061604-2qsvxvuesqqeah0x
bzr revid: launchpad_translations_on_behalf_of_openerp-20130818050455-fwt3xl3oyarv2ed8
2013-08-18 05:04:55 +00:00
Launchpad Translations on behalf of openerp
829ea61223
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130814045440-z3vkpqdecwzo9goa
bzr revid: launchpad_translations_on_behalf_of_openerp-20130817052551-0rmhwu64ienjxlz6
2013-08-17 05:25:51 +00:00
Martin Trigaux
1fc7e4d532
[IMP] ir_translation: better log message
...
bzr revid: mat@openerp.com-20130813130109-yhvgipdy9m63jcqy
2013-08-13 15:01:09 +02:00
Martin Trigaux
2bac9b3353
[ADD] ir_translation: allow extra translations in folder i18n_extra
...
bzr revid: mat@openerp.com-20130813121258-q9y4kudhavndlod6
2013-08-13 14:12:58 +02:00
Launchpad Translations on behalf of openerp
d42f9165d5
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130804053658-dwot6056w0etx103
bzr revid: launchpad_translations_on_behalf_of_openerp-20130806050421-2fm8jer603073706
bzr revid: launchpad_translations_on_behalf_of_openerp-20130807050254-ey3bl55ur4w4qio2
bzr revid: launchpad_translations_on_behalf_of_openerp-20130808045918-hj31pvyyoygb60c7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130809053540-o6koj5a8ykwghh9o
bzr revid: launchpad_translations_on_behalf_of_openerp-20130812050623-2h40gxsfykcmjpmp
bzr revid: launchpad_translations_on_behalf_of_openerp-20130813060620-3cgurvlsx2pj03cc
2013-08-13 06:06:20 +00:00
Xavier Morel
de952ae352
[FIX] don't extract the root ir.ui.view as an embedded field
...
bzr revid: xmo@openerp.com-20130812121121-e3ch0b2u5j1u3ytp
2013-08-12 14:11:21 +02:00
Xavier Morel
212f088aea
[MERGE] from trunk-website-al
...
bzr revid: xmo@openerp.com-20130812075650-sv5v98kuuifaog2z
2013-08-12 09:56:50 +02:00
Xavier Morel
db5e36efa3
[FIX] rewrite ir_ui_view.save with new semantics, xpath fixes
...
since lxml provides built-in tools to generate the path for a node in a tree, don't reimplement it manually
bzr revid: xmo@openerp.com-20130812074509-yopeb4pxtsads4d9
2013-08-12 09:45:09 +02:00
Fabien Pinckaers
75ee4fc7a2
[IMP] module cateogry website
...
bzr revid: fp@tinyerp.com-20130811135837-66wgnhzux3js9uvm
2013-08-11 15:58:37 +02:00
Fabien Pinckaers
0c768d8703
[IMP] Added one2many symetry
...
bzr revid: fp@tinyerp.com-20130811102831-x5jvza7oi69ck2sx
2013-08-11 12:28:31 +02:00
Fabien Pinckaers
14e555d920
[IMP] support for inherit_option_id, <template> for inherited views
...
bzr revid: fp@tinyerp.com-20130810132449-tckikyrtqcawnzor
2013-08-10 15:24:49 +02:00
Fabien Meghazi
a467b2d0ef
[IMP] Qweb, use undefined handler
...
bzr revid: fme@openerp.com-20130808182218-3a9vb97gx49alyzz
2013-08-08 20:22:18 +02:00
Christophe Simonis
98fda4690a
[MERGE][ADD] add css for module html description
...
bzr revid: chs@openerp.com-20130807155940-scd4lb0eoi6364kd
2013-08-07 17:59:40 +02:00
Christophe Matthieu
2e88574a57
[IMP] res.partner: add us country for demo data
...
bzr revid: chm@openerp.com-20130807090054-5sa1vst28w9exenw
2013-08-07 11:00:54 +02:00
Fabien Pinckaers
b8f5817c8b
[IMP] branding distribution in views
...
bzr revid: fp@openerp.com-20130804205215-0g8fvzy8aducrc3v
2013-08-04 22:52:15 +02:00
Launchpad Translations on behalf of openerp
cbf3ad9f60
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130803055504-6ay7gnpxm1jno8g3
2013-08-03 05:55:04 +00:00
Xavier Morel
bfd97c110f
[FIX] typo in attribute name, don't distribute on t-field
...
bzr revid: xmo@openerp.com-20130802114606-ef0pddt2uhc4ghlj
2013-08-02 13:46:06 +02:00
Xavier Morel
4cc13f0625
[IMP] branding distribution
...
* don't serialize subtrees to string all the time
* don't add XML root and prefix by string munging
* extract trigger and moved branding attributes to constants
* reduce unnecessary nesting
* don't brand sub-elements of head
bzr revid: xmo@openerp.com-20130802104208-rirrsgtxp2lydd7m
2013-08-02 12:42:08 +02:00