summaryrefslogtreecommitdiff
path: root/addons/stock_sms
AgeCommit message (Collapse)Author
2021-05-09[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-05-02[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-25[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-18[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-04[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-29[FIX] sms, various: do not restrict read access on sms.templateJérémy Hennecart
sms.template model has several record rules to give access to templates linked to models managed by certain groups (like crm.lead for sales managers) These record rules were meant to restrict access to certain model to create, write and unlink, but not read. This is leading to issues when trying to read a template on other models. Indeed people should always be able read sms.template content. Unit test were also added to the sms module to ensure that a member of group_user can always read a sms template. Unit test is added to ensure admin always has full control on sms.templates. Task ID-2191254 COM PR odoo/odoo#68445 ENT PR odoo/enterprise#17340 X-original-commit: c9e119a096ba5410e0ab9767207192eb4b7822a2
2021-03-28[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-14[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-07[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-28[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-14[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-31[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-17[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-10[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-15[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-08[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-27[I18N] *: Update translation terms from TransifexMartin Trigaux
Except Spanish, waiting for cleanup closes odoo/odoo#60848 Related: odoo/enterprise#14421 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-21[REV] *: revert fb7407c for spanish translationsOlivier Dony
There was a problem in the Transifex translations for Spanish and all translations were overwritten by mistake with english defaults. This commit reverts all modified es.po files to their previous version while we work to restore the translations on Transifex.
2020-10-18[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-05[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-09-27[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-05-11[FIX] point_of_sale, stock_sms: do not send mail and SMSNicolas Martinelli
Complement of PR #50720 to aovid sending email as well. opw-2250185 closes odoo/odoo#50814 closes odoo/odoo#51042 X-original-commit: 64ef9d74753ddf532cb4fc3d9769cd4913a2d9d7 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-05-06[FIX] stock_sms: SMS for picking from POSNicolas Martinelli
Avoid sending an SMS for picking created from the POS. We usually don't want to send an SMS if the customer just bought the product in the physical shop. This is more a workaround than a real fix, since the only field that can be used to distinghish the pickings is the picking type. A better solution would probably be to set the SMS sending configuration at the picking type level. opw-2250185 closes odoo/odoo#50768 X-original-commit: 58492733b81073694a7e2f5e790b31983f91df7d Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-03-20[IMP] *: declare ir.rule in noupdateVictor Feyens
ir.rule are default values but can be customized based on the company's policy and needs. This is typically a record that is in noupdate as should be customization-friendly.
2020-02-24[FIX] stock_sms : Modify SMS confirmation settings nameAnkita Raval
Before Commit: -The SMS confirmation settings doesn't have the right name. After Commit: -We change the field string 'SMS Validation with stock move' to 'SMS Validation'. closes odoo/odoo#46085 Task-id: 2185325 X-original-commit: d5edd512c128844598af4acedda57d75bf4d33d7 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2020-02-04[ADD] *: add ir.model.access on all transient modelsMartin Trigaux
Following changes needing ir.model.access on transient models too. Remove groups declaration on the action to move it to ir.model.access when possible. Rules are strict by default with no unlink access by default and high priviledge asked. Adaptations may be needed later. Write access is given as a wizard may need to be modified in case the action triggers an error and the user has to correct a value account*: use account.group_account_user for all transient by default remove account.print.journal relic stock*: use stock.group_stock_user by default survey: survey user can send invitations mail: allow any employee to execute wizards additional verifications are made to ensure they are executed only on the documents the user has access to you give portal access to mail.compose.message as portal still does some actions like posting messages on the forum add ir.rule to avoid reading somebody else messages increase the query count because of undeterminist count crm: saleman for lead2opp, manager for massmailing partner manager for actions linked to partners avoid a write in test_lead_lost sms: any employee can send sms mrp: mrp user can execute wizards give unlink access as making write during do_produce operation base_import: employees can import files delivery: stock user can deliver event_sale: sale user can configure the wizards event user inherit from sale rights gamification: employee can give badge google_service: resolve FIXME hr: add specific rights manager can set a plan according to group on button anyone who can write on an employee can register a departure hr_expense: set rights based on buttons hr_holidays: an approver can make a summary report hr_recruitment: recruiter can refuse a candidate hr_timesheet: can use the wizard if can create a timesheet l10n_eu_service: managers can create fiscal positions mass_mailing: same group as on mass.mailing.list membership: accountant can create invoice from membership payment: accountant can create a link as the source is an account.move keep the payment.acquirer.onboarding.wizard to system user only as it is called during company configuration point_of_sale: PoS manager only can use wizards never create closing_balance_confirm_wizard records product_expiry: stock user has rights on stock.picking product_margin: access from accounting menus repair: same rules as for above models sale: set ir.rule for self wizard only add rule from model introduced in payment to add salesman group sale_crm: saleman can create a quotation from a lead sale_coupon: any saleman can generate coupon add self ir.rule sale_product_configurator: salesman can select product variants snailmail: employee can send letters website: designers can write on website website_crm_partner_assign: same rule as group on action website_sale: sale ACL as for payment.acquirer.onboarding.wizard website_slides: anyone can send invitation base: base.language.*: allow employee (cf lang_install) change.password.user: can not read change password wizard of other users test.*: no access is needed Courtesy of Damien Bouvy, William Andre and Antoine Prieëls for review of acl
2020-02-03[IMP] stock: Add context key to avoid send smsjbm-odoo
In stock, before sending an sms, we check if there aren't the key 'skip_sms' in the context. It is useful, for example, in fsm application. TaskID: 2081191
2020-01-22[FIX] stock_sms: Fix read access sms_templatejbm-odoo
closes odoo/odoo#43775 X-original-commit: d21af3535298f3a93ee2a08eb0fe8587d9d994ca Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-12-16[I18N] *: export saas-13.1 source termsMartin Trigaux
Without demo data, for the odoo-master transifex project closes odoo/odoo#41935 X-original-commit: dab7670b73506fb3a835695ee3bd735e0c5e5c2b Related: odoo/enterprise#7287 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-11-13[FIX] *: various fixes in xml viewsXavier-Do
2019-10-25[REF] stock: make picking button_validate multiSimon Lejeune
So we have to adapt - the sanity checks - the immediate/backorder wizards - split the call to _action_done with and without backorder This is a preliminary work to remove all the override in stock_picking_batch and to allow choosing the pickings to immediate or backorder directly in the wizards. Before this commit, both wizards were calling _action_done and one another. We make them go back through `button_validate` so that it is more sane to handle and allow future extensions to add pre-action done wizards. Also the first part of button_validate is some sanity check. We adapt them to be multi (inside of a loop over self) without any other changes. Now the wizard can work on the records (immediate: write the done quantities) or work with the context (backorder: picking ids to not backorder in the context). Also we adapt the stock sms weird wizard (a confirmation wizard but the feature is auto installed? wth). Now there it isn't manually called in the middle of button_validate but it uses the pre_action_done_hook. task-2069646
2019-10-07[I18N] *: export 13.0 source termsMartin Trigaux
closes odoo/odoo#38028 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-10-07[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-10-01[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-10-01[FIX] stock_sms: Change class of disable sms buttonBenjamin Vray
Change class of disable sms button in secondary task-id: 2070836
2019-10-01[FIX] stock_sms: add order number in smsBenjamin Vray
Add order number in the sms wich indicates that the order has been shipped task-id: 2070836
2019-09-30[FIX] stock_sms: do not send mail notificationsPierre Rousseau
The aim of this commit is to remove the mail notifications when there is no more credits on IAP accounts for SMS integration with stock. Task-ID 2077783 closes odoo/odoo#37559 Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
2019-09-29[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-27[FIX] sms_*: fix field name used in some security rulesThibault Delavallée
Oupsy. closes odoo/odoo#37512 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2019-09-25[IMP] stock_sms: allow stock managers to manage sms templatesThibault Delavallée
PURPOSE Allow people to edit sms templates. Limit that rights to some main application managers. SPECIFICATIONS SMS Template access rights GROUP-------------R-W-C-D-Note Internal User-----X ​​​Admin / Settings--X-X-X-X Stock Manager-----X-X-X-stock.picking Sales Manager-----X-X-X-crm.lead, res.partner Event Manager-----X-X-X-event.registration Sub Manager-------X-X-X-sale.subscription, res.partner MarkAut Manager---X-X-X-no limit Account Manager---X-X-X-res.partner (followup) Other groups * Online Appointment NO TEMPLATE USED * Accounting Manager NO TEMPLATE USED * SMS Marketing NO TEMPLATE USED * Studio Automated Action Need Technical Settings Anyway * Scheduled Actions Need Technical Settings Anyway * Server Action Need Technical Settings Anyway LINKS Task 2076366 (send now) Task 2067873 (template access) PR #37298 PR odoo/enterprise#5750
2019-09-24[I18N] *: export saas-12.5 source termsMartin Trigaux
Still without demo data closes odoo/odoo#37274 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-09-22[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-18[IMP] stock_sms: Fix non admin flow and improve first confirm boxjbm-odoo
Fix: A simple user is allowed to confirm sending sms wizard. Improve SMS wizard: remove things about policiy and creation of iap account. closes odoo/odoo#37016 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2019-09-15[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-08[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-01[I18N] Update translation terms from TransifexOdoo Translation Bot