Commit Graph
100 Commits
Author SHA1 Message Date
rootandThibault Delavallee bd5f307c66 [FIX] phone_validation: fallback if no region provided
Before this commit if you would call phone_parse() but not pass along a
country code it would crash. This is reproducable by calling the phone_parse
function and not setting a country on the contact. In this case you would get
the following traceback:

  AttributeError: 'bool' object has no attribute 'upper'.

This happens because the phonenumbers library tries to upper() the region but
if Odoo doesn't have a country set it passes along False. By doing a fallback
to 'None' the phonenumbers library will natively handle this and the user in
the UI does not get a traceback.

Task-2852953

closes odoo/odoo#112699

X-original-commit: 9b75d7ac1a912ff3d15c393a6a23018a18b3b9bb
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Co-authored-by: Thibault Delavallee <tde@odoo.com>
2023-02-14 18:11:52 +01:00
Yenthe666 8ae1951354 [IMP] stock: set name on elements
Before this commit there is no clean/easy way to do nice xpath's on the divs.
By giving them a name we can do a xpath expr with @name=''] which is not as errorprone.

closes odoo/odoo#105142

X-original-commit: f37251ff76359a4b8c05facc1f7449a2e1eea7fb
Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com>
2022-11-07 17:59:40 +01:00
Yenthe666 38542ceac0 [FIX] CONTRIBUTING.md: update template link to V16
Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:

closes odoo/odoo#103274

Forward-port-of: odoo/odoo#103207
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-10-17 13:09:26 +02:00
Yenthe666 324472d86c [FW][FIX] SECURITY.md: deprecate 13.0
Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:

closes odoo/odoo#103273

Forward-port-of: odoo/odoo#103206
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-10-17 13:09:23 +02:00
Yenthe666 34b790fe65 [IMP] mail: allow overriding invite message values
Before this commit the creation of the message(s) was done within a for loop in a big function.
Due to this there is no easy nor clean way to override and modify values on the mail.message record(s).

By placing the preparation of message data in a subfunction it can be overwritten and modified as wanted.

closes odoo/odoo#102825

X-original-commit: 6d6d7c12ac456e648bd35645f9617cd1d8ff60e6
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2022-10-10 11:57:19 +02:00
root 77c98ccf02 [CLA] add Vincent to contributors
closes odoo/odoo#99162

X-original-commit: 9360c82d135b203c866d849c0244e99980f88f01
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2022-08-30 08:18:53 +02:00
root 8b62d124bf [FIX] point_of_sale: allow overriding mail values
closes odoo/odoo#96407

X-original-commit: 7a884b5cd46d943ed52e8c5aac2406010b013411
Signed-off-by: Masereel Pierre <pim@odoo.com>
2022-07-25 12:39:54 +02:00
root 4c6a010730 [ADD] mail: quick-open related record from activity
Current behavior before PR: You have to find the right menu/view and then take
over the ID stored on the activity (through export) to find back the record.
This is annoying, painful and error prone.

Desired behavior after PR is merged: By adding a smartbutton the user can
quick-navigate to the related record in a second. This allows for quickly
finding and opening records which is usually handy when debugging things or
finding back related records.

Task-2868230

closes odoo/odoo#91230

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2022-05-31 11:06:56 +02:00
root 6d1f9a2000 [ADD] mail: quick-open related record from email
Current behavior before PR: You have to find the right menu/view and then take
over the ID stored on the email to find back the record. This is annoying,
painful and error prone.

Desired behavior after PR is merged: By adding a smartbutton the user can
quick-navigate to the related record in a second. This allows for quickly
finding and opening records which is usually handy when debugging things.

Task-2868230

closes odoo/odoo#91228

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2022-05-31 11:06:52 +02:00
root fa83960449 [IMP] cli: propose HTTPS website URL by default
As by now pretty much all of the internet runs on HTTPS & it is
recommended everywhere let's do so our in our manifest do.

