Commit Graph
112789 Commits
Author SHA1 Message Date
Yannick Tivisse e2f58616d4 [IMP] payment: display journal_id on top of payment acquirer form
Otherwise Paypal layout is a bit messy as fees appears before accounting
configuration which should be the first thing to be displayed.
2017-09-27 13:21:35 +02:00
Joren Van Onder a6114ac371 [IMP] sale: remove unused variable 2017-09-27 13:20:00 +02:00
Vandan Shah 0c8e18eba6 [IMP] stock: logged the note when edit the initial demand on a picking and when edit the received(done) quantity on a picking done(validated) as well as backorder message is deleted for better usability 2017-09-27 13:20:00 +02:00
Vandan Shah b509427e7a [IMP] mrp: when quantity, location, lot changed log note should be logged 2017-09-27 13:20:00 +02:00
Vandan Shah 41a3c884c0 [IMP] purchase: when product qty is change in confirmed PO display log note 2017-09-27 13:20:00 +02:00
Vandan Shah 513c1474a3 [IMP] sale: improved logged note on confirmed sale order 2017-09-27 13:20:00 +02:00
Lucas Perais (lpe) 9dead7e3d3 [FIX] web: fix less on toggle boolean 2017-09-27 13:18:53 +02:00
jpr-odoo 23d7c53424 [FIX][IMP] portal, sale: fix and improve UX for signature form in customer portal
* set height for draw signature when user want to accept order to avoid
   various display issues;
 * fix name input not being displayed as error if trying to sign with a
   void partner name;
 * no more show 'Accept & Sign' button if customer signed document;
 * update message string for success message after signature;
 * add an option to specify the signature button label and use it in
   sale customer portal;
 * improve return of signature route to return more specific error
   messages;

This commit contains squashed code from @rop-odoo .
2017-09-27 13:02:24 +02:00
jpr-odoo 9d9f4cccdb [IMP] sale: better display taxes in order display on customer portal
Do it like sale order report.
2017-09-27 13:02:24 +02:00
Dhaval Suthar 896487c063 [FIX] sale: fix and improve behavior of sale customer portal
* display canceled or done status of quotations on quotation page
   view in order to ease user navigation;
 * allow to filter on state;
 * fix breadcrumb for canceled quotations, currently telling 'Sales
   Orders' instead of 'Quotations';
 * display order shipping address only if multi address group
   is activated;
 * display order expiration date on sale order customer portal;
 * when signed, add help message on disabled 'Sign' button telling
   when and by who the order has been signed;
 * fix download button display and alignment in quote template

This commit contains squashed commits coming from @jpr-odoo and
@abh-odoo .
2017-09-27 13:02:24 +02:00
Aaron Bohy c52b7ebd26 [FIX] web: tests: invalid XML in the arch
not detected by the runbot... but so the test isn't executed.
2017-09-27 13:01:04 +02:00
Martin Trigaux 6f6a69ec23 [FIX] transifex: allow both python import
Now that @jem-odoo has finally migrated to python3
2017-09-27 10:30:49 +02:00
Dhaval Suthar 9ae6feb934 [FIX] sale: set sign as default option for online signature and payment options 2017-09-27 10:30:01 +02:00
Luis Ernesto Torres Macías 82e205701e [FIX] l10n_mx: fix DIOT report by adding tags
- DIOT report is splitted in some columns like Tax 16% , Tax 0%, Retention and Exempt. was added a tag by each column, to allow indicate the correct column. However, this report is broken since this commit:

https://github.com/odoo/odoo/commit/3fb4159ad9c9b9488912292b7b339d9f1fd2ce3c#diff-0cd8c6aab13e39d5fe3ec259db54035cL3)

- Assign the new tags in the correct tax
2017-09-27 10:24:54 +02:00
Pierre Masereel c493569866 [FIX] stock, barcodes: allow force detailed view of picking and rename barcode 'CANCEL' to 'DISCARD' 2017-09-27 09:21:17 +02:00
Pratima Gupta 55c0221e38 [IMP] stock, mrp{,_repair}: warn when operating on out of stock products
This implements a warning when the user tries to do any of the
following operations on a product that is not in stock:

- Scrapping
- Unbuilding
- Repairing

