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
Christophe Simonis [Mon, 17 Nov 2014 16:31:12 +0000 (17:31 +0100)]
[MERGE] forward port of branch 8.0 up to c92e70b
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
Frederic van der Essen [Thu, 13 Nov 2014 11:03:11 +0000 (12:03 +0100)]
[FIX] point_of_sale: I see a chrome receipt and I want it painted black ;)
Josse Colpaert [Thu, 13 Nov 2014 10:49:27 +0000 (11:49 +0100)]
[IMP] Update comments for inventory from import
Josse Colpaert [Fri, 24 Oct 2014 15:50:31 +0000 (17:50 +0200)]
[IMP] When an inventory has lines already, don't delete them, that way we can import them
[IMP] Put the theoretical quantity when importing an inventory
Josse Colpaert [Tue, 4 Nov 2014 16:28:43 +0000 (17:28 +0100)]
[FIX] super of scheduler / delivery method and phantom boms / average price
[FIX] super of scheduler should have same params + use_new_cursor should be passed to procure orderpoint confirm
[IMP] Make sure the delivery works when doing phantom boms
[FIX] This should update the average price properly when having multiple moves with the same product
[FIX] Average price should take into account the quantities of all variants
[FIX] Make sure purchase picking type in other company works
[IMP] Views of quants and destination locations of moves
Josse Colpaert [Thu, 6 Nov 2014 10:40:04 +0000 (11:40 +0100)]
[FIX] Method should pass the correct objects for adding the line for the delivery method when invoicing based on shipments
Josse Colpaert [Wed, 5 Nov 2014 10:45:04 +0000 (11:45 +0100)]
[FIX] #3153 Digits in wizard should be those of moves,... / Recreate delivery order from sale / Delivery method on delivery order
[IMP] Provide better purchase order picking type
[IMP] Possibly a better product uos handling in the sale order line
[FIX] Recreate of delivery order when sales order in shipping exception
[FIX] Delivery method should be passed to delivery order
Thibault Delavallée [Thu, 13 Nov 2014 10:28:33 +0000 (11:28 +0100)]
[IMP] crm: kanban customization
- stage model: add field holding the eventual specific legends for kanban
tates and star (priority) management
- crm.lead kanban: use kanban column using group_by_tooltip
- update data and demo data
grzegorz-openglobe [Wed, 24 Sep 2014 09:35:10 +0000 (11:35 +0200)]
[IMP] l10n_pl: backport of fd86b7a to 8.0
[IMP] l10n_pl: some corrections in Polish CoA
PLN as default currency
Many improvements in taxes and fiscal positions
Fixes #825
Thibault Delavallée [Fri, 31 Oct 2014 13:02:40 +0000 (14:02 +0100)]
[IMP] project: kanban customization
- stage model (project.task.type): add fields holding the eventual specific
legends for kanban states and star (priority) management
- project: task now have labels; you may use project to hold trainings
instead of tasks.
- project form: use label field on tasks statinfo to use the label
- project.task form: use kanban state customization using states_legend option;
- project.task kanban: use kanban column and kanban state cuztomization
using group_by_tooltip and states_legend options
- project_issue: issues now have labels, like tasks.
- issue: same kanban custo as for tasks
- update data and demo data
[IMP] web: statinfo widget now take an optional label_field option allowing
to have strings coming from another field present in the form view
Jérome Maes [Thu, 13 Nov 2014 10:28:13 +0000 (11:28 +0100)]
[FIX] im_chat : fix undefined functions (momentjs and im_chat.js)
Martin Trigaux [Thu, 13 Nov 2014 10:26:44 +0000 (11:26 +0100)]
[FIX] hr_timehseet: restrict access right
Fix error while moving it at ca209eb
Rifakat Haradwala [Wed, 22 Oct 2014 10:07:00 +0000 (15:37 +0530)]
[FIX] web: date autocompletion should use user's locale
search bar does not suggest date field format based on user's locale and always shows based on mmddyy using Date.parse, opw:615276
Note: starting in 9.0, datejs has been replaced by momentjs, so this
problem should be solved in a better way.
Rucha Dave [Mon, 10 Nov 2014 05:57:20 +0000 (11:27 +0530)]
[FIX] hr_timesheet(_sheet): access rights on report
hr.timesheet.report was moved from hr_timesheet_sheet to hr_timesheet but not the ir.model.access
Avoid warning "The model hr.timesheet.report has no access rules, consider adding one."
Fixes #3319
Christophe Simonis [Wed, 12 Nov 2014 18:47:04 +0000 (19:47 +0100)]
[MERGE] forward port of branch 8.0 up to 83bd9ee
Christophe Simonis [Wed, 12 Nov 2014 18:25:50 +0000 (19:25 +0100)]
[FIX] account: give "Invoice" users access to "Invoice Analysis" Report.
This access is required in order to display the amount invoiced on partner form
Olivier Dony [Wed, 12 Nov 2014 17:50:38 +0000 (18:50 +0100)]
[FIX] account.invoice report: show customer description of payment term
The payment term description (note) is meant
to be shown to customers. Restore it in the
default invoice report, as it was in 7.0.
If empty, assume the payment term is meant
to be hidden from customer, and do not show
anything.
By default the description includes the name
of the payment term, so no need to keep both.
Frédéric Van der Essen [Wed, 12 Nov 2014 16:58:07 +0000 (17:58 +0100)]
Merge pull request #3220 from odoo-dev/7.0-opw-615322-rgo
[FIX] point_of_sale: fixed rounding issue for pos order when discount ad...
Géry Debongnie [Wed, 12 Nov 2014 14:16:55 +0000 (15:16 +0100)]
[FIX] prevent crash when searching strings (addon web)
with the switch to moment.js, the way dates are parsed has changed,
and the autocompletion should be adapted to ignore invalid dates.
rba-odoo [Mon, 23 Jun 2014 11:05:05 +0000 (16:35 +0530)]
[IMP] *: kanban custom CSS removal
Denis Ledoux [Wed, 12 Nov 2014 11:18:26 +0000 (12:18 +0100)]
[FIX] stock: do not try to upper undefined picking name
opw-617750
Yajo [Fri, 7 Nov 2014 12:54:49 +0000 (13:54 +0100)]
[FIX] crm: Pending calls are also "To Do"
Christophe Simonis [Wed, 12 Nov 2014 09:56:38 +0000 (10:56 +0100)]
[MERGE] forward port of branch 7.0 up to ab5ecef
hiekmann [Mon, 10 Nov 2014 16:17:07 +0000 (16:17 +0000)]
[FIX] payment_*: typo, cliking -> clicking
Géry Debongnie [Wed, 12 Nov 2014 08:36:26 +0000 (09:36 +0100)]
[FIX] UI fix: ungroup 'edit' and 'create' (web client)
ungroup these buttons in form view.
Géry Debongnie [Fri, 7 Nov 2014 08:46:11 +0000 (09:46 +0100)]
[FIX] add scrollbar to filters menu if needed (web client)
the filters menu can quickly grow if the user adds many conditions.
Once it grows out of the screen, the lower buttons can not be reached
anymore. This patch adds a vertical scrollbar to fix this issue. It
has to use some javascript to update its max-height property.
Frederic van der Essen [Tue, 11 Nov 2014 18:32:52 +0000 (19:32 +0100)]
[FIX] point_of_sale: use 'Product Price' decimal precision for product prices
Frederic van der Essen [Tue, 11 Nov 2014 17:00:24 +0000 (18:00 +0100)]
[FIX] point_of_sale: some pos order fields were missing the proper decimal precision
Frederic van der Essen [Tue, 11 Nov 2014 16:41:20 +0000 (17:41 +0100)]
[FIX] point_of_sale: decimal precision was hardcoded to 2 in various places
Frederic van der Essen [Tue, 11 Nov 2014 15:18:27 +0000 (16:18 +0100)]
[FIX] point_of_sale: correctly handle the rounding when the unit's rounding is set to zero
Olivier Dony [Mon, 10 Nov 2014 15:20:23 +0000 (16:20 +0100)]
[FIX] website_forum: avoid access error when closing spam/abuse questions
Logging the user login is not necessary, but
accessing it might cause access errors. Logging
the UID is equivalent anyway, so let's not bother.
Martin Trigaux [Mon, 10 Nov 2014 14:59:30 +0000 (15:59 +0100)]
[FIX] project_timesheet: accept work without date
date field on a project.task.work is not required while it is on the hr.analytic.timesheet (with default value).
Avoid error if fill a task work without date, fallback on context_today.
Martin Trigaux [Mon, 10 Nov 2014 14:36:40 +0000 (15:36 +0100)]
[FIX] mrp: prevent suppression of bom if used in mo
The field bom_id is required on a manufacturing order and deleting a mrp.bom would block the current mo.
Restrict the suppression for manufacturing order in progress.
Fixes #3417
Olivier Dony [Mon, 10 Nov 2014 14:05:19 +0000 (15:05 +0100)]
[FIX] /web/binary/{image,saveas}: use request.registry instead of deprecated `request.session.model`
This makes the controllers work also for
public users, e.g. in the frontend.
Dhs-odoo [Mon, 10 Nov 2014 13:13:43 +0000 (14:13 +0100)]
[FIX] project_timesheet: missing timesheet for tasks without project
Timesheet activities (hr.analytic.timesheet) are generated when a work activity (project.task.work) is logged on a task.
These are updated if the project of the task is modified.
This patch applies the same behaviour for tasks without project, the timesheet activities are generated once a project is set on the task.
To avoid redundency in the code, extract the computation in a distinct method.
Fixes #701, opw 609481
Frederic van der Essen [Mon, 10 Nov 2014 10:46:46 +0000 (11:46 +0100)]
[FIX] point_of_sale: when loading models with a specified id, use read instead of search_read, to prevent inactive records from being skipped
Simon Lejeune [Mon, 10 Nov 2014 10:49:02 +0000 (11:49 +0100)]
[FIX] Packaging: Debian: ignore root Makefile
Commit
388732dfa6a1 introduced a makefile at the root of the project, and
dh_auto_build is using this file instead of setup.py. Explicitely tell
debhelper to not use the makefile.
Commandant Custo [Sun, 9 Nov 2014 09:01:13 +0000 (10:01 +0100)]
[FIX] stock_picking_wave: Missing _description
Martin Trigaux [Fri, 7 Nov 2014 16:39:57 +0000 (17:39 +0100)]
[FIX] account: recompute date_due
Add on_change to recompute the due date when the invoice date is modified (it was only done when modified the partner_id field
Fixes #3413
Fabien Meghazi [Thu, 9 Oct 2014 15:29:43 +0000 (17:29 +0200)]
[REM] Removed QWebContext.templates cache
Now rely solely on ir.ui.view#read_template()'s orm cache
Fabien Meghazi [Fri, 7 Nov 2014 15:07:54 +0000 (16:07 +0100)]
[ADD] ir.qweb FileSystemLoader
Xavier Morel [Fri, 7 Nov 2014 13:42:33 +0000 (14:42 +0100)]
[ADD] doc: guide to the new API
Raw API documentation is not sufficient for people to learn the working
principles of the API, especially when they already know the old one. And some
things have changed since the opendays so the presentations don't reflect the
current state of affairs.
Closes #3483
Thibault Delavallée [Fri, 7 Nov 2014 13:30:37 +0000 (14:30 +0100)]
[FIX] view_form: kanban selection widget: fixed issue of binding on this instead of self
Nick Booker [Fri, 7 Nov 2014 13:25:04 +0000 (14:25 +0100)]
[REF] account_anglo_saxon: refactor anglo saxon move lines
So that we can customise the real-time stock journal items made during sale invoice postings for certain companies who account for it slightly differently.