Commit Graph
112697 Commits
Author SHA1 Message Date
Simon Lejeune 0b30f6aec4 [FIX] stock: show operations view and planned pickings
According to the planned_picking context key (which is set by the plan a
picking button), the detailed operations page should be visible or not.
2017-09-22 19:30:16 +02:00
Simon Lejeune b42547e7f7 [FIX] stock: picking: mark as todo visibility
Always hide this button if the picking has not move lines.
2017-09-22 19:12:15 +02:00
qsm-odoo 3b70961e38 [FIX] web: fix list editable visual bugs
- Tags' text were able to overflow their cell to the right
- In-edition elements were sometimes hidden by other rows' content
2017-09-22 16:27:24 +02:00
Ankit Joshi a7ec2d94fe [FIX] account: clean message if no payment to post
Was PR #19656
2017-09-22 16:14:54 +02:00
amoyaux e91fd246d2 [FIX] stock: merge move not always working.
Correct sort on recordset. See this commit for more
information cdd7f09
2017-09-22 16:13:14 +02:00
Prakash Prajapati 497ea3199f [FIX] link_tracker: Use the correct method name
Issue introduced by https://github.com/odoo/odoo/commit/7accd77999ebcd4ce16388f2a23ee296093fecbc
2017-09-22 15:24:59 +02:00
dbh f6f9e73124 [FIX] web: fix vertical alignement in button box 2017-09-22 15:14:05 +02:00
dbh a203eaccbf [IMP] mass_mailing: Fix traceback on onchange when removing recipients model 2017-09-22 15:08:42 +02:00
Darshil Trivedi 858d06fe0a [FIX] purchase: Fix syntax error on domain definition 2017-09-22 15:01:54 +02:00
qsm-odoo bae966c106 [FIX] web, mail: fix bootstrap customization
- bg-*-full color classes were only defined in enterprise while they
  should have been defined here (fixes kanban column progressbars)
- new @gray-lighter variations should be defined in variables.less
  as they are bootstrap extensions, not bootstrap overrides
2017-09-22 14:58:10 +02:00
qdp-odoo 7049aac877 [FIX] account_check_printing: ir.actions.server state = 'code' where it deserves.
As per https://github.com/odoo/odoo/commit/c56b7462214114079823c38d38de9f194757d20c, the default changed to 'object_write' but some server actions with code were left without specifying the state value to 'code'
2017-09-22 14:53:55 +02:00
amoyaux decd00ec99 [FIX] stock: scheduler active True and rename
Commit 0e4f3bb959 turn scheduler
cron to inactive though it should not.

It also rename the MRP in the name since the scheduler is not
only relative to mrp.
2017-09-22 13:36:16 +02:00
amoyaux bb87187cd8 [FIX] stock: consolidate merge quant
It could exist issue with concurency. If the user try to
open the inventory menu but the database can't obtain the lock
for quants to modify/delete. It could raise a traceback to the
end user.

In order to prevent that we use a try catch and pass the exception
it's okay if all the quants are not merged for the user, it will
probably be the next time. It also use a savepoint in order to not
rollback the whole transaction.

The merge quants was only used once the user click on inventory
menu. But if the user only do it once every 2-3 years, there could
be too much quants to merge in only one transaction. In order to
avoit it, we also deduplicate quants in the scheduler cron.
2017-09-22 13:36:16 +02:00
Mehul Patel ca01a458ec [FIX] website: Update default language when removing current default
Purpose
=======

Steps to reproduce:

