Fabien Meghazi [Fri, 30 May 2014 15:37:01 +0000 (17:37 +0200)]
Removed odoo.py
Fabien Meghazi [Fri, 30 May 2014 15:06:16 +0000 (17:06 +0200)]
Added odoo start command
Fabien Meghazi [Fri, 30 May 2014 09:35:28 +0000 (11:35 +0200)]
Basic support for xml data files
Fabien Meghazi [Fri, 30 May 2014 08:45:57 +0000 (10:45 +0200)]
Added ir.model.access in manifest
Fabien Meghazi [Thu, 29 May 2014 18:02:30 +0000 (20:02 +0200)]
Update manifest for dependencies
Fabien Meghazi [Thu, 29 May 2014 16:23:48 +0000 (18:23 +0200)]
Moved get_module_root in openerp.modules.module
Fabien Meghazi [Thu, 29 May 2014 16:01:43 +0000 (18:01 +0200)]
Added basic scaffolding for webclient module
Fabien Meghazi [Thu, 29 May 2014 14:25:30 +0000 (16:25 +0200)]
Refactor scaffolding engine so it can be used from outside
Fabien Meghazi [Thu, 29 May 2014 08:28:38 +0000 (10:28 +0200)]
Merge remote-tracking branch 'odoo/master' into master-odoo-cmd-fme
Olivier Dony [Thu, 29 May 2014 00:07:18 +0000 (02:07 +0200)]
[FIX] website_mail_group: restore missing snippet icon
The file was originally added in website_mail at 59b934
in saas-4 but was lost in master since.
Olivier Dony [Wed, 28 May 2014 23:59:47 +0000 (01:59 +0200)]
[FIX] website_mail*: fix + bundlify changes of 0c89ca: move subscription widget from website_mail to website_mail_group
Fabien Meghazi [Wed, 28 May 2014 22:27:54 +0000 (00:27 +0200)]
Merge pull request #263 from odoo-dev/master-fix-asset-fme
[FIX] website_mail.editor.js moved but still referenced
Commit 0c89ca0 moves
website_mail.editor.js but is still referenced in website_mail.xml
Fabien Meghazi [Wed, 28 May 2014 21:13:38 +0000 (23:13 +0200)]
[FIX] website_mail.editor.js moved but still referenced
Commit
0c89ca0f8f2d96e37353348fe33591da8142368b moves
website_mail.editor.js but is still referenced in website_mail.xml
Fabien Meghazi [Wed, 28 May 2014 17:32:55 +0000 (19:32 +0200)]
Prevent scaffold --init to be executed in another module
Fabien Meghazi [Wed, 28 May 2014 17:16:50 +0000 (19:16 +0200)]
Detect if controller name correspond to a model name
Fabien Meghazi [Wed, 28 May 2014 16:49:16 +0000 (18:49 +0200)]
Use ast module against __init__.py's for import discovery
Christophe Simonis [Wed, 28 May 2014 16:45:12 +0000 (18:45 +0200)]
Merge pull request #226 from odoo-dev/master-website_sale-add-vat-chm
[IMP] website_sale: add vat field on checkout + validate it if base_vat module is installed
Olivier Dony [Wed, 28 May 2014 15:45:31 +0000 (17:45 +0200)]
[MERGE] Forward-port saas-4 up to bf135ad
Richard Mathot [Wed, 28 May 2014 15:23:28 +0000 (17:23 +0200)]
[FIX] website_blog: display properly (very) long words in comments
Fabien Meghazi [Wed, 28 May 2014 15:10:56 +0000 (17:10 +0200)]
[WIP] models and controllers for scaffolding
Denis Ledoux [Wed, 28 May 2014 13:50:02 +0000 (15:50 +0200)]
[FIX] web: on new ir actions act_window target current, change the active* params from context for the dataset only
This fix is related to
a37bad205b13cec4f19f8e84e28801278e3e36ca
This previous fix did solved the issue of its purpose, but had a side effect for actions using these active* params, e.g. search views
For instance, Go to Project > Projects, click on any project, you are than redirected to tasks/issues of this project
If you reload the page, an error pops up, complaining that active_id cannot be found
Denis Ledoux [Wed, 28 May 2014 12:53:32 +0000 (14:53 +0200)]
[MERGE] Forward-port of latest saas-3 bugfixes, up to rev.
df0ae7e4d155a180f5e49e85f18ce52bf503c22c
Thibault Delavallée [Wed, 28 May 2014 12:10:05 +0000 (14:10 +0200)]
Merge pull request #251 from odoo-dev/saas-4-follower-route-tde
[FIX] website_mail_group: discussion group snippet
- moved into website_mail_group, instead of having the snippet in website_mail and the archives in website_mail_group
- fixed routes to avoid security issues
- better display of email on groups and archive
Denis Ledoux [Wed, 28 May 2014 12:02:56 +0000 (14:02 +0200)]
[FIX] payment_paypal: wrong handling fees computation formula
Denis Ledoux [Wed, 28 May 2014 10:04:41 +0000 (12:04 +0200)]
[FIX] website_sale: force changing pricelist on different account signin
opw-607517
Christophe Simonis [Wed, 28 May 2014 09:43:24 +0000 (11:43 +0200)]
[FIX] logging PostgreSQLHandler: expand message + use contextmanagers to handle exceptions and cursor
Fabien Meghazi [Wed, 28 May 2014 09:31:00 +0000 (11:31 +0200)]
Basic scaffolding
Fabien Meghazi [Wed, 28 May 2014 09:29:54 +0000 (11:29 +0200)]
Added odoo.py command
Thibault Delavallée [Wed, 28 May 2014 09:12:33 +0000 (11:12 +0200)]
[FIX] website_mail, websit_mail_group: moved discussion group snippet to the right module; it should not be available when the mailing list archives module is not installed. Also fixed get_alias_info route to be mail_group specific and to avoid allowing people to browse the database.
Richard Mathot [Wed, 28 May 2014 08:35:58 +0000 (10:35 +0200)]
[ADD] website_crm_partner_assign: display demo data on website
Richard Mathot [Wed, 28 May 2014 08:06:42 +0000 (10:06 +0200)]
[TYPO] in crm_partner_assign
Thibault Delavallée [Wed, 28 May 2014 07:59:31 +0000 (09:59 +0200)]
[FIX] website_mail: fixed is_follower controller, that could leak data about records.
Added instead a controller to get alias data. This controller is called by the
discussion group snippet to have the info about the alias.
Fabien Meghazi [Wed, 28 May 2014 07:25:31 +0000 (09:25 +0200)]
reuse cls.__doc__ for deploy command
Fabien Pinckaers [Tue, 27 May 2014 20:50:14 +0000 (22:50 +0200)]
Merge pull request #238 from odoo-dev/saas-4-ir_qweb-contact-chm
[FIX] ir_qweb: contact field must add 'http://' if the website url value has not any protocol
Olivier Dony [Tue, 27 May 2014 18:49:49 +0000 (20:49 +0200)]
[MERGE] Forward-port of latest saas-4 fixes, up to 0452851
Christophe Simonis [Tue, 27 May 2014 16:46:18 +0000 (18:46 +0200)]
[FIX] website: correct bad code indentation introduced during previous commit
Denis Ledoux [Tue, 27 May 2014 16:39:00 +0000 (18:39 +0200)]
[FIX] event_sale, website_event_sale: ACLs for event.event.ticket
event.event.ticket were set in website_event_sale, while this model is set in event_sale module
Manager acl moved from website_event_sale to event_sale
Created a new acl for event user in event_sale
Left the acl for everyone in website_event_sale, meaning that when this module is installed, everyone can read tickets, event those who aren't event user
Christophe Simonis [Tue, 27 May 2014 15:57:33 +0000 (17:57 +0200)]
[MERGE] Replace inherit_option_id by a selection field (PR #229)
Olivier Dony [Tue, 27 May 2014 15:18:43 +0000 (17:18 +0200)]
[MERGE] Forward-port latest saas-3 bugfixes, up to 30f43da
Christophe Simonis [Tue, 27 May 2014 15:10:28 +0000 (17:10 +0200)]
Merge pull request #228 from xmo-odoo/extended-view-inheritance
Extended view inheritance
Fabien Meghazi [Tue, 27 May 2014 15:07:40 +0000 (17:07 +0200)]
Add docstring to help command
Thibault Delavallée [Tue, 27 May 2014 14:57:31 +0000 (16:57 +0200)]
[MERGE] [ADD] module: payment_buckaroo acquirer: manage payments using Buckaroo.
Olivier Dony [Tue, 27 May 2014 14:50:02 +0000 (16:50 +0200)]
[MERGE] Forward-port of latest 7.0 bugfixes, up to aeaa826
Martin Trigaux [Tue, 27 May 2014 14:37:10 +0000 (16:37 +0200)]
Merge pull request #221 from odoo-dev/7.0-o2m-duplication-issue-msh
[FIX] Fix o2m record duplication when clicking on a button
The button action will execute a write call, creating the new line.
The reload is necessary to avoid recreating the line when using the save button.
Fabien Meghazi [Tue, 27 May 2014 14:13:43 +0000 (16:13 +0200)]
Merge pull request #239 from odoo-dev/master-revert-bundles
Revert "Merge pull request #225 from odoo-dev/master-frontend-assets"
Fabien Meghazi [Tue, 27 May 2014 14:12:52 +0000 (16:12 +0200)]
Revert "Merge pull request #225 from odoo-dev/master-frontend-assets"
This reverts commit
dd900408ded4ece90df5f80f36daa049bc8f0e5b, reversing
changes made to
4da882d48ffd09651b66e72a6e5c87e76d05a346.
Denis Ledoux [Tue, 27 May 2014 14:11:27 +0000 (16:11 +0200)]
[FIX] website_sale: in the product grid, a product must have min size 1 and max size 4
Mohammed Shekha [Tue, 27 May 2014 14:05:09 +0000 (19:35 +0530)]
[FIX]Refixed the issue of o2m record duplication
Richard Mathot [Tue, 27 May 2014 13:51:09 +0000 (15:51 +0200)]
[BACKPORT][FIX] base_gengo: use supported/up-to-date library
Commit backported from master
8ad97da843bbd5c34f44dc4d5f7a4942179cf7b8
Thibault Delavallée [Tue, 27 May 2014 13:35:17 +0000 (15:35 +0200)]
[CLEAN] website_mail: cleaned a lost console.log and a commented line that should have been removed with pr 213
Christophe Matthieu [Tue, 27 May 2014 13:13:44 +0000 (15:13 +0200)]
[FIX] ir_qweb: contact field must add '' if the website url value has not any protocol
Thibault Delavallée [Tue, 27 May 2014 13:02:26 +0000 (15:02 +0200)]
Merge pull request #234 from odoo-dev/master-fix-sale-test-tde
[FIX] website_sale, website_event_sale: updated JS tests according to the new dom of the checkout page introduced in pull request 232
Martin Trigaux [Tue, 27 May 2014 12:46:31 +0000 (14:46 +0200)]
Merge pull request #202 from lyinfo/master-fix-zero-qweb-field
[FIX]t-field wrong outputs when precision is 0
Christophe Matthieu [Tue, 27 May 2014 12:35:07 +0000 (14:35 +0200)]
[IMP] website_sale: use company vat_check_vies field to select the method to check the vat id base_vat is installed
Thibault Delavallée [Tue, 27 May 2014 12:22:29 +0000 (14:22 +0200)]
[FIX] website_sale, website_event_sale: updated tests according to the new dom of the checkout page introduced in pull request 232
Fabien Meghazi [Tue, 27 May 2014 12:22:28 +0000 (14:22 +0200)]
[ADD] odoo deploy
Thibault Delavallée [Tue, 27 May 2014 12:16:39 +0000 (14:16 +0200)]
Merge pull request #232 from odoo-dev/saas-4-mass_mailing-fixes-tde
[FIX] mass_mailing: fixes in mail (default recipients), mass_mailing (recipients computation), web (chardomain widget)
Thibault Delavallée [Tue, 27 May 2014 11:33:10 +0000 (13:33 +0200)]
[FIX] mail: fixed get_default_recipient, trying to call a method even if the target model do not have it; also fixed default recipients generation on the contact model; sending a mass mailing when not having recipient now raise a warning.
Thibault Delavallée [Tue, 27 May 2014 11:31:12 +0000 (13:31 +0200)]
[FIX] web: chardomain widget: fixed selection of some records in a list (bad domain formatting), fixed domain evaluation tah is done server-side instead of through a stringigy.
Fabien Meghazi [Tue, 27 May 2014 10:52:08 +0000 (12:52 +0200)]
Merge remote-tracking branch 'odoo/master' into master-odoo-cmd-fme
Christophe Matthieu [Tue, 27 May 2014 10:49:16 +0000 (12:49 +0200)]
[IMP] website_sale: if base_vat is installed, when the use try to validate checkout, the vat is checked (VAT Information Exchange System)
Xavier Morel [Tue, 27 May 2014 10:26:38 +0000 (12:26 +0200)]
[IMP] application field doc
Xavier Morel [Tue, 27 May 2014 10:23:02 +0000 (12:23 +0200)]
[IMP] make mode handling more regular
Before this commit, @mode=primary would be sorta-ignored[0] if the current
view and its parent had the same model: the current view would *still* get
applied (as an extension) when asking OpenERP for its parent. This commit
makes mode=primary views behave regularly, they are *never* applied when
asking for their parent, only when asking for them or their children.
This allows "forking" views, and using extended views in some contexts without
breaking or duplicating the original view
[0] there was actually a problem when asking for the current view directly,
first its parent would be resolved by applying it, then it would be
applied to resolve itself, the view would thus get applied twice (oops)
Xavier Morel [Tue, 27 May 2014 10:21:52 +0000 (12:21 +0200)]
[IMP] replace check_mode python-level constraint by an SQL CHECK constraint
Xavier Morel [Tue, 27 May 2014 10:20:04 +0000 (12:20 +0200)]
[IMP] add some more explanations for the behavior of the mode attribute on views
Xavier Morel [Tue, 27 May 2014 10:19:13 +0000 (12:19 +0200)]
[FIX] forgot to add primary attribute support to <template> in schema
Xavier Morel [Tue, 27 May 2014 10:18:22 +0000 (12:18 +0200)]
[FIX] typos
Xavier Morel [Tue, 27 May 2014 09:54:01 +0000 (11:54 +0200)]
[IMP] inherit_option_id -> application
Thibault Delavallée [Tue, 27 May 2014 10:09:01 +0000 (12:09 +0200)]
Merge pull request #224 from odoo-dev/master-payment-post-tde
[IMP] website_sale: correctly submit the payment form using a post request, correctly create the tx asynchronously
Christophe Matthieu [Tue, 27 May 2014 10:05:41 +0000 (12:05 +0200)]
[IMP] website_sale: add vat field on checkout
Xavier Morel [Tue, 27 May 2014 09:52:57 +0000 (11:52 +0200)]
[IMP] prevent changing a view from application: always to application: disabled
not sure that's actually useful, and can still go always -> enabled -> disabled...
Xavier Morel [Tue, 27 May 2014 09:49:26 +0000 (11:49 +0200)]
[ADD] application field & check during inheriting views read
Xavier Morel [Tue, 27 May 2014 09:34:49 +0000 (11:34 +0200)]
[IMP] renamed some stuff for clarity
Xavier Morel [Tue, 27 May 2014 09:34:14 +0000 (11:34 +0200)]
[IMP] dict(int: True) -> set(int)
Xavier Morel [Tue, 27 May 2014 09:33:37 +0000 (11:33 +0200)]
[IMP] use set to collect inherit_id and inherit_option_id
Also add a few comments to note understanding of code
Xavier Morel [Tue, 27 May 2014 09:33:12 +0000 (11:33 +0200)]
[IMP] use sets to check for groups/ACL
rco notes that group tests are generally intersections, if the user has *any*
group set on the object he can see/use it. This change is a literal
translation of the original semantics, which may be wrong.
Xavier Morel [Tue, 27 May 2014 09:32:18 +0000 (11:32 +0200)]
[IMP] no need to ensure an actual context if the method does not use it
just forwarding the context object does not count as using it, if callees want
a context they can ensure they've got one on their own
Xavier Morel [Tue, 27 May 2014 09:31:44 +0000 (11:31 +0200)]
[IMP] don't pointlessly recreate view_obj every time _views_get is called, better use of pool & data APIs
Xavier Morel [Tue, 27 May 2014 09:31:22 +0000 (11:31 +0200)]
[IMP] use sorted + key instead of sort + cmp
Xavier Morel [Tue, 27 May 2014 09:30:42 +0000 (11:30 +0200)]
[REM] unused stack_result parameter
Xavier Morel [Tue, 27 May 2014 09:47:44 +0000 (11:47 +0200)]
[ADD] support for primary mode in <template>
should probably validate that there's an inherit_id (?)
Xavier Morel [Tue, 27 May 2014 09:46:58 +0000 (11:46 +0200)]
[ADD] use of explicit primary mode in read_combined
Xavier Morel [Tue, 27 May 2014 09:44:55 +0000 (11:44 +0200)]
[FIX] default_view should be based on mode=primary, not on inherit_id=False
Xavier Morel [Tue, 27 May 2014 09:43:08 +0000 (11:43 +0200)]
[ADD] mode attribute to views
Not used yet, only defined its relation to inherit_id:
not inherit_id + primary -> ok
not inherit_id + extension -> error
inherit_id + primary -> ok
inherit_id + extension -> ok
Xavier Morel [Tue, 27 May 2014 09:39:32 +0000 (11:39 +0200)]
[IMP] simplify handling of callable _constraint message
Xavier Morel [Tue, 27 May 2014 09:39:03 +0000 (11:39 +0200)]
[REM] idiotic _invalids attribute, as well as get_invalid_fields
Fabien Meghazi [Tue, 27 May 2014 09:49:28 +0000 (11:49 +0200)]
Merge pull request #225 from odoo-dev/master-frontend-assets
[IMP] Move website assets to frontend bundle
Thibault Delavallée [Tue, 27 May 2014 09:34:55 +0000 (11:34 +0200)]
[IMP] payment addons: fixed submit buttons: now have type=submit (and not image or nothing) and removed name, because this may cause issues when trying to submit a form manually with type=submit and a name. Also improved js code in website_sale to correctly handle the click binding, the asynchronous call to the server to create the transaction, and then submit the form. As form submission is synchronous in javascript, we cannot use the deferred. Instead we prevent the click event from bubbling, wait for the server to create the transaction, adn then manually submit the form.
--global [Fri, 23 May 2014 07:53:12 +0000 (09:53 +0200)]
[IMP] website_sale: change 'pay now' button behavior.
Now: intercept the call, make an asynchronous call to create the tx, then continue to the acquirer. Previous this was done by
a redirection, leading to a get request beign done. However it should be a post request.
Fabien Meghazi [Tue, 27 May 2014 09:16:57 +0000 (11:16 +0200)]
Indentation
Fabien Meghazi [Tue, 27 May 2014 08:45:07 +0000 (10:45 +0200)]
Changed xpath expression from /t to .
Martin Trigaux [Tue, 27 May 2014 08:32:53 +0000 (10:32 +0200)]
Merge pull request #223 from odoo-dev/7.0-ail-form-context-parent-mat
account: safer access to parent in invoice line form
Denis Ledoux [Tue, 27 May 2014 08:29:12 +0000 (10:29 +0200)]
[FIX] account_followup: account_followup_print report, sxw according to rml
Martin Trigaux [Tue, 27 May 2014 08:16:44 +0000 (10:16 +0200)]
[FIX] account: safer access to parent in invoice line form
In the account.invoice.line form, do not assume the parent is defined when
evaluating the context to invoice_line_tax_id as we could come from another
view (e.g.: purchase order line form).
Fixes #206
Richard Mathot [Tue, 27 May 2014 08:01:58 +0000 (10:01 +0200)]
[DIRTY FIX] website_sale: make the runbot green
Fabien Meghazi [Tue, 27 May 2014 07:35:37 +0000 (09:35 +0200)]
Merge branch 'master' of https://github.com/odoo/odoo into master-odoo-cmd-fme
Martin Trigaux [Tue, 27 May 2014 07:28:15 +0000 (09:28 +0200)]
Merge pull request #83 from etenesaca/master
[IMP] When no result is displayed in m2o field with option "no_create", add a "No result" value to avoid confusion.
Thibault Delavallée [Tue, 27 May 2014 07:26:10 +0000 (09:26 +0200)]
Merge pull request #213 from odoo-dev/saas-4-group-snippet-imp-tde
[IMP] website_mail: improved snippet to subscribe to a mail.group
Richard Mathot [Tue, 27 May 2014 07:18:31 +0000 (09:18 +0200)]
[FIX] website_event_sale: bad xpath in template
Thibault Delavallée [Mon, 26 May 2014 13:43:57 +0000 (15:43 +0200)]
[IMP] website_mail: improved snippet to subscribe to a mail.group.
Main modifications :
- layout: input - button when not following, links (email - archives - unsubscribe) when following
- when adding your email, update all other subscribe snippets input in the page to avoid havign to re-type it
- management of fields of the record to subscribe to, used to have access to the alias of the group