Commit Graph

14 Commits

Author SHA1 Message Date
david
9614c93f88 [IMP] rma_sale: prepare kits integration
When a sale line has a phantom product (mrp kits) the RMA would not be
possible as the wizard couldn't pair the components moves with the
product in the line. With this approach, we can at least return the
spare components of the original kit line.

We also need some hooks to intervine in the main methods, like in
invoicing.
2021-02-19 15:08:49 +01:00
david
c36610357e [IMP] rma: auto send confirmation email 2021-02-11 14:35:04 +01:00
david
76f3e57b79 [IMP] rma_sale: shipping address portal default 2020-11-11 10:48:07 +01:00
david
242b7e21a1 [IMP] rma, rma_sale: shipping address
Allow to set the desired shipping address where the goods must be
returned after the RMA is processed.
2020-11-09 13:17:27 +01:00
david
5cb8691348 [FIX] rma: internal users portal
Internal users with no RMA permissions got an access error when entering
the portal
2020-10-21 18:28:16 +02:00
david
cbdea0caba [FIX+IMP] rma: usability
* IMP - Now the description will be an html son we can show rich styles
in the customers report.
* FIX - On locked sale orders it was need to unlock them to be able to open an RMA.
* IMP - Make the description label visible in the backend form so the
user can easily spot it.
* IMP - Added date and deadline filters.
* IMP - Added pending RMAs filter.
* IMP - Added late RMAs filter.
* IMP - Added danger decoration in tree view
2020-09-30 16:32:04 +02:00
david
bdd0e739f6 [IMP] rma_sale: portal improvents
- Now it's possible to open several RMAs in a sale order from the portal
- A new comment button has been added to allow the portal user to enter
relevant information like serial numbers o issue description.
- If the requested operation isn't set no RMA will be opened
- The RMA product qty is now a numeric control with limits according to
the qty available to return

[FIX] rma,rma_sale: fix linter errors
2020-09-07 12:19:15 -04:00
david
099d86dbce [FIX] rma: permissions for general users
- Avoid permission blockings on users who doesn't have RMA permissions.
- Add activities view on RMA list.
2020-08-25 08:07:24 +02:00
Ernesto Tejeda
fbffdc71b2 [FIX+IMP] rma, rma_sale: fix bugs and add improvements
- Fix thrown error when trying to download a picking from the portal.
- Add the hook method to prepare RMA values ​​from the return pick wizard.
- Add the access rule for portal users.
- Show the portal 'Request RMAs' button on the sales page only to users
related to the sales order.
2020-08-20 08:37:52 -04:00
david
fe6993e882 [IMP] rma: teams flow
- If no RMA Team is set, we'll assign a default one to the new RMA.
- A sequence is now used to search for the top team and assign it.
- No default user is assigned when it's not in the context (i.e. portal
rmas).
2020-08-18 12:34:32 +02:00
david
04299968c6 [FIX] rma: portal views access errors
- Portal mail thread needs token config.
- Unpublished products will raise AccessError on RMAs portal views for
portal users due to record rules.
- Ensure active_id when getting actions in rma, since we could come from
a context that pollutes the expected active rma id.
2020-08-18 09:14:07 +02:00
david
512b95c31f [FIX] rma: views permissions
Regular users don't have permissions to rma models, so we should avoid
loading views that lead to permission errors.

TT24986
2020-08-14 12:16:44 +02:00
Ernesto Tejeda
66b7de7255 [ADD] rma_sale: new module 2020-07-08 10:01:11 -04:00
Ernesto Tejeda
ad26c0ddb9 [ADD] rma: new module 2020-06-21 11:41:00 -04:00