closes odoo/odoo#91281

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2022-05-24 12:47:53 +02:00
root d256f9de23 [IMP] partner_autocomplete: use same author name as all other apps
closes odoo/odoo#89092

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2022-04-21 15:06:41 +02:00
root a611a80093 [IMP] account: add index for invoices
By adding an index the cost of the SQL's will be a lot lower.
See #86615 for info/sample

closes odoo/odoo#87287

X-original-commit: 44b445eba6287348211e002235e1d003b45f2d6e
Signed-off-by: William André (wan) <wan@odoo.com>
2022-03-25 16:52:00 +01:00
root cca131eb71 [FIX] cli: use V15 url for manifest
closes odoo/odoo#86304

X-original-commit: 001cfd8ed85aad0377457bfc8477789b21a89480
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2022-03-14 08:43:07 +00:00
root e663077c11 [IMP] account: create hook to override searchbar sortings/filters
With this commit we can now call a hook when we want to modify the code for this route.
Before this commit the only way to modify/extend this would be by taking over a big part of the code.

closes odoo/odoo#84907

Signed-off-by: Laurent Smet <las@odoo.com>
2022-03-07 07:56:01 +00:00
root 2c4eeece6c [IMP] project: hooks for overriding domain/sortings/filters
Before this commit there was no easy/clean way to extend the domain, searchbar sorting and filtering.
By adding it in subfunctions we can do clean extending of the domains/filters

closes odoo/odoo#84912

Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
2022-02-21 16:07:39 +00:00
root 41b5d4306e [IMP] purchase: create hook to override searchbar sortings
With this commit we can now call a hook when we want to modify the code for this route.
Before this commit the only way to modify/extend this would be by taking over a big part of the code.

closes odoo/odoo#84905

Signed-off-by: Arnold Moyaux <arm@odoo.com>
2022-02-18 15:30:47 +00:00
root c33419cfd2 [FIX] sale: allow overriding portal domain
Before this commit the only way to modify the domain is to completely override portal_my_quotes/portal_my_orders.
Since this function is so big this is not clean/easy to do.
By creating a separate function we can simply override it and we can reuse the same domain in two places.

closes odoo/odoo#84886

X-original-commit: ff50844da0e4423372746e767f482a2a71148be4
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2022-02-18 14:29:13 +00:00
Yenthe Van Ginneken 11e17dc11b [FIX] stock_account: always use first move
Before this commit it is technically possible for "return_picking_line" to be a recordset instead of a record.
By taking the first element ([0]) we're sure it is always a record instead of a recordset to work with.

closes odoo/odoo#82578

X-original-commit: 705e60a9531fe0b042fd32a5dfc934bede15558c
Signed-off-by: William Henrotin (whe) <whe@odoo.com>
2022-01-11 17:08:54 +00:00
root 2d99d81da7 [FIX] base_vat: allow disabling VAT check through context
Before this fix there is no real way to influence the VAT validation.
This can be problematic though as in some cases external platforms push data to you
on which you don't really have control. If an external software pushes an invalid VAT
and your database has the option 'Verify VAT Numbers' checked on there is no way
for you to bypass this though.
This means that before this commit you have to always run VAT number checks on all data,
no matter if they come through the frontend or backend.

After this commit you can supply a context key 'no_vat_validation' though.
This way you could skip doing VAT number validations on (some) records while still
enforcing this in the UI.
This allows you to have crons/external API's push any VAT number while enforcing full
validation through the UI.

This opens up the best of both worlds.

closes odoo/odoo#80843

X-original-commit: d31bf866e1556327f634e20d6d845d67143e2a06
Signed-off-by: Olivier Colson <oco@odoo.com>
2021-12-03 15:03:59 +00:00
Yenthe Van Ginneken c3f593db78 [FIX] account: allow overriding portal domain
Before this commit the only way to modify the domain is to completely override portal_my_invoices.
Since this function is so big this is not clean/easy to do.
By creating a separate function we can simply override it and we can reuse the function on two places.