The warning displays the current stock of the product in question per
location which can be helpful in case the user selected the wrong
location.
2017-09-26 21:36:10 -07:00
Pratima Gupta a5de785969 [IMP] stock: open stock.move.line when clicking on scrap smart button
Instead of stock.move.
2017-09-26 21:36:10 -07:00
Pratima Gupta 6e6e8f1cc4 [IMP] mrp_repair: require lot immediately when creating repair lines
Instead of only checking when actually confirming the repair.
2017-09-26 21:36:10 -07:00
Pratima Gupta 578ebc6f6e [IMP] mrp: make smart button on mrp.unbuild open stock.move.line
Instead of stock.move.
2017-09-26 21:36:06 -07:00
Rohit Ramnani 088a329749 [FIX] mrp: force computation of time_cycle in workcenter form view
Without this time_cycle is not computed in the tree view on new
workcenters created through 'Add an item'. This leads to the
time_cycle field being displayed as NaN:NaN. This forces computation
on the form view opened through 'Add an item' which solves the issue.
2017-09-26 20:04:19 -07:00
Suraj Shukla 7295ed473e [FIX] mrp: allocate more room for oee field on kanban card
To avoid it overflowing past the edge of the card.
2017-09-26 20:00:33 -07:00
Jaykishan Solanki 9345463582 [FIX] mrp: remove top button to block workcenters on kanban
These buttons are already present at the bottom of the card.
2017-09-26 19:56:30 -07:00
Sanjay Jamod 75780c1b18 [FIX] stock: default product when creating lot from template form
stock.production.lot links to product.product, so don't do it if the
template has >1 variant.
2017-09-26 19:54:20 -07:00
Ankit Joshi 10d1149edf [FIX] stock: show virtual_available and fields that compute it as float
Essentially undoing what was done at
ccd50b7ecd. This no longer seems
necessary as the new webclient seems to handle this fine.
2017-09-26 16:49:43 -07:00
Joren Van Onder 5539c54d61 [IMP] l10n_co: update and simplify
This simplifies the chart of accounts and taxes to only the common
ones used. It also updates some changes that took place (eg. the VAT
increase from 16% to 19%). Lastly it implements some additional fields
on res.partner: a document type and a verification code that is
calculated based on the VAT.
2017-09-26 11:11:54 -07:00
Simon Lejeune 096a39b3e9 [FIX] stock, mrp: _get_similar_move_lines
try to make it work actually.
2017-09-26 16:12:16 +02:00
Simon Lejeune 0f24652b29 [FIX] stock: move line's onchange
We have te remove self, because as it's an onchange working on a 0 orm
command, the onchange is executed on a recordset on a new id without
client ref but, when we go up and down in the relations to find our
siblings, the newid recordset with a client ref is present, meaning we
have our record duplicated.
2017-09-26 16:12:16 +02:00
rde 741e003b94 [REF] website: rename ir_ui_view_id by view_id to fit odoo coding style 2017-09-26 16:10:39 +02:00
Kishan Gajjar f435f72a27 [IMP] website: Limit size of favicon
Before this commit, if you uploaded a big image, it would break the settings
screen.

Now, the image will have its displayed size limited to 90px
2017-09-26 16:10:38 +02:00
rde 2a43636ae9 [FIX] import_xml: ir.ui.view model does not have a page attribute anymore
Before this commit, user could set page attribute on <template> tag in xml
Now, we prevent user to be able to set page attribute.
2017-09-26 16:10:38 +02:00
rde 976dc2bea0 [IMP] website: website manager - change tooltip & label to be more clear
+ website.page should not have the option 'edit in backend' in the navbar like
blog post, product, jobs..
2017-09-26 16:10:38 +02:00
rde 53ae8becd4 [FIX] website_blog: repair blog post save
Before this commit and since the huge JS refactoring, when you were editing
a blog post it wouldn't save your modifications if you touched the title or
subtitle of the blog.

This was due to title & subtitle getting considered as the cover itself
when saving (_saveElement) because they are inside the cover (in a HTML point
of view).
So if you had modified both the cover, the title and the subtiltle, it was:
	1. Saving the cover
	2. Saving the cover again
	3. Saving the cover again

Now, _saveElement is called as it should, for the same case, it is:
	1. Saving the cover
	2. Saving the title
	3. Saving the subtitle
2017-09-26 16:10:20 +02:00
rde 8baabfb6be [FIX] website_*: convert old ir.ui.view page=True into website.page in 1 record
Before this commit, website.page xml record were created in 2 steps:
	1. Create an ir.ui.view record with <template> tag
	2. Create a website.page record with <record model="website.page">
But this is useless since website.page inheritS ir.ui.view, you can create both
records just in one <record> tag.

