Fabien Pinckaers [Tue, 2 Dec 2014 12:47:31 +0000 (13:47 +0100)]
[IMP] Layout of forum
Géry Debongnie [Mon, 1 Dec 2014 15:28:09 +0000 (16:28 +0100)]
[FIX] fix reloading problem (crash) in web client
The previous viewmanager (before its refactoring in sept/oct 2014) was
ignoring some promises in its do_load_state method. The refactoring
actually fixed that, but of course, some other code was dependent on
the broken implementation. This commit removes the use of promises in
do_load_state, which is functionally equivalent to the previous code.
As a result, it relies on some subtle timing of the creation and
initialization of various views. It is somewhat fragile, but it is
actually what the former code did, only in a more explicit way.
Géry Debongnie [Fri, 28 Nov 2014 13:34:56 +0000 (14:34 +0100)]
[FIX] fix a crash when editing dashboard title (web)
fix is very simple. no further comment required I think.
Cedric Snauwaert [Fri, 28 Nov 2014 14:20:30 +0000 (15:20 +0100)]
[FIX] mail: remove deprecation warning when converting a non Date object into moment
Richard Mathot [Fri, 28 Nov 2014 13:25:08 +0000 (14:25 +0100)]
[REV] stock: revert of
f229d40fb7a2a16c6f211a059694b18124b9719a
Reintroduction of field mes_type on product.template. This field was not
used in the code anymore, but we keep it for future use.
This field allows the user to express that there is no fixed conversion
rate between uom and uos.
(also very partial revert of
52c3b52bf09fea7e0920ebcec3f0e8acb066b2b7)
Richard Mathot [Fri, 28 Nov 2014 13:20:37 +0000 (14:20 +0100)]
[FIX] stock: rename picking to transfer, to be coherent with
52c3b52bf09fea7e0920ebcec3f0e8acb066b2b7 (this commit replaces
39606a7d270a6c08c1e95d557b9d8f2751207139)
Jérome Maes [Tue, 25 Nov 2014 16:02:24 +0000 (17:02 +0100)]
[IMP] im_livechat : the rule are now matching with the country (these are not blocked country anymore). A rule is define for a specific URL and country (if geoip installed). Add the sequence field to prioritize the matching. Also improve xml views.
Arthur Maniet [Thu, 27 Nov 2014 10:30:34 +0000 (11:30 +0100)]
[IMP] account: account.statement.operation.template model
- better many2one ondelete strategies
- added analytic account domain
- added multi-company support
Géry Debongnie [Thu, 27 Nov 2014 10:18:36 +0000 (11:18 +0100)]
[IMP] allow many2many to specify formview (web client)
One2Many fields can specify sub tree and sub form view, to be used when
displaying a list view and when adding/editing an element. Many2many
can display a sub tree view, but ignore sub formviews. This can be
fixed by specifying an alternative_form_view to the popup form widget.
Richard Mathot [Wed, 26 Nov 2014 14:56:03 +0000 (15:56 +0100)]
[REV] stock: partial revert of
52c3b52bf09fea7e0920ebcec3f0e8acb066b2b7
The <div> were introduced to correct alignement issues in this form view. Actually, they are generic and due to inherited invisible group, so CSS is sometimes incorrect when you hide groups. Should be fixed in form view implementation.
Richard Mathot [Wed, 26 Nov 2014 14:32:51 +0000 (15:32 +0100)]
[REF] stock: replace <div> in view by nolabel
This patch does not change the look of the view; it is only intended to
use the standard feature "nolabel" instead of hacking the HTML with a
<div> tag.
Richard Mathot [Wed, 26 Nov 2014 14:20:41 +0000 (15:20 +0100)]
[FIX] stock: correct label for picking_id
Richard Mathot [Wed, 26 Nov 2014 14:00:37 +0000 (15:00 +0100)]
[REM] product: leftovers of unused field "mes_type"
Also removed in data in point_of_sale, project_timesheet and sale_mrp.
Richard Mathot [Wed, 26 Nov 2014 13:52:56 +0000 (14:52 +0100)]
[REF] stock: product quantity stat button
Clean version of stat button of product quantity. Will also work in
creation mode and avoid unuseful computed string field
(fix parts of commit
52c3b52bf09fea7e0920ebcec3f0e8acb066b2b7)
Jitendra Prajapati [Fri, 7 Nov 2014 10:25:10 +0000 (15:55 +0530)]
[IMP] stock: onboarding (display improvements)
Bhumi Patel [Mon, 20 Oct 2014 09:44:11 +0000 (15:14 +0530)]
[IMP] mrp: BoM name is now accessible to the 'manage multiple level
of bom' group, not the properties group. Indeed this will allow more users
to see and search the name.
Pankaj Joshi [Fri, 14 Nov 2014 07:22:46 +0000 (12:52 +0530)]
[FIX] web: radio buttons
removed js that let user to uncheck radiobutton and from addons removed radiobuttons used for not required field except sync_typ.
changed this field as required because of functional requirement
Géry Debongnie [Mon, 24 Nov 2014 10:35:13 +0000 (11:35 +0100)]
[FIX] fix debug mode: correct id and xml_id (web client)
This commit fixes two issues with debug mode:
* when a default searchview is requested, it is
initialized without its view_id. Problem is that it prevents debug mode from editing the view.
* add xml_id in Edit action form view(debug mode) : this makes the xml id visible in form view
Jérome Maes [Thu, 18 Sep 2014 08:22:46 +0000 (10:22 +0200)]
[IMP] im_livechat : add rule to display (or not) the support button.
Jérome Maes [Tue, 18 Nov 2014 12:47:32 +0000 (13:47 +0100)]
[IMP] im_livechat : add nbr_sessions field on channel and modifications of various views
Desai Binjal [Wed, 29 Oct 2014 07:12:30 +0000 (12:42 +0530)]
[IMP] crm: opportunity kanban view: display tags.
[FIX] crm: opportunity kanban view: description of a crm stage is requirements
not description.
Thibault Delavallée [Fri, 21 Nov 2014 09:22:54 +0000 (10:22 +0100)]
[FIX] project, project_issue: when no project in context, display default
columns in kanban view. Also fixed some issues in the issue kanban view.
Thibault Delavallée [Thu, 20 Nov 2014 15:02:10 +0000 (16:02 +0100)]
[FIX] sale: removed now dead and unnecessary menu.
Bhumi Patel [Wed, 22 Oct 2014 10:25:38 +0000 (15:55 +0530)]
[IMP] portal_sale, sale, website_quote: display the payment
button in emails only if there is an amount to pay. Free orders
exist (free events for example).
[IMP] website_sale: pay now is now confirm order if the sale order
amount is 0. Also improved the confirmation message in the checkout
process.
Géry Debongnie [Thu, 20 Nov 2014 13:58:10 +0000 (14:58 +0100)]
[FIX] update tests and change search logic (webclient)
previous commit broke some tests. The issue is that the search view
now avoid making requests if there is no action id. But this is an
assumption that tests use, so some slight adjustments have to be made.
Also, this is the moment to give properly the action id to the favorite
menu. Instead of bypassing its parent, it now receives the action id
from the search view.
Géry Debongnie [Thu, 20 Nov 2014 11:09:39 +0000 (12:09 +0100)]
[FIX] web client fix: crash when loading translation
Problem happens when the user from the website tries to load a translation,
it opens up a modal window without an action. But the modal has a (hidden)
searchview which tries to load custom filters corresponding to that
non-existing action.
Another problem at the same time was that the view manager could not
display the breadcrumbs for a non-existing breadcrumb.
Julien Legros [Thu, 20 Nov 2014 11:33:20 +0000 (12:33 +0100)]
[FIX] web_tip: tip repositioning
* call reposition when editable list view is rendered
* also reposition the popover when reposition is called
qdp-odoo [Fri, 21 Nov 2014 09:09:29 +0000 (10:09 +0100)]
[IMP] base, ir_sequence: added use_date_range field on ir.sequence, that allows to have several sequences running for the same one depending on date ranges (similar to what was existing previously on accounting with FY, which is now deprecated) + port to new API
Bhumi Patel [Mon, 20 Oct 2014 10:26:44 +0000 (15:56 +0530)]
[IMP] productbetter menutips and help for product menus.
tpa-odoo [Mon, 27 Oct 2014 13:02:51 +0000 (18:32 +0530)]
[IMP] website_forum: add a new karma to control the
way links displayed in posts and answers. A nofollow attribute is
added is the author has not enough karma, adding a protection for
spammer tryign to improve their SEO.
Jeremy Kersten [Tue, 18 Nov 2014 16:02:58 +0000 (17:02 +0100)]
[FIX] Add missings files from previous forward port.
Jeremy Kersten [Tue, 18 Nov 2014 15:57:06 +0000 (16:57 +0100)]
[MERGE] forward port of branch 8.0 up to c41109f
Jeremy Kersten [Tue, 18 Nov 2014 10:52:25 +0000 (11:52 +0100)]
[MERGE] forward port of branch 8.0 up to fc329b6
Jérome Maes [Tue, 18 Nov 2014 10:35:28 +0000 (11:35 +0100)]
[FIX] im_chat : momentjs undefined on external pages. Temporary fix by replacing moment() by window.moment(). The moment helper is defined in core.js, which is not imported in web_assets common. If refactoring, the dates will be pre-process in render_messages().
Jeremy Kersten [Tue, 18 Nov 2014 10:25:31 +0000 (11:25 +0100)]
[FIX] website_forum: use common method to compute tags for orm
Tymoteusz Motylewski [Tue, 18 Nov 2014 09:45:25 +0000 (10:45 +0100)]
[FIX] doc: incorrect class access in new api guide
When creating a class with the new API, we should use models.Model
instead of just Model.
closes #3713
Xavier Morel [Tue, 18 Nov 2014 10:18:14 +0000 (11:18 +0100)]
[FIX] doc: double period in footer
Julien Legros [Tue, 18 Nov 2014 09:43:52 +0000 (10:43 +0100)]
[FIX] web_tip: properly remove the tip popover
Julien Legros [Mon, 17 Nov 2014 15:48:10 +0000 (16:48 +0100)]
[FIX] web_tip: prevent useless calls to eval_tip
Jeremy Kersten [Tue, 18 Nov 2014 09:40:59 +0000 (10:40 +0100)]
[MERGE] forward port of branch 8.0 up to 5ed0739
Dikshit Prajapati [Tue, 18 Nov 2014 07:21:47 +0000 (08:21 +0100)]
[REM] board: "reset dashboard" button
Christophe Simonis [Mon, 17 Nov 2014 18:13:48 +0000 (19:13 +0100)]
[FIX] website_forum: read badge owners as SUPERUSER
Xavier Morel [Mon, 17 Nov 2014 16:40:38 +0000 (17:40 +0100)]
[FIX] doc: latex building
* add latex support for exercise admonition
* latex freezes/crashes on {HEAVY WIDE-HEADED RIGHTWARDS ARROW} so
replace them by more manual arrows
* add some preamble configuration, may not even be necessary
* generate WS setup code only in HTML output. WS doc in latex still
isn't great as it displays all 4 languages one after the other,
ideally they should be tagged or something, so only one language at a
time is generated in non-HTML outputs
Christophe Simonis [Mon, 17 Nov 2014 16:31:12 +0000 (17:31 +0100)]
[MERGE] forward port of branch 8.0 up to c92e70b
Jeremy Kersten [Mon, 17 Nov 2014 15:04:57 +0000 (16:04 +0100)]
[FIX] website_forum: add fake tour for people waiting the tour. To remove in Without it, localstorage loop to search this unexisting tour after the install...
Jeremy Kersten [Fri, 14 Nov 2014 18:14:12 +0000 (19:14 +0100)]
[FIX] website_forum - replace texttext by select2 for the tags fields
Xavier Morel [Mon, 17 Nov 2014 15:25:34 +0000 (16:25 +0100)]
[IMP] doc: improve index, WS page
Xavier Morel [Mon, 17 Nov 2014 15:20:43 +0000 (16:20 +0100)]
[IMP] doc: have ws page take whole page width
Doc pages used container() which is width-limited, works acceptably for
single-column content but WS page takes 2 columns with code, having as
much space as possible is a much better idea.
Mayhaps it should even use lg-column(2) instead of md-column(3)?
Xavier Morel [Mon, 17 Nov 2014 15:17:07 +0000 (16:17 +0100)]
[IMP] doc: wording of method-calling introduction
Xavier Morel [Mon, 17 Nov 2014 15:10:06 +0000 (16:10 +0100)]
[IMP] doc: rename WS page, lift to top-level
Raphael Collet [Mon, 17 Nov 2014 14:39:14 +0000 (15:39 +0100)]
[FIX] tests: make self.assertRaises() return the expected object
Xavier Morel [Mon, 17 Nov 2014 14:18:14 +0000 (15:18 +0100)]
[IMP] doc: try to make some bits of the porting guide less confusing
Xavier Morel [Mon, 17 Nov 2014 14:14:22 +0000 (15:14 +0100)]
[IMP] doc: move old API sections to orm toplevel
also move porting checklist/doc/thing to bottom of document, it's mostly
for seasoned or internal developers
Xavier Morel [Mon, 17 Nov 2014 14:10:34 +0000 (15:10 +0100)]
[IMP] doc: more indexy index
Thibault Delavallée [Mon, 17 Nov 2014 12:45:20 +0000 (13:45 +0100)]
[IMP] event: chatter on registration proposes to add
the partner and attendee email as followers.
Thibault Delavallée [Mon, 17 Nov 2014 12:28:05 +0000 (13:28 +0100)]
[CLEAN] event: removed unnecessary count_registrations field;
on form view, display attendees (not canceled, ...) instead of
registration count.
Raphael Collet [Thu, 13 Nov 2014 16:40:41 +0000 (17:40 +0100)]
[FIX] tests: make sure that a failed tests does not leave the environment dirty
When a failure occurs, or when exiting an assertRaises(), the environment
should not contain fields to recompute.
Xavier Morel [Mon, 17 Nov 2014 13:07:36 +0000 (14:07 +0100)]
[IMP] doc: indexify index
* opt-in toc navification
* unhide index toctree, it's now back to a list of documents
* remove text thing
Yannick Tivisse [Mon, 20 Oct 2014 14:40:40 +0000 (16:40 +0200)]
[IMP] website_event: when buying tickets, display them by type
Raphael Collet [Mon, 17 Nov 2014 10:35:06 +0000 (11:35 +0100)]
[FIX] ir_model: on a custom model, _rec_name should be 'x_name' if it exists
hiekmann [Mon, 17 Nov 2014 09:22:23 +0000 (09:22 +0000)]
[fix] portal: typo in description
closes #3685
Dikshit Prajapati [Thu, 30 Oct 2014 12:38:54 +0000 (18:08 +0530)]
[IMP] sale & sale_stock : removed 'Enable Invoicing Sales order lines' group from user setting and 'Generate invoices based on the sales order lines' group from sale setting.
Josse Colpaert [Mon, 17 Nov 2014 08:44:10 +0000 (09:44 +0100)]
Revert "[IMP] Remove unnecessary refresh statements because of new api"
This reverts commit
b213438176b16e96686d94063a3cdf6dc5c49618.
fwi-odoo [Thu, 9 Oct 2014 07:19:58 +0000 (09:19 +0200)]
[IMP] crm: added reason for loosing opportunities
Josse Colpaert [Thu, 13 Nov 2014 16:48:21 +0000 (17:48 +0100)]
[IMP] Remove unnecessary refresh statements because of new api
Denis Ledoux [Fri, 14 Nov 2014 17:02:02 +0000 (18:02 +0100)]
[MERGE] forward port of branch saas-3 up to c571413
Denis Ledoux [Fri, 14 Nov 2014 16:59:00 +0000 (17:59 +0100)]
[MERGE] forward port of branch 7.0 up to 922a52d
Denis Ledoux [Fri, 14 Nov 2014 16:57:10 +0000 (17:57 +0100)]
[FIX] web: date autocompletion should not harcode 'date'
But should use date or datetime according to the widget type
This fix is related to
69d60465ee67969d72210a61a9e23204d037378a
Martin Trigaux [Fri, 14 Nov 2014 15:51:13 +0000 (16:51 +0100)]
[FIX] purchase: keep PO currency on picking
The delivery of a purchase order was not keeping the currency and cost price
from the purchase order for the reception. This was problematic for orders where
the invoice was generated from the picking (Invoicing Control: Based on incoming
shipments). The currency of the purchase order was kept while the cost was the
one in the company's currency.
It's better to keep the currency of the purchase order to make the invoice as
it's usually the one expected (and not convert everything to the currency of the
company). opw 615555
Denis Ledoux [Fri, 14 Nov 2014 15:58:24 +0000 (16:58 +0100)]
[MERGE] forward port of branch saas-3 up to 7ab4137
Jeremy Kersten [Fri, 14 Nov 2014 15:19:33 +0000 (16:19 +0100)]
[FIX] layout - use company name for attribut alt of company logo
Denis Ledoux [Fri, 14 Nov 2014 14:59:33 +0000 (15:59 +0100)]
[MERGE] forward port of branch 7.0 up to da15c9d
Denis Ledoux [Fri, 14 Nov 2014 14:49:39 +0000 (15:49 +0100)]
[FIX] web: do not set the one2many dirty on field validation
This rev.
06104ba553702b16878d52c5b8ab089355216a5e
Added the dirty flag on the o2m field when the editor of the editable list was enabled (meaning that the editable list has been altered)) because the dirty flag was not set correctly by the one2many during the edition, at the time.
It looks like this is now the case
Besides, as now, we valid all the editable list of the form, wether or not the editable list was altered, we must not set the o2m as dirty anymore.
qdp-odoo [Fri, 14 Nov 2014 14:45:13 +0000 (15:45 +0100)]
[FIX] account: allow to use quantity in taxes computated with python code
ged-odoo [Fri, 14 Nov 2014 13:38:15 +0000 (14:38 +0100)]
[IMP] add link to write method in documentation
Denis Ledoux [Fri, 14 Nov 2014 13:14:58 +0000 (14:14 +0100)]
[FIX] point_of_sale: missing multi-company rule
Denis Ledoux [Fri, 14 Nov 2014 12:40:02 +0000 (13:40 +0100)]
[FIX] product: more accurate name_search
First, name_search searches on default_code, then, if the limit is not reached, it searches on the product name
The results found from the default code search must be removed from the search domain when doing the search on the product name, to avoid having results already found by the search on the default_code
opw-618015
Dikshit Prajapati [Mon, 20 Oct 2014 09:50:32 +0000 (15:20 +0530)]
[IMP] mass_mailing: add creation date in fields
to display it on list view + perform search on it.
Martin Trigaux [Fri, 14 Nov 2014 10:10:15 +0000 (11:10 +0100)]
[FIX] stock: multicompany reception
When a picking is confirmed, the generated account.move(.line) should take the
company, accounts, journals and period with the same company as the picking,
not the one of the current user.
This was problematic if a user in a company confirm a picking linked to
a purchase order done in another company.
For real time valuations, the generated accounting entries were mixing both
companies.
Fixes #3466
Martin Trigaux [Thu, 13 Nov 2014 17:01:25 +0000 (18:01 +0100)]
[IMP] purchase: error message linked to product, not company
Jeremy Kersten [Fri, 14 Nov 2014 10:13:38 +0000 (11:13 +0100)]
[FIX] layout: add alt on logo for seo
Thibault Delavallée [Fri, 14 Nov 2014 09:46:57 +0000 (10:46 +0100)]
[FIX] hr_holidays: fix virtual remaining leaves computation.
Now only validated allocation requests are taken into account
when computing the number of virtual remaining leaves (leaves
+ pending leaves). This avoid creating allocation request to
have virtual remaining leaves artificially added.
Thibault Delavallée [Fri, 14 Nov 2014 09:21:31 +0000 (10:21 +0100)]
[FIX] website_forum: fix broken forum activation email due to the migration to the new API.
Next step: write tests. Hooray.
Thibault Delavallée [Thu, 13 Nov 2014 16:32:39 +0000 (17:32 +0100)]
[FIX] crm: fixed bug in m2m between sales teams and stages introduced
when cleaning the models. The m2m table name is different when defined
in sales_team or in stages, leading to a quie strange behavior.
Josse Colpaert [Thu, 13 Nov 2014 14:24:31 +0000 (15:24 +0100)]
[IMP] Pass the invoice type from sale to picking for the sale_journal module that is installable again
Samus CTO [Thu, 13 Nov 2014 15:23:08 +0000 (16:23 +0100)]
[IMP] Speedup test account_assert_test.xml in account
Frederic van der Essen [Thu, 13 Nov 2014 15:07:52 +0000 (16:07 +0100)]
[FIX] point_of_sale: rounding error in discount computing + removing duplicated code
Martin Trigaux [Thu, 13 Nov 2014 15:02:11 +0000 (16:02 +0100)]
[FIX] fleet: avoid function field computation order issues
The name of a vehicle is function field.
The field odometer on a vehicle has a a setter that creates an odometer.
The name of an odometer is a function field that uses the name of the vehicle.
If a vehicle is created with a value in odometer field, the odometer is created before the name is computed so the concatanation would fail.
Fixes #3468
Géry Debongnie [Thu, 13 Nov 2014 14:02:42 +0000 (15:02 +0100)]
[FIX] fix bouncing issue in form view (web client)
the buttons edit and create have been ungrouped recently. As a
side effect (of course), the bouncing effect in form view is broken.
This should hopefully fix the issue without introducing any other
problems :/
Raphael Collet [Thu, 6 Nov 2014 14:03:00 +0000 (15:03 +0100)]
[IMP] models: improve performance of _setup_fields()
There was an issue in _setup_fields(): the method invokes _inherits_reload(),
which recomputes inherited fields, and invokes itself recursively on children
models. This may be problematic if the children models have already been set
up.
This optimization avoids recursive calls of method _inherits_reload(). In
_setup_fields(), first all parent models are set up, then their fields are
inspected to determine inherited fields, and their setup is done. This scheme
guarantees that inherited fields are computed once per model.
Raphael Collet [Thu, 13 Nov 2014 09:06:30 +0000 (10:06 +0100)]
[FIX] models: simplify conditions that seem to lead to missing fields
Raphael Collet [Thu, 6 Nov 2014 14:48:20 +0000 (15:48 +0100)]
[IMP] models: in _init_manual_fields(), create fields instead of columns
Note that serialized fields are ignored; they are no longer supported, anyway.
Raphael Collet [Thu, 6 Nov 2014 14:16:02 +0000 (15:16 +0100)]
[FIX] ir_model: always setup models before calling _auto_init()
Jeremy Kersten [Thu, 13 Nov 2014 13:51:43 +0000 (14:51 +0100)]
[FIX] website_forum: fixes
[FIX] website_forum: escape the tags from post at texttext rendering
[FIX] website_forum: jquery is not already loaded
[FIX] website_forum: use uid from session because WebsiteForum object has no attribute '_uid'
Raphael Collet [Thu, 13 Nov 2014 11:42:18 +0000 (12:42 +0100)]
[FIX] account_voucher: getting default invoice crashes
Fixes #3524.
Jeremy Kersten [Thu, 13 Nov 2014 08:21:46 +0000 (09:21 +0100)]
[FIX] website_sale: browse category to slugify. Because slug of an id will generate a tb 'need more than 1 value to unpack'
Jeremy Kersten [Wed, 12 Nov 2014 16:30:45 +0000 (17:30 +0100)]
[FIX] mail_group: use default picture disc if not mimetype has been defined (else tb)
Raphael Collet [Thu, 13 Nov 2014 11:30:26 +0000 (12:30 +0100)]
[FIX] addons: incorrect new-api invocation of method write() with context
This fixes #3411.
Thibault Delavallée [Thu, 13 Nov 2014 10:45:21 +0000 (11:45 +0100)]
[IMP] hr_recruitment: applicant kanban customization
- stage model: add field holding the eventual star (priority) management
+ updated applicant kanban view
Josse Colpaert [Thu, 13 Nov 2014 11:24:01 +0000 (12:24 +0100)]
Merge pull request #3601 from odoo-dev/8.0-wmsstagingx-jco
WMS STAGING X
- scheduler cursor and company_id
- digits in transfer wizard
- delivery putting carrier on picking from sale and correctly invoicing it
- inventory import: imported lines should not be deleted
- average price correction for twice same product / variants
- recreate picking from sale order
- manual purchase order: picking type by default should depend on user's company