closes odoo/odoo#77446

X-original-commit: b7effc442cd7ff47e00718adf5b1af43e9f326ee
Signed-off-by: Florian Gilbert <FlorianGilbert@users.noreply.github.com>
2021-10-13 18:24:02 +00:00
root 50f6e5f2be [IMP] mail: quick-open related record from message
Before this commit if you found a message and wanted to open the related record you would need to find it manually by finding the right view and then using the ID stored on the message to open it.
By adding a smartbutton the user can quick-navigate to the related record in a second.
This allows for quickly finding and opening records which is usually handy when debugging things.
Ref Task-2660873

closes odoo/odoo#77675

closes odoo/odoo#77803

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2021-10-05 12:36:00 +00:00
root 9796d58271 [FIX] hr_timesheet: never update timesheet rounding params
Before this fix if a user updated the module hr_timesheet the ir.config_parameters would be reset.
By wrapping them in a no-update they're no longer updated with a module update and thus kept as set by the user.

closes odoo/odoo#72732

X-original-commit: 369529cb15ec01cde1538c189535ce6d41685268
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2021-06-24 15:02:56 +00:00
root 36bc36ebab [FIX] website: allow translation of cookie buttons
closes odoo/odoo#72010

X-original-commit: 4a79d93a175891714a15c183ff36b87832d25226
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Signed-off-by: Yenthe Van Ginneken <Yenthe666@users.noreply.github.com>
2021-06-10 17:31:33 +00:00
root 6035b013d5 [FIX] im_livechat: noupdate around default livechat channel
Before this update if you would update the module the default livechat details would be reset.
By wrapping it in a no-update they're not updated with a module update.

closes odoo/odoo#70029

X-original-commit: 45c330c1e44d6a9526596b5ec1dfbff317579b68
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-04-28 14:12:44 +00:00
root 905d2963ff [CLA] add CLA for Mainframe Monkey
closes odoo/odoo#68995

X-original-commit: d81973ab79dec066b3b6f98b473e73c6d41f0d34
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-04-08 15:44:41 +00:00
root 9404c2815e [IMP] sale: set id on invoice block for easier xpath
Before this commit it was rather painful/cluncky to find a way to remove this block.
By setting a name on the block we can easily xpath it to replace it or add extra content within.
This makes it easier for external devs to influence this view.

closes odoo/odoo#68010

X-original-commit: d418e4e16a46a0d499e606598b3524eabd19e5fd
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2021-03-17 11:57:32 +00:00
root 2518747151 [IMP] payment: better exception feedback for logs
closes odoo/odoo#67120

Signed-off-by: Toufik Benjaa (tbe) <tbe@odoo.com>
2021-03-02 19:26:37 +00:00
root 0ce435427d [IMP] sale_timesheet: allow easier xpath expressions
Before this commit it is rather hard/unsafe to xpath into this view.
As the view is huge and quite some HTML elements are used a few times (table for example) it is risky. Especially since some enterprise modules build further on this.
After this commit all major elements have a name which allow easy xpathing for inheritance.

closes odoo/odoo#66131

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-02-15 08:16:36 +00:00
root aabd4296c5 [I18N] account: add missing translations
Before this commit not all messages where translated/translatable.
By adding _() to them they're now translatable. This means that if somebody puts OdooBot to another language the messages would be translated.

closes odoo/odoo#65787

X-original-commit: 355ae0d59a446a87d195b6749e66cd732f21ae2f
Signed-off-by: William André (wan) <wan@odoo.com>
2021-02-09 10:37:09 +00:00
root 91f57b09dc [FIX] website_sale: compare id with id instead of record
Before this commit Odoo tries to compare an 'account.fiscal.position' id with an 'account.fiscal.position' record.
This causes a 'Comparing apples and oranges' warning in the logs and is not the right way to do this.
This is a fix for d89fa970e8e5b07f1b9a396e6ee02db7fdd136e4 where this issue was introduced

closes odoo/odoo#63029