Remove current default language of your website, it doesn't change the default language which makes the website crashing on edition.
2017-09-22 13:34:43 +02:00
Yannick Tivisse b2aaba4b3d [FIX] http_routing: Convert Bytes to String before concatenation 2017-09-22 13:34:43 +02:00
Mehul Patel 17206d4016 [FIX] account_check_printing : change amount in word when currenncy was changed. 2017-09-22 13:27:07 +02:00
Mehul Patel 9b6c407c82 [IMP] account : remove commas from string. (#19620) 2017-09-22 13:24:16 +02:00
Parth Patel 7698b6d9fb [FIX] sale: Don't display the full address for invoicing and delivery on SO
Currently, the delivery and the invoicing addresses and displayed fully on a SO instead of displaying only the partner name.
2017-09-22 12:28:41 +02:00
Kirti Choudhary d797628779 [IMP] website_sale:set background-repeat property of image to no-repeat so it will not repeat. 2017-09-22 11:41:08 +02:00
Yannick Tivisse abcfade555 [FIX] mass_mailing: Make kanban card links leading to reporting
Purpose
=======

Links in the dashboard are not working, when clicking on them nothing happens. Either they should do something like other app's dashboard or they should not be clickable
2017-09-22 11:23:22 +02:00
Lucas Perais (lpe) 5da551a0d0 [FIX] account: fiscal day should fall within month boundaries
Before this commit, it was possible to set an illegal date such as november 31st as the fiscal date, messing with all the reports
Now, a new constraint is implemented at save time to ensure the date is correct

closes #19612
2017-09-22 10:24:46 +02:00
Prakash Prajapati 5a96672453 [IMP] stock: rename Inventory Control menuitem 2017-09-21 18:44:59 -07:00
Prakash Prajapati 7cb688f4b7 [IMP] stock: rename scheduler menuitem
Also make it appear lower in the list.
2017-09-21 18:44:59 -07:00
Prakash Prajapati 2ea88cf1e7 [IMP] stock_landed_costs: reorganize menuitems
- Landed Costs under Operations
- Landed Cost Types under Products
2017-09-21 18:44:59 -07:00
Prakash Prajapati c77cee585e [IMP] mrp: rename Orders menu 2017-09-21 18:44:59 -07:00
Prakash Prajapati d562a69bdc [IMP] stock, delivery: remove Packages menu 2017-09-21 18:44:58 -07:00
Prakash Prajapati 7c7d806150 [IMP] stock: remove inventory adjustment Inventory Lines button 2017-09-21 18:44:58 -07:00
Prakash Prajapati adeb1fbfaf [IMP] stock_account: change inventory valuation icon 2017-09-21 18:44:58 -07:00
Prakash Prajapati 83114055c7 [IMP] stock: make location_id string consistent with location_dest_id 2017-09-21 18:44:58 -07:00
Prakash Prajapati 4629cb7d97 [IMP] stock: restructure stock.move.line form view
- Use the new reference field
- Add a UOM after qty_done
- Display some other fields
2017-09-21 18:44:58 -07:00
Prakash Prajapati 1e15a08e13 [IMP] stock, purchase: restructure stock move form view
And also display origin moves and destination moves.
2017-09-21 18:44:58 -07:00
Prakash Prajapati 1e9cfa1730 [IMP] stock_account: improve action_get_account_moves button 2017-09-21 18:44:58 -07:00
Prakash Prajapati 6bb1964360 [IMP] delivery: remove weight on stock.move form 2017-09-21 18:44:58 -07:00
Prakash Prajapati 0b9105cc2c [IMP] stock: add reference that is either picking name or move name
Add this in the stock.move tree while also cleaning it up a bit.
2017-09-21 18:44:58 -07:00
Prakash Prajapati 1a8f086041 [IMP] stock: display move reference instead of picking in tree view 2017-09-21 18:44:49 -07:00
Olivier Dony 2257583bb5 [ADD] ir.attachment: add token field for external access
Introduce a new attachment field (access_token) to allow external
unauthenticated access. This will be an opaque unique number
(typically a UUID) that should be provided via an appropriate
controller, for unauthenticated display.

The field is intended to be NULL unless unauthenticated access has been
allowed, in which case a value will be set for the access_token.

This could be used e.g. for allowing access to images within mailings,
even when the recipient is not logged in (which is sometimes entirely
impossible, when email providers use restricted proxy servers to
load images)

Note 1: this is still a work-in-progress, but serves to freeze the API.
The implementation of the access check and provisioning of the new
field will be added later.

Note 2: namimg collisions with the file download token prevent the use
of a shorter 'token' parameter for download routes.

Apologies for the late (and incomplete) addition in saas-18 :-/
2017-09-21 23:48:36 +02:00
Olivier Dony bb0404ea30 [IMP] website_mail: simplify helpers for external post
After removing the `sha_in` params a while ago, we get rid of
the deprecated `token_field` option.

- Make `token_field` a model attribute, so that each model can easily
  define the token field that should be used, and it does not need
  to be passed around all the time anymore.

- Rename `_special_access_object()` to `_has_token_access()`, much more
  readable since it returns a bool

- Do not forward the `attachment_ids` keyword arg to message_post,
  as it sometimes contains unrelated IDs (the helper is not meant
  to post attachments anyway)

- Update callers accordingly
2017-09-21 23:42:45 +02:00
Christophe Simonis 5c51a0ad4d [MERGE] forward port branch saas-17 up to bf4ccb21f6 2017-09-21 18:14:55 +02:00
Christophe Simonis bf4ccb21f6 [MERGE] forward port branch saas-16 up to 88395bdb8e 2017-09-21 17:18:49 +02:00
kujiu (@havelock.kujiu.org) 1fbaa11c6f Revert "Add attributes and elements on XML views' checks to avoid errors with Studio (renamed_field and studio_groups) (#19623)"
This reverts commit fc5d6e1ab9.
2017-09-21 16:40:16 +02:00
kujiu fc5d6e1ab9 Add attributes and elements on XML views' checks to avoid errors with Studio (renamed_field and studio_groups) (#19623) 2017-09-21 16:21:53 +02:00
Raphael Collet c6b184bb23 [FIX] fields: optimize many2many command (6, 0, ids) on new records
The command does not need to remove existing relations, as there is no relation
yet on new records.  This saves one query per many2many field with that command
in a `create`.
2017-09-21 16:10:13 +02:00
Raphael Collet 59a8234fbc [FIX] mail performance: avoid useless queries
Avoid making queries that are known to return empty recordsets, and do not
format messages to be notified on no channel.
2017-09-21 16:10:13 +02:00
Raphael Collet c21fed6ea4 [FIX] performance: use IrModel._get instead of search 2017-09-21 16:10:13 +02:00
qsm-odoo 0b5087011b [FIX] hr_attendance: use correct appswitcher background
See https://github.com/odoo/enterprise/commit/7d48e44a88cc54ddba0fa98e5ba914aaeb54c9b7
2017-09-21 16:05:31 +02:00
Christophe Simonis 88395bdb8e [MERGE] forward port branch saas-15 up to 3ad3b34df6 2017-09-21 16:00:27 +02:00
ppr-odoo d7b073d427 [FIX] base_setup,stock: Rename 'Multi-Companies' into 'Multi-Company'
As well as 'Inter-Companies' into 'Inter-Company'
2017-09-21 15:41:06 +02:00
qdp-odoo 09d3b269a3 [FIX] account: fixed sale/purchase journal traceback 2017-09-21 15:29:08 +02:00
Christophe Simonis 3ad3b34df6 [MERGE] forward port branch saas-14 up to 537d1ec0d2 2017-09-21 15:08:34 +02:00
qsm-odoo b51b0d66c2 [FIX] web: open domain selector's datepicker at the right position
Before this commit, and since the combination of new views + datepicker
library update, the datepicker opened at the top left of the window
when using it in a domain selector. It also could not be used at all.

This was because the current scenario occured:
1) Click on the datepicker
2) The datepicker triggers that it has changed on opening
3) The whole domain selector is rerendered
4) The datepicker computes where it should open... on basis of the
   old destroyed domain selector

As the main cause of the problem here was the (2), this commit changes
the datepicker odoo widget to only notifies that it has changed when it
has really changed.
2017-09-21 14:51:12 +02:00