Commit Graph
81391 Commits
Author SHA1 Message Date
Christophe Matthieu 80e14590b1 [FIX] website: warning, don't display the message in the title
bzr revid: chm@openerp.com-20140123111755-88lbx0v9itm2rq38
2014-01-23 12:17:55 +01:00
Turkesh Patel (Open ERP) 5d74ae6f3a [MRG] merge with lp:openobject-addons
bzr revid: tpa@tinyerp.com-20140123111345-h1z2mi0gko013whb
2014-01-23 16:43:45 +05:30
Turkesh Patel (Open ERP) bfd0c1472b [MRG] add simplified form view of template for product
bzr revid: tpa@tinyerp.com-20140123111229-8c1d7gf2osv6cql0
2014-01-23 16:42:29 +05:30
Christophe Matthieu 85871da3f5 [IMP] website: add depends to mail; change website menu sequence
bzr revid: chm@openerp.com-20140123110135-ujhykh2no6y1c1lq
2014-01-23 12:01:35 +01:00
Christophe Simonis f10489fe8f [FIX] website_hr_recruitment: correct job publishing link
bzr revid: chs@openerp.com-20140123105910-eafg0tsr9e6kyo10
2014-01-23 11:59:10 +01:00
Gery Debongnie 74fd48e608 [FIX] fixes the read_group by dates tests (makes them use the field:interval syntax instead of using the context (test_orm.py)
bzr revid: ged@openerp.com-20140123105638-l4ej76ynf4avcjma
2014-01-23 11:56:38 +01:00
Christophe Matthieu 4e68fff52e [FIX] website_sale: demo data, test, delivery, context pricelist
bzr revid: chm@openerp.com-20140123104705-679zt0odq0pseu7p
2014-01-23 11:47:05 +01:00
Denis Ledoux 27224c9b9e [FIX] sale, purchase, sale_stock: on orders lines, on product changed, change the uom (even if the uom is in the same category)
bzr revid: dle@openerp.com-20140123103505-7pm9526ot2f5u7wa
2014-01-23 11:35:05 +01:00
Raphael Collet b37d6e72c1 [FIX] mail: adapt to improved behavior of ir_model_data.get_object()
bzr revid: rco@openerp.com-20140123103425-gaud319o6t1f94qu
2014-01-23 11:34:25 +01:00
Raphael Collet d68bb48e44 [IMP] ir.model.data: get_object() never raises an exception when check=False
bzr revid: rco@openerp.com-20140123103306-tilma2dahgfsm70t
2014-01-23 11:33:06 +01:00
Stephane Wirtel f27237b8dd [FIX] Set the auto_install flag to False
bzr revid: stw@openerp.com-20140123102632-2zhttz8u3vh29tct
2014-01-23 11:26:32 +01:00
ajay javiya (OpenERP) 2d31781bf1 [REM]: dependency on knowledge
[ADD] :edit button on template to trigger on website
[REN]: Rename Number of Days into 'Quotation Perido Validity'
[IMP]: template layout
[FIX] : access right issue 'quote is not accesible without logged in'

bzr revid: aja@tinyerp.com-20140123102337-i3jmee0n436azn2j
2014-01-23 15:53:37 +05:30
Fabien Meghazi 5b0ff455c5 [IMP] allow ir.ui.view.render() to be called from a browse record instance
bzr revid: fme@openerp.com-20140123101939-2pbjfps4lfc56mc1
2014-01-23 11:19:39 +01:00
Thibault Delavallée 4ae6b9010f [IMP] payment_acquirer_paypal: misc improvements
- paypal_email_id -> paypal_email_Account, to avoid confusion with a m2o field
- paypal_seller_id -> paypal_seller_account, to avoid confusion with a m2o field
- api-related fields now hidden, because WIP for saas-4

bzr revid: tde@openerp.com-20140123100509-z8wgrj8fswk4wjq2
2014-01-23 11:05:09 +01:00
Raphael Collet 020921a7f3 [IMP] orm: remove commented code
bzr revid: rco@openerp.com-20140123094957-knrgx6sy66j4tj39
2014-01-23 10:49:57 +01:00
Raphael Collet 0fb09d9a33 [FIX] fields: small python code fix
bzr revid: rco@openerp.com-20140123094646-ri4apn315dm19rl1
2014-01-23 10:46:46 +01:00
Christophe Matthieu c051307852 [WIP] website: test_tour display report step by step (revert this commit after)
bzr revid: chm@openerp.com-20140123094115-8wp1hc76gcdclk7o
2014-01-23 10:41:15 +01:00
Thibault Delavallée bd586d8848 [MERGE] Sync with website-al
bzr revid: tde@openerp.com-20140123091734-1qn02imaltm9fam5
2014-01-23 10:17:34 +01:00
Thibault Delavallée 72d7a19d0f [FIX] website_payment: fixed openerp.py: payment_acquirer -> payment
bzr revid: tde@openerp.com-20140123091707-ozqxm49j9o24ptuc
2014-01-23 10:17:07 +01:00
Chirag Dodiya (OpenERP) afe9a79c28 [IMP]Improved template form view and set default value
bzr revid: cod@tinyerp.com-20140123090713-v7rk0y9ot32nmmhs
2014-01-23 14:37:13 +05:30
Christophe Matthieu ffba2091e7 [IMP] website: ui_test_runer: display report before 'wait for' message
bzr revid: chm@openerp.com-20140123081721-gi9y1y5mfneaufy6
2014-01-23 09:17:21 +01:00
Christophe Matthieu 4b429a033b [IMP] website_sale: extend timeout for shoptest tour
bzr revid: chm@openerp.com-20140123081411-9u5h4720504jdbvf
2014-01-23 09:14:11 +01:00
Xavier Morel d50f785b4f [FIX] view requested by _view_ref with view_ref being undotted
Issue introduced in
revid:chm@openerp.com-20130828161130-641xsmbr8xm53xjx: context of a
fields_view_get can provide a *_view_ref name (e.g. tree_view_ref),
whose value is an xid for the view to use (can be used to specify a
view instead of providing a view_id, mostly for embedded views where
there is no way to provide a view_id).

The view_ref being an external id, it must be dotted. Historically,
undotted xids were silently ignored and the system just skipped to
getting the default view for the model (lowest priority view where
inherit_id is null).

In revid:odo@openerp.com-20130821122955-8c9z0mi8cu48rne3 this behavior
was altered to emit a warning when ignoring a malformed view_ref. When
this change was merged into trunk-website-al, the conditional
(view_ref and '.' in view_ref) was split without consideration for the
semantics change: a syntactically invalid view_ref would fall off the
first branch (view_ref) instead of taking the second one (not
view_ref), the code would not fetch the default view for the model and
would instead generate one (through _get_default_%(viewtype)s_view).

However, closer reading reveals the code was already broken in a
specific case of a syntactically valid but unknown xid (view_id
wouldn't get assigned in the first branch, but the code would not take
the second one, resulting yet again in a view generation even if the
database contains a valid view for the model and type).

Fixed by reintroducing explicit second check on view_id, instead of
merely conditional alternative.

bzr revid: xmo@openerp.com-20140123075742-603n2zthqhxee07y
2014-01-23 08:57:42 +01:00
Launchpad Translations on behalf of openerp 805d3757e9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140123055732-ggft6ftma1kfpaq6
2014-01-23 05:57:32 +00:00
ajay javiya (OpenERP) 2577be53ac [MERGE]: with main
bzr revid: aja@tinyerp.com-20140123050930-nxq5nnc3y6q0i2lv
2014-01-23 10:39:30 +05:30
Antony Lesuisse 9248a2db18 [FIX] multiprocess mode, empty the cursor pool before forking
bzr revid: al@openerp.com-20140122221525-hify023pk5i8d0jm
2014-01-22 23:15:25 +01:00
Fabien Pinckaers b32fbce49c [IMP] empty pages
bzr revid: fp@tinyerp.com-20140122194416-veyfgwg4xmjk0w6v
2014-01-22 20:44:16 +01:00
Fabien Pinckaers e40646d98d [IMP] wording
bzr revid: fp@tinyerp.com-20140122194046-xrgf3buqlj3nlcve
2014-01-22 20:40:46 +01:00
Fabien Pinckaers ef5a50fa98 [IMP] wording
bzr revid: fp@tinyerp.com-20140122193818-vxn20qaibfvgn1u3
2014-01-22 20:38:18 +01:00
Fabien Pinckaers df3a1486f4 [IMP] remove under construction
bzr revid: fp@tinyerp.com-20140122193523-ni1uzv38plutq41m
2014-01-22 20:35:23 +01:00
Antony Lesuisse efcbaa4bd0 [FIX] typo
bzr revid: al@openerp.com-20140122193059-rh8rkju5nn8c09kl
2014-01-22 20:30:59 +01:00
Fabien Pinckaers 8effb55a7d [IMP] design of sign in/up
bzr revid: fp@tinyerp.com-20140122192342-t3qc2ipcj3okbbgp
2014-01-22 20:23:42 +01:00
Fabien Pinckaers 986471dcba [IMP] design of sign in/up
bzr revid: fp@tinyerp.com-20140122192322-nvtcood5ll0outn9
2014-01-22 20:23:22 +01:00
Thibault Delavallée a4bc8c790c [MERGE] Sync with website-al
bzr revid: tde@openerp.com-20140122190125-p9d9dwnj4fngmnqv
2014-01-22 20:01:25 +01:00
Thibault Delavallée 2e7b5991b7 [REF] portal, portal_sale, payment: refactored old acquirer in portal
now based on the new implementation of payment.

[REM] portal: removed acquirer model, views and implementation
[REF] portal_sale: now using payment rendering methods
[IMP] payment: added render_payment_block, taken from old
acquirer, that renders all portal_published acquirers.

bzr revid: tde@openerp.com-20140122190022-lef4b3o1tpcua3vx
2014-01-22 20:00:22 +01:00
Thibault Delavallée 7445a207f0 [FIX] payment_*: fixed references to payment_acquirer -> payment
bzr revid: tde@openerp.com-20140122185204-y0mievmfnm3jfkn1
2014-01-22 19:52:04 +01:00
Thibault Delavallée 44cff7f383 [FIX] payment_*: fixed openerp.py file
bzr revid: tde@openerp.com-20140122184256-ojcz0f1vxwoj2aw0
2014-01-22 19:42:56 +01:00
Thibault Delavallée 59876ddec4 [MERGE] [IMP] product: product and product template management
product
- added a is_only_child field, telling whether the product is the only child of its template
- form view: fields coming from the template are now readonly when there are several products (variants) for the template; added a link to the template on the product form view
- renamed Products menu into All Products
- some improvements in search view, notably groupby

product.template
- improved form view to look more similar to the product one
- added Product Template menus when using variants

website_sale: do not fetch templates without products

bzr revid: tde@openerp.com-20140122183759-s9lfvfeo8f6ytm34
2014-01-22 19:37:59 +01:00
Antony Lesuisse d3a14cd5b4 [REM] portal features deprecated by website
bzr revid: al@openerp.com-20140122183630-n04tcm22e7xcl8b0
2014-01-22 19:36:30 +01:00
Antony Lesuisse 7182f0b997 [REM] remove portal_event, portal_crm, portal_hr_employee deprecated by website
bzr revid: al@openerp.com-20140122181002-4i3v3xtdmyrm3t6f
2014-01-22 19:10:02 +01:00
Thibault Delavallée 0b69bad996 [RENAME] payment_acquirer_* -> payment_ *
bzr revid: tde@openerp.com-20140122175702-1h1e51z4njt4s70w
2014-01-22 18:57:02 +01:00
Thibault Delavallée d4d14f6951 [REV] website_sale: reverted changes in shop (JS)
bzr revid: tde@openerp.com-20140122171606-md7exi4319w3vqqx
2014-01-22 18:16:06 +01:00
Thibault Delavallée 3a359f0ef4 [REV] website_sale: reverted changes in shop
bzr revid: tde@openerp.com-20140122171429-rb6g4zpyl8cw6fvv
2014-01-22 18:14:29 +01:00
Thibault Delavallée 46c55500ff [MERGE] Sync with website-al
bzr revid: tde@openerp.com-20140122171321-6r2q42p7ebfv3kb9
2014-01-22 18:13:21 +01:00
Thibault Delavallée 055932fc6a [IMP] product: cleaned form in create mode. Moreover generally
changing the template is not possible anymore; create a new tempalte or a new
variant instead. When creating a new product, you will always create a new
template.
Added the link to the template from the product form view.
Cleaned some code (code move).

bzr revid: tde@openerp.com-20140122170218-6j2sixoxvvbbxvhd
2014-01-22 18:02:18 +01:00
Xavier Morel f70e542556 [CHG] python 2.6 compat'
bzr revid: xmo@openerp.com-20140122161727-0inchgb570e1r7pi
2014-01-22 17:17:27 +01:00
Gery Debongnie 39e0f4736f [REF] refactoring: removes the 'interval' attributes in groupbys and improves searchbar integration (addon web_graph)
bzr revid: ged@openerp.com-20140122160707-39el7frwfj4pwd4d
2014-01-22 17:07:07 +01:00
Fabien Meghazi 8d28d74dc9 [FIX] stupid fme
bzr revid: fme@openerp.com-20140122153022-y7pe379qjxqy67vs
2014-01-22 16:30:22 +01:00
Xavier Morel 5b7ade9db1 [ADD] ways to correctly handle local datetimes in e.g. domains
* change datetime.now() to generate user-local naive datetimes
* add datetime.utcnow() behaving as the old now()
* add date.today() generating a user-local date (for the current day)
* add datetime.replace() to replace any specific attribute of the
  datetime object (except tzinfo, for now)
* datetime.toJSON() now returns the equivalent javascript Date object
  (warning: uses the datetime attributes directly, since datetimes are
  naive if they were created with utcnow() the Date result is going to
  be complete nonsense). With the previous commit datetime.now()
  generates a user-local now() which is converted to the correct UTC
  datetime when sent to the server.

This means it becomes possible to generate datetime bounds for the
user's local today with either

    datetime.datetime.now().replace(hour=0, minute=0, second=0)

or

    datetime.datetime.combine(
        datetime.date.today(),
        datetime.time())

and once send over JSON-RPC the server will get the local datetime
in UTC to the server's format.

nb: user-local means "in the timezone of the user's browser" in this
context.

bzr revid: xmo@openerp.com-20140122151911-akn1nr6e739eg92s
2014-01-22 16:19:11 +01:00
Christophe Matthieu 91f44259b6 [FIX] website_sale: ecommerce_change_pricelist context
bzr revid: chm@openerp.com-20140122151852-ia7x4sd5l2h7oskx
2014-01-22 16:18:52 +01:00