X-original-commit: d9a1b28144523ece2c6fa4329f3ae4b7ff4a38ec
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-12-08 14:03:53 +00:00
root 76a969e1fd [FIX] l10n_ch: map tax report to right country
Before this commit the tax report links to Brazil while the chart of account is Switzerland.

By changing the ref it now installs the tax report with the right country set.

closes odoo/odoo#61806

X-original-commit: 93e44b6d85564b6fde99053ccb16399e224477e3
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
2020-11-16 17:51:35 +00:00
root c4fa804cc6 [IMP] doc: update links to 14.0
closes odoo/odoo#58686

X-original-commit: 78abbd6472f4c389ef6b67a257754365f5b02741
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-28 14:07:25 +00:00
root 33d1362255 [IMP] sale: remove unused import on tests
Since the Form import was not used anywhere in the tests we've removed it.

closes odoo/odoo#56767

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-08-29 14:58:28 +00:00
root 13e3f8affc [IMP] account: set element names for easier xpaths
Before this commit some of the <p> elements had no id or name.
This means you need to do uglier or more risky xpath expressions.

By adding names on the elements we can easily xpath to the element itself which results in less changes of breaking or having issues.

closes odoo/odoo#56096

Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-08-19 07:25:25 +00:00
Yenthe666 d249522d84 [IMP] calendar: show more meeting details
Before this commit there is no label shown at the top of the invite if
the user hasn't done anything with the invite or if he chose
'Tentative'. Now it always shows the informative label. This commit
also adds the description of a meeting subject as it can be
interesting and important in many cases.

closes odoo/odoo#43121

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-08-17 15:46:04 +00:00
root 390c01a430 [FIX] sale: allow adding/modifying values in sale confirmation
closes odoo/odoo#55861

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-08-13 10:02:04 +00:00
root 98b0f01fc5 [FIX] payment: mask payment method keys in onboarding dialog
Before this commit the tokens from payment providers (PayPal, Stripe) are shown in plain text in the onboarding wizard.
This means that anyone with accounting rights can grab & copy tokens for PayPal & Stripe.
After this commit they're shielded off with a password=True option so they're not directly readable and copyable.

Steps to reproduce: Open an Odoo instance, go to Accounting > Invoices and click on the 'Set Payments' option for the onboarding wizard.
Next choose Paypal or Credit card in the dialog and see how tokens are shown in plain-text.

closes odoo/odoo#54861

X-original-commit: 65e201ecee3bc145c2ae76d59b6d2fd31c737872
Signed-off-by: Olivier Dony (odo) <odo@openerp.com>
2020-07-23 15:41:13 +00:00
root e3f68b9ba8 [IMP] base: specify which order is invalid
Before this commit knowing which _order option was having issues may
be non-obvious.
This changes makes it a bit more obvious.

closes odoo/odoo#54703

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-07-23 08:58:48 +00:00
Yenthe666 fdf381e1b6 [IMP] stock: show location name in warning
Before this commit if you have a quant that has a location linked of the type 'view' you'd get this warning
but you would not know about which location this was and figuring that out is not trivial for most people.
After this commit users get notified about which location is of the type 'view' and can directly correct it if they want to.

closes odoo/odoo#51137

Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2020-06-23 09:52:11 +00:00
Yenthe666 15a3132f0c [IMP] sale: add name on main group elements
Before this commit it was difficile to express xpath into these
group elements. By setting a name on the elements we no longer need to
use indexes or longer xpath expressions and can easily xpath on the
element itself right away. This will be more tolerant to form view
redesign.

closes odoo/odoo#48083

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-03-27 09:40:07 +00:00
Yenthe666 307263c22d [FIX] doc: no longer use customer in API
Before this commit the documentation had quite some samples with 'customer', '=', True. Since in V13 this field on the res.partner model no longer exists we've removed it.

closes odoo/odoo#48453

