harsh
4f4bfe2c9c
[IMP] account,website_sale: improve the UX of terms and conditions
...
Purpose of the task is, to use our awesome website builder instead of
pad when creating a website page for terms & condition.
Also suggest default T&C to save user time when user enable the feature
So in this commit did the below changes:
* Added new indicational text below "Terms as note" & "Terms as web page"
* After enabling "Term as web page', user should be able to see the
term page url
* For Terms editing:
- User that have 'website' or 'ecommerce' module should edit the page
directly using the website builder with link "edit in website builder" link.
- User that don't have nor website not ecommerce module should update
the text in the pad but in a pop-up window.
* Also added the dynamic default term for company when term type is html.
PS: changed website_sale pre_init_hook to post_init_hook because
invoice_terms_html is compute field which depends on term_type so
when term_type is changed from init_hook it will give the key error
for the invoice_terms_html as it's not loaded to registry.
closes odoo/odoo#68225
Taskid: 2414659
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com >
2021-09-01 22:03:58 +00:00
..
2021-09-01 22:03:58 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-04 13:45:52 +00:00
2021-08-03 16:20:22 +00:00
2021-07-26 13:09:57 +00:00
2021-08-17 08:21:57 +00:00
2021-08-17 09:39:57 +00:00
2021-08-27 18:46:02 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-27 16:40:49 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-30 21:05:12 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-31 08:47:27 +00:00
2021-08-30 21:05:12 +00:00
2021-08-30 21:05:12 +00:00
2021-08-24 15:23:51 +00:00
2021-08-24 15:23:51 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-02 11:13:52 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-23 09:02:08 +00:00
2021-07-26 13:09:57 +00:00
2021-08-30 21:05:12 +00:00
2021-07-26 13:09:57 +00:00
2021-08-20 15:03:32 +00:00
2021-07-26 13:09:57 +00:00
2021-08-11 14:01:02 +00:00
2021-08-31 10:01:10 +00:00
2021-08-17 14:06:29 +00:00
2021-07-26 13:09:57 +00:00
2021-08-18 13:35:07 +00:00
2021-08-31 08:47:07 +00:00
2021-08-25 13:09:58 +00:00
2021-08-25 13:10:52 +00:00
2021-08-11 18:02:37 +00:00
2021-07-27 06:57:28 +00:00
2021-07-26 13:09:57 +00:00
2021-08-31 08:47:10 +00:00
2021-08-31 08:47:14 +00:00
2021-07-26 13:09:57 +00:00
2021-08-23 14:59:00 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-17 08:43:57 +00:00
2021-08-23 14:59:00 +00:00
2021-07-26 13:09:57 +00:00
2021-08-25 12:20:39 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-26 10:21:01 +00:00
2021-08-31 10:01:10 +00:00
2021-08-10 13:49:05 +02:00
2021-07-26 13:09:57 +00:00
2021-08-10 13:49:05 +02:00
2021-08-31 23:35:21 +00:00
2021-08-23 16:49:10 +00:00
2021-08-30 16:47:49 +00:00
2021-08-31 23:35:17 +00:00
2021-08-25 12:20:39 +00:00
2021-07-26 13:09:57 +00:00
2021-08-31 07:31:39 +00:00
2021-08-23 08:09:47 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-30 10:59:01 +00:00
2021-07-30 13:15:02 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-09-01 07:17:40 +00:00
2021-07-29 09:33:56 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-18 13:33:20 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-25 13:10:31 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-26 10:21:10 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-23 08:56:13 +00:00
2021-08-19 06:48:34 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-03 16:20:22 +00:00
2021-07-26 13:09:57 +00:00
2021-08-24 15:48:43 +00:00
2021-07-26 13:09:57 +00:00
2021-08-19 06:48:34 +00:00
2021-09-01 09:38:51 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-24 15:48:43 +00:00
2021-08-13 07:04:07 +00:00
2021-07-26 13:09:57 +00:00
2021-08-13 07:04:07 +00:00
2021-07-26 13:09:57 +00:00
2021-08-06 15:01:51 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-06 15:19:29 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-10 14:24:11 +02:00
2021-07-26 13:09:57 +00:00
2021-08-02 06:51:33 +00:00
2021-07-26 13:09:57 +00:00
2021-08-04 17:43:12 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-24 15:48:43 +00:00
2021-07-26 13:09:57 +00:00
2021-08-03 17:58:58 +00:00
2021-07-26 13:09:57 +00:00
2021-08-20 15:04:58 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-04 08:34:26 +00:00
2021-08-24 15:48:43 +00:00
2021-08-06 10:33:17 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-09-01 09:38:51 +00:00
2021-05-26 10:51:29 +00:00
2021-09-01 20:57:07 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-29 16:52:52 +00:00
2021-08-17 09:39:57 +00:00
2021-08-17 09:39:57 +00:00
2021-08-17 09:39:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-30 14:15:43 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-13 09:53:00 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-25 06:03:39 +00:00
2021-09-01 11:05:50 +00:00
2021-08-11 18:02:37 +00:00
2021-07-26 13:09:57 +00:00
2021-09-01 19:07:48 +00:00
2021-08-30 10:58:57 +00:00
2021-08-23 06:56:00 +00:00
2021-08-26 15:18:01 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-20 13:58:48 +00:00
2021-07-29 09:33:56 +00:00
2021-07-26 13:09:57 +00:00
2021-08-31 10:01:10 +00:00
2021-09-01 19:08:06 +00:00
2021-08-27 16:40:49 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-13 09:42:49 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-24 14:31:55 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-06 12:13:23 +00:00
2021-09-01 11:05:44 +00:00
2021-08-23 10:54:17 +00:00
2021-08-23 10:54:17 +00:00
2021-08-23 10:54:17 +00:00
2021-08-23 10:54:17 +00:00
2021-09-01 11:05:44 +00:00
2021-08-23 10:54:17 +00:00
2021-08-23 10:54:17 +00:00
2021-08-23 10:54:17 +00:00
2021-08-23 10:54:17 +00:00
2021-08-23 10:54:17 +00:00
2021-08-23 10:54:17 +00:00
2021-08-23 10:54:17 +00:00
2021-08-23 10:54:17 +00:00
2021-08-23 10:54:17 +00:00
2021-08-20 13:11:03 +00:00
2021-09-01 08:26:10 +00:00
2021-08-30 21:05:12 +00:00
2021-07-26 13:09:57 +00:00
2021-08-27 18:46:06 +00:00
2021-07-26 13:09:57 +00:00
2021-08-31 17:11:56 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-27 17:43:09 +00:00
2021-08-03 16:20:22 +00:00
2021-08-31 17:11:56 +00:00
2021-07-26 13:09:57 +00:00
2021-09-01 08:26:10 +00:00
2021-08-24 11:57:40 +00:00
2021-07-26 13:09:57 +00:00
2021-09-01 15:01:48 +00:00
2021-07-30 18:30:32 +00:00
2021-08-23 06:56:00 +00:00
2021-08-19 08:39:06 +00:00
2021-08-10 13:49:05 +02:00
2021-08-30 13:27:44 +00:00
2021-09-01 07:17:40 +00:00
2021-07-27 06:57:27 +00:00
2021-08-27 16:40:49 +00:00
2021-08-27 16:40:50 +00:00
2021-08-31 19:54:18 +00:00
2021-08-31 23:35:16 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-10 13:49:04 +02:00
2021-07-26 13:09:57 +00:00
2021-07-30 12:34:11 +00:00
2021-08-26 10:21:42 +00:00
2021-08-19 04:32:46 +00:00
2021-08-30 17:53:11 +00:00
2021-08-31 19:54:19 +00:00
2021-08-30 13:27:44 +00:00
2021-08-16 11:35:55 +00:00
2021-07-26 13:09:57 +00:00
2021-08-25 10:27:05 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-13 14:50:44 +00:00
2021-07-26 13:09:57 +00:00
2021-08-30 13:27:44 +00:00
2021-07-26 13:09:57 +00:00
2021-09-01 07:17:40 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-06 12:31:20 +00:00
2021-07-26 13:09:57 +00:00
2021-08-25 13:50:20 +00:00
2021-08-27 19:49:01 +00:00
2021-09-01 07:17:49 +00:00
2021-07-26 13:09:57 +00:00
2021-08-23 06:56:00 +00:00
2021-08-24 14:31:55 +00:00
2021-08-24 14:31:55 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-09-01 19:08:06 +00:00
2021-09-01 09:38:58 +00:00
2021-07-26 13:09:57 +00:00
2021-08-27 09:33:58 +00:00
2021-09-01 15:01:48 +00:00
2021-07-26 13:09:57 +00:00
2021-08-31 23:34:55 +00:00
2021-07-26 13:09:57 +00:00
2021-08-27 20:53:44 +00:00
2021-08-10 13:49:04 +02:00
2021-08-25 13:12:11 +00:00
2021-08-18 13:38:17 +00:00
2021-08-18 13:38:08 +00:00
2021-08-03 15:37:54 +00:00
2021-08-26 10:21:38 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-31 23:35:41 +00:00
2021-07-26 13:09:57 +00:00
2021-08-20 13:11:03 +00:00
2021-09-01 11:05:50 +00:00
2021-09-01 16:23:11 +00:00
2021-07-26 13:09:57 +00:00
2021-08-26 13:56:14 +00:00
2021-07-26 13:09:57 +00:00
2021-09-01 19:07:55 +00:00
2021-08-10 13:49:04 +02:00
2021-08-31 02:33:48 +00:00
2021-08-25 13:10:44 +00:00
2021-07-26 13:09:57 +00:00
2021-08-13 16:17:15 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-23 14:59:00 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-20 13:11:10 +00:00
2021-07-30 07:45:49 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-23 14:59:00 +00:00
2021-08-20 13:11:10 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-20 13:11:10 +00:00
2021-08-17 18:16:22 +00:00
2021-08-10 13:49:05 +02:00
2021-07-26 13:09:57 +00:00
2021-08-10 14:24:11 +02:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-24 14:31:55 +00:00
2021-07-26 13:09:57 +00:00
2021-07-12 10:57:37 +00:00
2021-09-01 19:07:48 +00:00
2021-08-20 12:05:23 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-09-01 22:03:58 +00:00
2021-07-13 09:25:10 +00:00
2021-07-30 17:24:48 +00:00
2021-08-20 06:22:21 +00:00
2021-08-09 14:16:54 +00:00
2021-07-26 13:09:57 +00:00
2021-08-26 10:21:16 +00:00
2021-08-26 10:21:16 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-08-30 13:27:44 +00:00
2021-08-24 14:31:55 +00:00
2021-08-20 06:22:21 +00:00
2021-08-09 14:13:58 +00:00
2021-08-20 06:22:21 +00:00
2021-08-09 14:13:58 +00:00
2021-08-25 11:39:04 +00:00
2021-07-26 13:09:57 +00:00
2021-08-24 14:31:55 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00