コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
3929 ビュー

I'm building my web page in Odoo and I would like to know if it is possible to get data though input and then store it, using a defined model.

Thanks!!!

アバター
破棄

Thanks for your reply, problem solved!

Odoo Controller Examples:

1 - https://goo.gl/gPjPas

2 - https://goo.gl/SEHNbA

最善の回答

Hi,

Yes it possible and you can see a lot of examples in Odoo code itself, you can check the working of the contact us form in the website.

For doing the same without code see this: Record Data To Backend Models From Website Form - Without Code

And in this blog it is shown how the input value in the web form is received in the controller, so after that you can crate the record in backend models by calling create method of required model:  Odoo get web form or template value in controller


Thanks

アバター
破棄
関連投稿 返信 ビュー 活動
0
6月 21
2970
1
1月 20
3180
0
8月 24
1049
1
7月 24
3558
7
11月 17
31783