X-original-commit: 2215d803aa35cdd13ab7f989c807bc7f575aaa8e
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-03-26 16:02:39 +00:00
Yenthe666 cdde9be13b [IMP] website_sale: improve confirmation info
The sentence was a bit odd before this commit. After this commit it reads easier and it is more logical.

closes odoo/odoo#46617

Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2020-03-02 13:52:01 +00:00
Yenthe666 1477774582 [IMP] web: fix typo in datepicker
Before this commit the sentence was a bit weird as a date is not on the future but in the future. This commit resolves this.

closes odoo/odoo#45548

X-original-commit: b335c33655a707f71fbc01929f5eea2e659e7215
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-02-17 16:53:30 +00:00
Yenthe666 20ff585c2b [IMP] purchase: remove double context key
Before this commit the purchase_rfq action had two context keys
defined. One being empty {} and one with quotation_only set to
True. After this commit there is just one context (the one that is
actually used and applied) on the action.

Empty key added in 12.0 at 6138686d41b
Second key added in 13.0 at b5cea7e2b6

closes odoo/odoo#44990

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-02-11 07:42:54 +00:00
Yenthe666 e93eaa8efa [IMP] sale: set IDs on elements for easier xpaths
Before this commit there were two buttons on this wizard with the same name 'create_invoices' that do different things. One creates the invoice and the other one creates and opens the invoices. By setting an unique ID on both buttons we can do a clean and easy xpath. Something like button[@id='create_invoice_open'] instead of having to use indexes or dangerous behaviours

closes odoo/odoo#44072

Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2020-01-28 10:46:54 +00:00
Yenthe666 65fd8e4602 [FIX] sale: allow inheriting and modifying function values
closes odoo/odoo#44069

X-original-commit: 14a12ced1d5cb79b9ec8b9df926a12330aa34cf1
Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2020-01-28 09:56:51 +00:00
Yenthe666 a0cf136818 [FIX] stock: fix typos in UserErrors
Two of the UserErrors mentioned 'quantites' instead of 'quantities' before this commit. This commit fixes the terms and the translation file.

closes odoo/odoo#43902

X-original-commit: 68a849bfb507c5fa14b869a44ea50bf88ff3ce1f
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-01-24 10:19:04 +00:00
Yenthe666 c76345999c [FIX] base: search on partial mobile phone numbers too
Before this commit the search would search for phone numbers that contained a part of a string. The mobile phone would only look at exact matches so if we'd search for '0492700' the only result would be contacts with this exact match. After this commit every mobile phone that contains '0492700' will match and be shown. This allows for quickly finding customers by a partial mobile, just like the phone number does.

closes odoo/odoo#43752

X-original-commit: 8a34a6a66f3f06829231e5d0ba536fcdd27d17ea
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-01-22 12:21:56 +00:00
Yenthe666 42be67dc75 [IMP] base: add model constraint search view
The constraint view in Odoo has no good quick search options to filter/group and find
specific constraints easily.
This commits allows you to easily group and search for the most used values of
constraints. This will make the finding of constraints easier for functional people.

closes odoo/odoo#41288

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-01-07 13:05:16 +00:00
Yenthe666 173788b7e3 [IMP] account: automatically set account holder on new bank account
When you create a new bank account from an account.move there is a very high chance that you're creating the bank account for this specific vendor. As we can create a bank account from the account.move we can directly set the vendor (account holder) if there is one set

closes odoo/odoo#42788

Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
2020-01-07 13:18:06 +00:00
Yenthe666 506c314088 [FIX] stock: fix typo in UserError
closes odoo/odoo#42668

X-original-commit: e83fa9f4bd070ab14ecebe0b379e653066b2cecf
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-01-03 09:35:11 +00:00
Yenthe666 5329483d35 [FIX] base: always return non-None from ir.actions.run
`run_action_` hooks don't always return a value, in which case
invoking run() over RPC will raise a TypeError (though the call itself
should still succeed).

