Commit Graph
114126 Commits
Author SHA1 Message Date
jpr-odoo 3f0291ee6d [FIX] account_payment: inclusion of transactions
Part of commit was missing in 6e4db0e6db .
2017-09-27 15:23:12 +02:00
jpr-odoo ebfadc29b9 [FIX] account_payment: keep arguments including token in payment form redirections 2017-09-27 14:33:33 +02:00
jpr-odoo 6951951c98 [FIX] sale_payment: keep arguments including token in payment form redirections 2017-09-27 14:33:33 +02:00
Dhaval Suthar 6e4db0e6db [FIX] account: fix and improve display of invoices in customer portal
* fix breadcrumb for invoices in portal, when going into an invoice
   the 'Invoices' part of the breadcrumb allowing to come back to the
   invoices list was not a link;
 * remove duplicate of invoice reference in page view;
2017-09-27 14:33:33 +02:00
Rohan Patel c3ee3f7e3f [FIX] sale_payment: do not propose to pay an order containing already payed transactions 2017-09-27 14:33:32 +02:00
Priyanka Kakadiya 16a55872e9 [FIX] purchase: Fix typo on stat button 2017-09-27 14:26:50 +02:00
stefanorigano eb96289678 [FIX] web: review and fix kanban design
- Folded column design
- Adapt progressbar header layout
- Remove custom opacity mixin (use default o-hover-opacity)
- Remove columns' border (increase padding-right)
- Decrease counter opacity if no records
- Refine counter animations
- ...
2017-09-27 14:22:39 +02:00
qsm-odoo 4c046a759c [FIX] web: fix translate icon position on chrome
On chrome only, the translate icon was over the <input/> element but
below the <input/> text... this commit fixes this by forcing
relative positioning on the icon so that it is always rendered after
the <input/> (which seems to solve the chrome bug).
2017-09-27 13:58:14 +02:00
Pratima Gupta 9877989e06 [FIX] mail: only set module icon if possible
Posting a message on a custom model (i.e. created with Studio) crashed.

If it's a custom model, its `_original_module` attribute is not correctly set so
trying to retrieve the icon based on this attribute does not work.
2017-09-27 13:51:28 +02:00
Aaron Bohy f49d758665 [FIX] web: BasicModel: recursively compute onchange specs
Before this rev., onchange specs where only computed up to level
2 (i.e. for fields inside x2many fields). So basically, if there
were a one2many list inside a one2many (e.g. which opens in a
form view), the fields of that inner one2many list weren't added
to the specs, and it could lead to unexpected responses from the
server (like erasing the changes made on the inner one2many
records).

Closes #19600
2017-09-27 13:50:07 +02:00
Thibault Delavallée b53ce01b16 [MOV] website_sale: move models in their right file 2017-09-27 13:21:53 +02:00
Yannick Tivisse 2b30a585cf [IMP] sale: do not display 'Create Invoice' button without sale_management 2017-09-27 13:21:44 +02:00
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
Christophe Simonis 6836828a3e [MERGE] forward port branch 9.0 up to 1970761554 2017-09-27 13:20:29 +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
Christophe Simonis 1970761554 [MERGE] forward port branch saas-6 up to 57868ca195 2017-09-27 13:16:37 +02:00
Christophe Simonis 57868ca195 [MERGE] forward port branch 8.0 up to 8a187c5b1d 2017-09-27 13:15:55 +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
Aaron Bohy ca258b8691 [FIX] web: style of required fields in x2many lists
In community, the input/textarea of required fields should have a
blue background. Before this rev., this wasn't the case inside
lists.

Closes #19689
2017-09-27 12:13:58 +02:00
Aaron Bohy 2d3e5711f1 [FIX] web: escape pressed in editable list in dialog
should discard the edited row, but not close the dialog. Before
this rev., it was closing the dialog.
2017-09-27 12:13:58 +02:00
Martin Geubelle df04910d2a [FIX] *: correctly use session
Widget has no attribute `session` since the new views.

One should either use `getSession()` or require `web.session` (both
cases are correct).
2017-09-27 11:04:08 +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
Martin Trigaux 88edeeca6a [FIX] preventing context.get('lang')
The lang in the context can be None or False
To avoid similar error as revealed at ede29e6d, correctly retrieve the context
2017-09-26 16:58:59 +02:00
David Monjoie a3828dfed3 [FIX] web: fix o_row mechanism with phone field
The o_row class mechanism is supposed to be used to put another
element next to a field, like a button for example. However,
in the case of phone and email field, the o_text_overflow hack
gets in the way.

The problem that o_text_overflow is trying to solve is when you
have a long email, the table used to display the form view fields
tends to use very long cells (td) so it can display the whole email
address. This behavior completely breaks the form view, even though
the email address is clearly set to wrap in css. The o_text_overflow
class is a hack that forces the table to think that the email is
small, then defaulting to the width 50% css rules. If the email is
too long, it is correctly wrapped inside the cell, without breaking
the form view layout.

However, when we need to add a button next to those fields, this
hack gets in the way of the o_row class css rules, completely
wrecking it. We looked for a fix with qsm-odoo for hours but were
unable to find one that did not require a complete rewrite of the
form view css rules. In the end, we decided to remove the hack from
the phone field and keep it on the email field, as we think it is
less common to have a very long phone number than to have a very
long email.
2017-09-26 16:21:51 +02:00
Axay Javiya ede29e6d31 [FIX] l10n_be_hr_payroll_fleet: fallback for no language
If the context is lang=None, it crashed as called babel with a None locale.

Closes #18403
opw-756026
2017-09-26 16:16:50 +02: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