Note: This is NOT TRUE in every case:
Odoo's ORM will suffix external_id of inherited records (in this case the
ir.ui.view created through the website.page record) with its model's name.
This can be a problem in some case (this is an example):
	website_crm_template.xml create an ir.ui.view inheriting the
	ir.ui.view 'website.contactus'.
	But if we didn't keep website.page & ir.ui.view records split for that
	specific case, the ir.ui.view would inherit a website.page record
	causing an error. (website.contactus would be the id of the page record
	while the ir.ui.view's id would be website.contactus_ir_ui_view)

In short: when migrating an ir.ui.view (<record> xml) to a website.page:
	* If there is record inheriting the ir.ui.view ID, then split
	  website.page & ir.ui.view
	* if not, you can create the website.page and its ir.ui.view both in one
	  record (<record model="website.page").

This commit also removed remaining page="True" from xml template since we
removed the 'page' attribute from ir.ui.view model overrided in website module.
2017-09-26 16:08:14 +02:00
rde 0426849de1 [IMP] website, website_crm, website_hr_recruitment: remove useless name field from website.page
Before this commit, website.page had a 'name' field which was useless because
website.page inheritS from ir.ui.view which has its own 'name field.
At the end, we were duplicating/synchronizing 'name' field between
website.page and its ir.ui.view for no reason because we were always using the
one from ir.ui.view.

Now, getting website.page's name will always retrieve the one from its
ir.ui.view and there is no redundant information.
2017-09-26 16:07:16 +02:00
Richard Mathot db543c1269 [FIX] delivery: missing dependency 2017-09-26 14:54:29 +02:00
Richard Mathot 7949fe0bfa [DOC] calendar: warning about a headache-prone bug 2017-09-26 14:38:08 +02:00
Kirti Choudhary 7afa220171 [IMP] crm: set next activities default group by in kanban view
Purpose
=======

When clicking on next activites in the systray, I expect to see the leads grouped by stage which is not the case.
2017-09-26 13:54:08 +02:00
Daniel Reis 53fe7ae462 [IMP] modules: on module update or init always update module list
Was only done when updating base.
The cost of scanning the addons path should small in comparison to the update
time itself.

Followup of #9133
Closes #9140
2017-09-26 13:32:53 +02:00
Yannick Tivisse 2447c94cd0 [FIX] project_timesheet_holidays: Allow to create a company if not project manager
These modifications are legit as the method is private and the user has the right to create a company.

This will create an internal project and a dedicated task.
2017-09-26 12:59:25 +02:00
Lucas Perais (lpe) be997fc113 [FIX] account: fall back to YEAR/12/31 for fiscalyear 2017-09-26 12:58:27 +02:00
Hetashree Chauhan 8efecd31bd [IMP] mail: labels for sending mail to all recipients has been changed 2017-09-26 12:21:25 +02:00
Raphael Collet e671679183 [FIX] fields: do not use int() to retrieve record id
When reading a one2many field, the inverse field of the retrieved lines may
already be assigned in cache to a new record.  This can happen during an
onchange.  In that case, the algorithm crashes.  Let's clean it up!
2017-09-26 11:43:37 +02:00
Fabien Meghazi cc9eb8c498 [FIX] P#: ir.mail_server: fix bug introduced in 200612ca1e
The variable `email_body_utf8` has been renamed to `email_body` during
PythonThreeTization but there is a leftover:

https://github.com/odoo/odoo/commit/200612ca1ef1#diff-85eeeed32c7f2fe285884f3661b49881R326

Backport of 63a4370afd
2017-09-26 11:33:33 +02:00
Martin Trigaux d5d9756b1e [FIX] web: untranslated choice in widget domain
For boolean fields, the choice is "set (true)" or "not set (false)"
Missing _t to translate it
2017-09-26 11:04:00 +02:00
Sanjay Jamod 67d1173bf3 [IMP] auth_signup: Disable 'Sign Up' button to prevent user from continuous clicking 2017-09-26 11:02:26 +02:00
Martin Trigaux 25a0b0f4db [FIX] web: untranslated fields in widget domain
The user context was not propagated so the list of fields was untranslated.
2017-09-26 10:58:28 +02:00
Lucas Perais (lpe) e64762e535 [FIX] web, google_drive: fixed display of field link
Before this commit, a field handled with a widget url was given its value (href) as its text, fully displaying the url.
Moreover, the display was odd and did not match that of buttons

After this commit, if the field contains a text attribute, we use is as the text of the link.
The link also correctly displays and looks like a button (in a form view)

Of course, a test for this new field widget feature is implemented

closes #19587
2017-09-26 09:37:16 +02:00
Raphael Collet b4824d78eb [FIX] mail: avoid re-reading a value given to create
After a message is created with a given `author_id`, reuse `author_id` instead
of `message.author_id.id`.
2017-09-26 09:32:54 +02:00
Raphael Collet 3ca6392a3f [FIX] mail: simplify ormcache parameters to avoid queries
Make the cache depend on `user` instead of `user.groups_id`.
This saves 2 queries on each write/create of `mail.thread`.
2017-09-26 09:32:54 +02:00
amoyaux 628c11f467 [REF] stock_picking_batch: improve demo data
With the old demo data there were 3 picking without initial
demand.

This commit modifies the picking to reflect 3 differents cases.
-One picking without quantity done
-A picking that need a back order
-A picking without qty done and initial demand that should raise
an error
2017-09-26 09:31:26 +02:00