Somewhat oddly, "standard" hooks (e.g. in mail) generally do
things safely and return a `False`, but the "builtin" hooks (code,
object create and object write) tend to return nothing, and thus break
when invoked over RPC.

Fixes #42268
Closes #42272

closes odoo/odoo#42804

X-original-commit: 9ad01ef242afc9602d4a1470cb321374129f29b9
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2020-01-06 17:13:10 +00:00
Yenthe666 d4d26662fb [ADD] l10n_pl: add Polish states to localization
Courtesy of karol185 - based on #37429
Since Poland does not require states
(https://www.bitboost.com/ref/international-address-formats/poland/)
Add them in the l10n_pl module and not with the other states in the
base module

closes odoo/odoo#42273

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-12-23 14:40:15 +00:00
Yenthe666 7876af3ad0 [IMP] *: set name on page elements
page is an element that is often used for xpath

closes odoo/odoo#41718

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-12-16 15:10:24 +00:00
Yenthe666 78ae3da902 [IMP] *: set name element on main containers in configuration views
This will improve the extendibility of view inheritance

closes odoo/odoo#41398

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-12-09 10:38:59 +00:00
Yenthe666 3cf3c2dbd4 [FIX] account: remove duplicated field
The field user_id was created twice in the model with the same values and options, only a different help message. This removes the duplicated one.

closes odoo/odoo#40542

Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
2019-11-20 08:35:26 +00:00
Yenthe666 d05e5bef32 [FIX] lunch: fix typo in widget definition
closes odoo/odoo#40902

X-original-commit: cf7017ea92c34a98bc670860ba89677bb8697c0b
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-11-26 13:50:13 +00:00
Yenthe666 ad34b4f6e0 [FIX] mrp: add product_uom_category for domain
Without the product_uom_category_id set you cannot edit this tree view. There is a domain [('category_id', '=', product_uom_category_id)] triggered from this view whcich is not fulfilled if we do not have the field set in the tree.

closes odoo/odoo#40186

X-original-commit: 4873e5ef3192480fdd3889331f13ff0e10ba5d6a
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2019-11-19 08:27:09 +00:00
Yenthe666 734f0af61f [IMP] calendar: place smartbutton within oe_button_box
closes odoo/odoo#37987

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2019-10-18 06:28:01 +00:00
Yenthe666 7ee342ee0e [FIX] website_blog: correctly create URL to access blog post
closes odoo/odoo#38986

X-original-commit: 534e5fbc4782a23162ce69d93a640fdd5dd99f9b
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2019-10-17 18:38:12 +00:00
Yenthe666 485e3a7959 [IMP] website_crm_partner_assign: make partner level name required
closes odoo/odoo#38773

X-original-commit: dfc6d3ffb6813d5e7144c6b8e34f43f01e1de4ed
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2019-10-15 09:16:55 +00:00
Yenthe666 1112313d41 [FIX] website_event_track: make location name required
Creating a location without name does not make sense, it is the only
field of the model
Fixes odoo/odoo#38571

Adapt in master to make the field required at the model

closes odoo/odoo#38718

X-original-commit: 0823062efa96c316b9bca743891c8a1c701d130d
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-10-14 14:25:37 +00:00
Yenthe666 473403792e [FIX] *: fix "there is no" sentences
"There is no <plural>" is not correct
cf https://english.stackexchange.com/a/26634

closes odoo/odoo#38205

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-10-08 14:30:19 +00:00
Yenthe Van Ginneken e947a0fbfc [IMP] phone_validation: allow editing blacklisted phone number
closes odoo/odoo#37775

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2019-10-02 11:55:42 +00:00
Yenthe666 24435c876d [IMP] resource: add missing sheet on form view
closes odoo/odoo#35966

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-10-01 12:34:51 +00:00
Yenthe666 3bd70d91fe [CLA] remove Yenthe from Odoo Experts
closes odoo/odoo#37637

X-original-commit: 028def41de94e6f123f816ee6fcd4ef31a7033f0
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-09-30 19:24:13 +00:00
Yenthe666 2977b2c5a8 [IMP] hr_recruitment: fix typo's and improve source terms
closes odoo/odoo#36040

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-09-10 12:59:28 +00:00
Yenthe666 89a59558aa [FIX] hr: fix typo in OdooBot notification
closes odoo/odoo#35971

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-08-28 13:06:07 +00:00
Yenthe666 496fc0882d [FIX] base: use correct field name
The field is named ttype, not type

closes odoo/odoo#35943

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-08-24 10:43:38 +00:00
Yenthe666 de8f8e90a4 [FIX] website_forum: remove color_field as it no longer exists
closes odoo/odoo#35965

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2019-08-22 12:01:27 +00:00
Yenthe666 69f192eeef [IMP] website_forum,slides: add name on main elements for easier xpaths
closes odoo/odoo#35561

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2019-08-16 09:12:48 +00:00
Yenthe666 0aea29da8d [IMP] website_blog: set blog posts as articles with extra SEO tags
closes odoo/odoo#35060

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2019-08-16 08:02:42 +00:00
Yenthe666 0c808a082f [IMP] base: improve logging view and add hooks
closes odoo/odoo#32392

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-08-01 13:06:55 +00:00
Yenthe666 ce00210b61 [IMP] doc: remove calls to @api.multi and @api.one
Those two decorators are removed/deprecated since recent commits but some references remained in the documentation.

api.multi is deprecated since https://github.com/odoo/odoo/commit/cc62447a44c2cf4e2edaf8a1f6d94520e799ddd9
api.one was removed with https://github.com/odoo/odoo/commit/407f1f6cdb87a59bbad9f853078d7345cdf9f60c

closes odoo/odoo#35261

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-07-30 15:39:19 +00:00
Yenthe666 faec20239c [IMP] project,_timesheet_holidays: improve source terms
closes odoo/odoo#35227

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-07-30 11:37:07 +00:00
Yenthe666 a2a5ff806e [IMP] crm_iap_lead,website_slides: add name on main elements
for easy xpaths

closes odoo/odoo#34909

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-07-26 08:13:55 +00:00
Yenthe666 1f87abfead [IMP] utm,website_slides: add sheet to form view
For better rendering

closes odoo/odoo#30629

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-07-26 08:07:44 +00:00
Yenthe666 37444769dd [IMP] website_blog: make SEO fields available in backend
closes odoo/odoo#35033

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2019-07-24 17:05:52 +00:00
Yenthe666 cba5feba39 [IMP] account: add missing sheet and element names for easier xpaths
closes odoo/odoo#34827

Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2019-07-12 11:09:24 +00:00
Yenthe666 ebb755a95d [IMP] sales_teams: improve term and comments
Cateamions?

Fixes odoo/odoo#34045

closes odoo/odoo#34057

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-07-08 12:29:38 +00:00
Yenthe666 8dcc4f9d94 [REM] web: remove old changelog
Was for 7.0, no longer needed in 13.0

closes odoo/odoo#32922

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-07-08 12:23:23 +00:00
Yenthe666 f042c62916 [IMP] base_address_city: prefill country
When creating a state from the Cities list, the country was not prefilled.
Use the parent record

Closes #30135

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-07-08 13:14:45 +00:00
Yenthe666 8b76584892 [FIX] doc: fix typo in qweb documentation
closes odoo/odoo#32670

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-05-03 09:20:35 +00:00
Yenthe666 8c402ca38a [FIX] stock: remove duplicated field definiton
closes odoo/odoo#32708

Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2019-04-16 08:01:46 +00:00
Yenthe666 6f682e9ac7 [FIX] gamification: set record name for goal titles
closes odoo/odoo#30628

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2019-04-08 11:52:51 +00:00
Yenthe666 19a2797b2d [IMP] product: add sheet to attribute form view
Remove unnecessary group

closes odoo/odoo#30622

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-05-07 09:36:03 +00:00
Yenthe666 527d70a602 [IMP] base: improve res.country.state views
Allow to group by country
Add default search filters
Improved help message

closes odoo/odoo#29926

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-05-03 09:32:12 +00:00
Yenthe666 92313e11dc [FIX] mrp: make product_tracking readonly to avoid write operation
closes odoo/odoo#32070

Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2019-03-23 09:46:07 +00:00
Yenthe666 8527c5adab [FIX] l10n_nl: set correct VAT codes on fiscal position lines
Before this PR quite a lot of the lines on the fiscal positions
"EU landen", "Niet-EU landen" and "Installatie en Afstandsverkopen"
where mapped wrong, some of the lines even referred to another
tax percentage.

Changes:
- The tax "BTW te vorderen laag (inkopen) 9%" on the product
mapped to the tax to apply named "Inkopen import buiten EU laag 6%",
which should be "Inkopen import buiten EU laag 9%" to correctly
counterpart the taxes. All the other changes where similar,
either invalid tax rates where applied or it mapped to a wrong category.
- "Verkopen/omzet overig diensten" on the product would map to
"Installatie/afstandsverkopen buiten EU" as the VAT to apply.
This should map to "Verkopen export buiten EU".
- Added 3 accounts for Omzet NL handelsgoederen 1,
Omzet NL handelsgoederen 2 and Omzet NL handelsgoederen 3
- Mapped the 3 accounts to the fiscal position
"Installatie en Afstandsverkopen" their relevant lines.
- Removed purchase taxes from fiscal position "Installatie en Afstandsverkopen" .
- Mapped the right taxes to the three fiscal positions their VAT tabels.
- Updated .pot file to add the three extra accounts.

Closes #31403

closes odoo/odoo#32130

Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-03-26 13:26:37 +00:00
Yenthe666 0d33e7d28c [IMP] base: use sequence widget on view tree in action form
To reorder views using drag and drop

closes odoo/odoo#31437

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-03-12 16:02:28 +00:00
Yenthe666 fd24c240fb [IMP] base: improve source term
Use the "There are" form when followed by plural

closes odoo/odoo#30731

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-03-12 16:06:08 +00:00
Yenthe666 0a37729ea9 [IMP] base_import: clarify error message in xls import
When an import failed because of a specific cell, the error was
   Error cell found while reading XLS/XLSX file: #N/A

Add the line and column index in the error for better debugging
Translate error message

Cherry-pick of odoo/odoo#30729 in master

Closes #30729

closes odoo/odoo#31677

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-03-07 16:30:16 +00:00
Yenthe666 2ba6be2004 [DOC] reports: add documentation for custom fonts
closes odoo/odoo#30813
2019-02-04 13:27:01 +00:00
Yenthe666 5ae4941bde [IMP] account,sale{_management}: set name on create elements
For easier xpath

Followup of odoo/odoo#30534

closes odoo/odoo#30711
2019-01-31 08:25:13 +00:00
Yenthe666 146e0692e5 [FIX] l10n_nl: don't set VAT accounts on grouped tax + follow official Dutch tag names
closes odoo/odoo#30539
2019-01-25 09:34:53 +00:00
Yenthe666 58294b451a [IMP] website_event_track: add activity view type on event tracks
closes odoo/odoo#30171

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2019-01-14 13:33:35 +00:00
Yenthe666 03291bdcc8 [FIX] website_forum: order forum votes from newer votes to older votes
closes odoo/odoo#30396
2019-01-21 10:08:15 +00:00
Yenthe V.G 772b854fcc [IMP] doc: improve wording in profile code docs
closes odoo/odoo#29424
2018-12-19 10:43:22 +00:00
Yenthe V.G 1b43116ec0 [IMP] uom: add sheet on uom.uom and uom.category form views
closes odoo/odoo#27335
2018-11-22 10:31:21 +00:00
Yenthe V.G fcc3766233 [IMP] membership: add sheet on product.template form view
closes odoo/odoo#27328
2018-11-22 10:36:30 +00:00